Interface ICleanUpFixCore


public interface 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.
Since:
1.12
  • Method Details

    • createChange

      CompilationUnitChange createChange(IProgressMonitor progressMonitor) throws CoreException
      Calculates and returns a CompilationUnitChange which can be applied on a document to fix one or more problems in a compilation unit.
      Parameters:
      progressMonitor - the progress monitor or null if none
      Returns:
      a compilation unit change change which should not be empty
      Throws:
      CoreException - if something went wrong while calculating the change