Interface Fix

All Known Implementing Classes:

public interface Fix
Represents a source code transformation, usually used to fix a bug detected by error-prone.
Author: (Eddie Aftandilian)
  • Method Details

    • toString

      String toString( compilationUnit)
    • getShortDescription

      String getShortDescription()
      A short description which can be attached to the Fix to differentiate multiple fixes provided to the user.

      Empty string generates the default description.

    • getCoalescePolicy

      Replacements.CoalescePolicy getCoalescePolicy()
    • getReplacements<Replacement> getReplacements( endPositions)
    • getImportsToAdd<String> getImportsToAdd()
    • getImportsToRemove<String> getImportsToRemove()
    • isEmpty

      boolean isEmpty()