Open mP1 opened 4 years ago
Looking at the Refactor class there doesnt appear to be a method that would support changing the package declaration for a given CompilationUnit.
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.
CompilationUnit.refactor(Consumer)
Refactor
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.