| java.lang.Object org.netbeans.modules.apisupport.refactoring.AbstractRefactoringPlugin
All known Subclasses: org.netbeans.modules.apisupport.refactoring.NbWhereUsedRefactoringPlugin, org.netbeans.modules.apisupport.refactoring.NbSafeDeleteRefactoringPlugin, org.netbeans.modules.apisupport.refactoring.NbRenameRefactoringPlugin, org.netbeans.modules.apisupport.refactoring.NbMoveRefactoringPlugin,
AbstractRefactoringPlugin | abstract public class AbstractRefactoringPlugin implements RefactoringPlugin(Code) | | author: mkleint |
Inner Class :protected static class InfoHolder | |
Method Summary | |
final protected Problem | checkConstructorLayer(InfoHolder info, FileObject fo, RefactoringElementsBag refactoringElements) | final protected int | checkContentOfFile(FileObject fo, String classToLookFor) | final protected void | checkLayer(Project project, String fqname, RefactoringElementsBag refactoringElements) | final protected void | checkManifest(Project project, String fqClassName, RefactoringElementsBag refactoringElements) | final protected void | checkMetaInfServices(Project project, String fqname, RefactoringElementsBag refactoringElements) | final protected Problem | checkMethodLayer(InfoHolder info, FileObject fo, RefactoringElementsBag refactoringElements) | public Problem | checkParameters() Checks parameters of the refactoring. | protected RefactoringElementImplementation | createConstructorLayerRefactoring(String constructor, String fqname, LayerUtils.LayerHandle handle, FileObject layerFileObject, String layerAttribute) | protected RefactoringElementImplementation | createLayerRefactoring(String fqname, LayerUtils.LayerHandle handle, FileObject layerFileObject, String layerAttribute) | abstract protected RefactoringElementImplementation | createManifestRefactoring(String fqname, FileObject manifestFile, String attributeKey, String attributeValue, String section) | abstract protected RefactoringElementImplementation | createMetaInfServicesRefactoring(String fqclazz, FileObject serviceFile, int line) | protected RefactoringElementImplementation | createMethodLayerRefactoring(String method, String fqname, LayerUtils.LayerHandle handle, FileObject layerFileObject, String layerAttribute) | final protected InfoHolder | examineLookup(Lookup lkp) | public Problem | preCheck() Checks pre-conditions of the refactoring and returns problems. |
err | protected static ErrorManager err(Code) | | |
orderingLayerAttrPattern | protected Pattern orderingLayerAttrPattern(Code) | | |
refactoring | protected AbstractRefactoring refactoring(Code) | | |
AbstractRefactoringPlugin | public AbstractRefactoringPlugin(AbstractRefactoring refactoring)(Code) | | Creates a new instance of AbstractRefactoringPlugin
|
checkConstructorLayer | final protected Problem checkConstructorLayer(InfoHolder info, FileObject fo, RefactoringElementsBag refactoringElements)(Code) | | |
checkContentOfFile | final protected int checkContentOfFile(FileObject fo, String classToLookFor)(Code) | | returns the line number in the file if found, otherwise -1
|
checkLayer | final protected void checkLayer(Project project, String fqname, RefactoringElementsBag refactoringElements)(Code) | | |
checkManifest | final protected void checkManifest(Project project, String fqClassName, RefactoringElementsBag refactoringElements)(Code) | | Parameters: project - Parameters: fqClassName - Parameters: refactoringElements - |
checkMetaInfServices | final protected void checkMetaInfServices(Project project, String fqname, RefactoringElementsBag refactoringElements)(Code) | | |
checkMethodLayer | final protected Problem checkMethodLayer(InfoHolder info, FileObject fo, RefactoringElementsBag refactoringElements)(Code) | | |
checkParameters | public Problem checkParameters()(Code) | | Checks parameters of the refactoring.
Problems found or null (if no problems were identified) |
createConstructorLayerRefactoring | protected RefactoringElementImplementation createConstructorLayerRefactoring(String constructor, String fqname, LayerUtils.LayerHandle handle, FileObject layerFileObject, String layerAttribute)(Code) | | |
createManifestRefactoring | abstract protected RefactoringElementImplementation createManifestRefactoring(String fqname, FileObject manifestFile, String attributeKey, String attributeValue, String section)(Code) | | Parameters: manifestFile - Parameters: attributeKey - Parameters: attributeValue - Parameters: section - |
createMetaInfServicesRefactoring | abstract protected RefactoringElementImplementation createMetaInfServicesRefactoring(String fqclazz, FileObject serviceFile, int line)(Code) | | |
examineLookup | final protected InfoHolder examineLookup(Lookup lkp) throws IOException(Code) | | |
preCheck | public Problem preCheck()(Code) | | Checks pre-conditions of the refactoring and returns problems.
Problems found or null (if no problems were identified) |
|
|