| |
|
| java.lang.Object core.AbstractAST core.RenameImplementation
RenameImplementation | public class RenameImplementation extends AbstractAST implements ICodeRefactoring(Code) | | This class is used by a implementation refactoring. It adapts the
source code to the change of the model implementation property.
If the class name of the implementation should be changed this
method renames the concerning compilation unit. If the packages
of the implementation are different, packages will be created
if necessary and the compilation unit will be moved.
author: sh |
Method Summary | |
public void | modification(IJavaElement modelElement) Renames the given compilation unit. | public void | process(RefactorInfo info) | public void | process(ModelInfo info) | public void | updateSource(IJavaElement modelElement) Udates the AST of the given compilation unit and checks
other compilatin units. |
modification | public void modification(IJavaElement modelElement)(Code) | | Renames the given compilation unit.
It automatically renames the class file name
and also the type name.
Parameters: modelElement - the compilatin unit to rename See Also: refactor.core.IRefactoring.modification(org.eclipse.jdt.core.IJavaElement) |
updateSource | public void updateSource(IJavaElement modelElement)(Code) | | Udates the AST of the given compilation unit and checks
other compilatin units.
Parameters: modelElement - the compilation unit to modify See Also: refactor.core.IRefactoring.updateSource(org.eclipse.jdt.core.IJavaElement) |
Methods inherited from core.AbstractAST | protected CompilationUnit parse(ICompilationUnit lwUnit)(Code)(Java Doc)
|
|
|
|