Class ErrorProneToken

java.lang.Object
com.google.errorprone.util.ErrorProneToken

public class ErrorProneToken extends Object
Wraps a javac Tokens.Token to return comments in declaration order.
  • Method Details

    • kind

      public com.sun.tools.javac.parser.Tokens.TokenKind kind()
    • pos

      public int pos()
    • endPos

      public int endPos()
    • comments

      public com.google.common.collect.ImmutableList<ErrorProneComment> comments()
    • hasName

      public boolean hasName()
    • hasStringVal

      public boolean hasStringVal()
    • hasRadix

      public boolean hasRadix()
    • name

      public com.sun.tools.javac.util.Name name()
    • stringVal

      public String stringVal()
    • radix

      public int radix()
    • toString

      public String toString()
      Overrides:
      toString in class Object