Package org.eclipse.jdt.ui.cleanup
Interface ICleanUpFix
- All Superinterfaces:
ICleanUpFixCore
A clean up fix calculates a
CompilationUnitChange which can be applied on a document to
fix one or more problems in a compilation unit.
Originally from org.eclipse.jdt.ui 3.5- Since:
- 1.21
-
Method Summary
Modifier and TypeMethodDescriptioncreateChange(org.eclipse.core.runtime.IProgressMonitor progressMonitor) Calculates and returns aCompilationUnitChangewhich can be applied on a document to fix one or more problems in a compilation unit.
-
Method Details
-
createChange
CompilationUnitChange createChange(org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws org.eclipse.core.runtime.CoreException Calculates and returns aCompilationUnitChangewhich can be applied on a document to fix one or more problems in a compilation unit.- Specified by:
createChangein interfaceICleanUpFixCore- Parameters:
progressMonitor- the progress monitor ornullif none- Returns:
- a compilation unit change change which should not be empty
- Throws:
org.eclipse.core.runtime.CoreException- if something went wrong while calculating the change
-