Class AbstractProcessor

  • All Implemented Interfaces:
    org.eclipse.core.runtime.IAdaptable

    public abstract class AbstractProcessor
    extends org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
    Abstract refactoring processor. All refactoring processors should extend this class.

    Refactoring processor should use appropriate refactoring strategy to create refactoring Changes.
    Refactoring processor should use appropriate refactoring strategy to check final conditions.

    • Constructor Detail

      • AbstractProcessor

        public AbstractProcessor()
    • Method Detail

      • initialize

        public abstract boolean initialize​(IRefactoringElementContext refactoringElementContext)
        Initializes refactoring processor with refactoring context
        Parameters:
        refactoringElementContext - refactoring context (not null)
        Returns:
        true if initialization passed correctly, otherwise returns false