| |
|
| java.lang.Object org.acm.seguin.refactor.TransformAST org.acm.seguin.refactor.AddImportTransform
AddImportTransform | public class AddImportTransform extends TransformAST (Code) | | This object revises the import statements in the tree.
author: Chris Seguin |
AddImportTransform | public AddImportTransform(ASTName name)(Code) | | Constructor for the AddImportTransform object
Parameters: name - Description of Parameter |
AddImportTransform | public AddImportTransform(String packageName, String className)(Code) | | Constructor for the AddImportTransform object
Parameters: packageName - the package name Parameters: className - the class name |
AddImportTransform | public AddImportTransform(TypeSummary typeSummary)(Code) | | Constructor for the AddImportTransform object
Parameters: typeSummary - the type symmary |
findLastImport | protected int findLastImport(SimpleNode root)(Code) | | Determine where the first import should go
Parameters: root - Description of Parameter the index where new import statements should go |
setIgnorePackageName | public void setIgnorePackageName(boolean value)(Code) | | Sets the IgnorePackageName attribute of the AddImportTransform object
Parameters: value - The new IgnorePackageName value |
update | public void update(SimpleNode root)(Code) | | Update the syntax tree
Parameters: root - Description of Parameter |
|
|
|