Factory for a refactoring plugin (implementing
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.
author: Martin Matula
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.
Parameters: refactoring - Refactoring, the plugin should operate on.
Creates and returns a new instance of the refactoring plugin or returns
null if the plugin is not suitable for the passed refactoring.
Parameters: refactoring - Refactoring, the plugin should operate on. Instance of RefactoringPlugin or null if the plugin is not applicable tothe passed refactoring.