public interface RefactoringPluginFactory
RefactoringPlugin
interface).
Implementations of this factory can be registered to the lookup. The refactorings
then get all the implementations of this interface from the lookup and call createInstance
method passing "this" as a parameter.Modifier and Type | Method and Description |
---|---|
RefactoringPlugin |
createInstance(AbstractRefactoring refactoring)
Creates and returns a new instance of the refactoring plugin or returns
null if the plugin is not suitable for the passed refactoring.
|
RefactoringPlugin createInstance(AbstractRefactoring refactoring)
refactoring
- Refactoring, the plugin should operate on.