Netflix-Skunkworks / rewrite

Distributed code search and refactoring for Java
Apache License 2.0
290 stars 30 forks source link

Refactoring rule not available to change package name for a given CompilationUnit #30

Open mP1 opened 4 years ago

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

Im going to guess this might be possible a longer more involved way using the CompilationUnit.refactor(Consumer) / Refactor. Will have to try more.