Class AppliedFix

java.lang.Object
com.google.errorprone.fixes.AppliedFix

public class AppliedFix
extends Object
Represents the corrected source which we think was intended, by applying a Fix. This is used to generate the "Did you mean?" snippet in the error message.
Author:
alexeagle@google.com (Alex Eagle)
  • Method Details

    • getNewCodeSnippet

      public CharSequence getNewCodeSnippet()
    • isRemoveLine

      public boolean isRemoveLine()
    • fromSource

      public static AppliedFix.Applier fromSource​(CharSequence source, com.sun.tools.javac.tree.EndPosTable endPositions)