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.
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.