Class JavaRefactoringContribution
java.lang.Object
org.eclipse.ltk.core.refactoring.RefactoringContribution
org.eclipse.jdt.core.refactoring.descriptors.JavaRefactoringContribution
Partial implementation of a Java refactoring contribution.
Note: this class is not intended to be extended outside the refactoring framework.
- Since:
- 1.1
- Restriction:
- This class is not intended to be subclassed by clients outside JDT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract RefactoringcreateRefactoring(JavaRefactoringDescriptor descriptor, RefactoringStatus status) Creates the a new refactoring instance.retrieveArgumentMap(RefactoringDescriptor descriptor) Methods inherited from class org.eclipse.ltk.core.refactoring.RefactoringContribution
createDescriptor, createDescriptor, getId
-
Constructor Details
-
JavaRefactoringContribution
public JavaRefactoringContribution()
-
-
Method Details
-
retrieveArgumentMap
- Overrides:
retrieveArgumentMapin classRefactoringContribution
-
createRefactoring
public abstract Refactoring createRefactoring(JavaRefactoringDescriptor descriptor, RefactoringStatus status) throws CoreException Creates the a new refactoring instance.- Parameters:
descriptor- the refactoring descriptorstatus- the status used for the resulting status- Returns:
- the refactoring, or
null - Throws:
CoreException- if an error occurs while creating the refactoring- Since:
- 1.2
-