| org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin org.netbeans.modules.refactoring.java.plugins.EncapsulateFieldsPlugin
EncapsulateFieldsPlugin | final public class EncapsulateFieldsPlugin extends JavaRefactoringPlugin (Code) | | Encapsulate fields refactoring. This is a composed refactoring (uses instances of
org.netbeans.modules.refactoring.api.EncapsulateFieldRefactoring to encapsulate several fields at once.
author: Pavel Flaska author: Jan Becicka author: Jan Pokorsky |
EncapsulateFieldsPlugin | public EncapsulateFieldsPlugin(EncapsulateFieldsRefactoring refactoring)(Code) | | Creates a new instance of EcapsulateFields.
Parameters: selectedObjects - Array of objects (fields) that should be encapsulated. |
getJavaSource | protected JavaSource getJavaSource(Phase p)(Code) | | |
Fields inherited from org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin | protected volatile boolean cancelRequest(Code)(Java Doc)
|
Methods inherited from org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin | public void cancelRequest()(Code)(Java Doc) protected Problem checkParameters(CompilationController javac) throws IOException(Code)(Java Doc) public Problem checkParameters()(Code)(Java Doc) final protected void createAndAddElements(Set<FileObject> files, CancellableTask<WorkingCopy> task, RefactoringElementsBag elements, AbstractRefactoring refactoring, ClasspathInfo info)(Code)(Java Doc) final protected void createAndAddElements(Set<FileObject> files, CancellableTask<WorkingCopy> task, RefactoringElementsBag elements, AbstractRefactoring refactoring)(Code)(Java Doc) final protected static Problem createProblem(Problem result, boolean isFatal, String message)(Code)(Java Doc) protected Problem fastCheckParameters(CompilationController javac) throws IOException(Code)(Java Doc) public Problem fastCheckParameters()(Code)(Java Doc) protected ClasspathInfo getClasspathInfo(AbstractRefactoring refactoring)(Code)(Java Doc) abstract protected JavaSource getJavaSource(Phase p)(Code)(Java Doc) protected static Problem isElementAvail(TreePathHandle e, CompilationInfo info)(Code)(Java Doc) protected Problem preCheck(CompilationController javac) throws IOException(Code)(Java Doc) public Problem preCheck()(Code)(Java Doc) final protected Collection<ModificationResult> processFiles(Set<FileObject> files, CancellableTask<WorkingCopy> task)(Code)(Java Doc) final protected Collection<ModificationResult> processFiles(Set<FileObject> files, CancellableTask<WorkingCopy> task, ClasspathInfo info)(Code)(Java Doc)
|
|
|