Class LenientFormatStringUtils

java.lang.Object
com.google.errorprone.bugpatterns.formatstring.LenientFormatStringUtils

public final class LenientFormatStringUtils extends Object
Utilities relating to lenient format strings.
  • Method Details

    • getLenientFormatStringPosition

      public static int getLenientFormatStringPosition(ExpressionTree tree, VisitorState state)
      Returns the index of the lenient format string parameter in tree, or -1 if there is none.