| org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin org.netbeans.modules.refactoring.java.plugins.ChangeParametersPlugin
ChangeParametersPlugin | public class ChangeParametersPlugin extends JavaRefactoringPlugin (Code) | | Refactoring used for changing method signature. It changes method declaration
and also all its references (callers).
author: Pavel Flaska author: Tomas Hurka author: Jan Becicka |
ChangeParametersPlugin | public ChangeParametersPlugin(ChangeParametersRefactoring refactoring)(Code) | | Creates a new instance of change parameters refactoring.
Parameters: method - refactored object, i.e. method or constructor |
preCheck | public Problem preCheck(CompilationController info) throws IOException(Code) | | Returns list of problems. For the change method signature, there are two
possible warnings - if the method is overriden or if it overrides
another method.
overrides or overriden problem or both |
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)
|
|
|