| org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin org.netbeans.modules.refactoring.java.plugins.ExtractInterfaceRefactoringPlugin
ExtractInterfaceRefactoringPlugin | final public class ExtractInterfaceRefactoringPlugin extends JavaRefactoringPlugin (Code) | | Plugin that implements the core functionality of Extract Interface refactoring.
Extracts:
- implements interfaces
- public nonstatic methods
- public static final fields
- XXX public static class/interface/enum/annotation type.
dangerous, it might contain
elements that will be unaccessible from the new interface. Maybe reusing Move Class refactoring
would be appropriate. Not implemented in 6.0 yet. Pre-6.0 implementation was not solved references at all.
XXX there should be option Copy/Move/AsIs javadoc.
author: Martin Matula, Jan Pokorsky |
ExtractInterfaceRefactoringPlugin | ExtractInterfaceRefactoringPlugin(ExtractInterfaceRefactoring refactoring)(Code) | | Creates a new instance of ExtractInterfaceRefactoringPlugin
Parameters: refactoring - Parent refactoring instance. |
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)
|
|
|