rewrite
rewrite copied to clipboard
Refactoring rule not available to change package name for a given CompilationUnit
Looking at the Refactor class there doesnt appear to be a method that would support changing the package declaration for a given CompilationUnit
.
Im going to guess this might be possible a longer more involved way using the CompilationUnit.refactor(Consumer)
/ Refactor
. Will have to try more.