Interface ICleanUpFixCore
- All Known Subinterfaces:
ICleanUpFix
Deprecated, for removal: This API element is subject to removal in a future version.
Please use ICleanUpFix in the future
A clean up fix calculates a
CompilationUnitChange
which can be applied on a document to
fix one or more problems in a compilation unit.- Since:
- 1.12
-
Method Summary
Modifier and TypeMethodDescriptioncreateChange
(org.eclipse.core.runtime.IProgressMonitor progressMonitor) Deprecated, for removal: This API element is subject to removal in a future version.Calculates and returns aCompilationUnitChange
which 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 Deprecated, for removal: This API element is subject to removal in a future version.Calculates and returns aCompilationUnitChange
which can be applied on a document to fix one or more problems in a compilation unit.- Parameters:
progressMonitor
- the progress monitor ornull
if 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
-