Interface implemented by refactoring plugins. Contains callback methods which a particular refactoring
calls to check pre-conditions, validity of parameters and collect refactoring elements.
It is expected that the refactoring that this plugin operates on is passed to the plugin
in its constructor by a corresponding implementation of
RefactoringPluginFactory .
author: Martin Matula
prepare(RefactoringElementsBag refactoringElements) Collects refactoring elements for a given refactoring.
Parameters: refactoringElements - RefactoringElementsBag of refactoring elements - the implementation of this methodshould add refactoring elements to this collections.
Collects refactoring elements for a given refactoring.
Parameters: refactoringElements - RefactoringElementsBag of refactoring elements - the implementation of this methodshould add refactoring elements to this collections. It should make no assumptions about the collectioncontent. Problems found or null (if no problems were identified)