| refactor.PackageFragmentVisitor
PackageFragmentVisitor | public class PackageFragmentVisitor extends ASTVisitor (Code) | | author: sh |
Method Summary | |
public void | process(CompilationUnit unit, String oldName, String newName) Starts the process.
Parameters: unit - the AST root node. | public boolean | visit(ImportDeclaration node) Looks for import declarations. |
process | public void process(CompilationUnit unit, String oldName, String newName)(Code) | | Starts the process.
Parameters: unit - the AST root node. Bindings have to been resolved. |
visit | public boolean visit(ImportDeclaration node)(Code) | | Looks for import declarations.
For every occurence matching the renamed type
the import statement would be updated.
Parameters: node - the node to visit |
|
|