Class Commented<T extends com.sun.source.tree.Tree>

java.lang.Object
com.google.errorprone.util.Commented<T>

public abstract class Commented<T extends com.sun.source.tree.Tree> extends Object
Class to hold AST nodes annotated with the comments that are associated with them
  • Constructor Details

    • Commented

      public Commented()
  • Method Details

    • tree

      public abstract T tree()
    • beforeComments

      public abstract com.google.common.collect.ImmutableList<ErrorProneComment> beforeComments()
    • afterComments

      public abstract com.google.common.collect.ImmutableList<ErrorProneComment> afterComments()