Package com.google.errorprone.util
Class Commented<T extends com.sun.source.tree.Tree>
java.lang.Object
com.google.errorprone.util.Commented<T>
Class to hold AST nodes annotated with the comments that are associated with them
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Identifies the position of a comment relative to the associated treenode. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Commented
public Commented()
-
-
Method Details
-
tree
-
beforeComments
public abstract com.google.common.collect.ImmutableList<com.sun.tools.javac.parser.Tokens.Comment> beforeComments() -
afterComments
public abstract com.google.common.collect.ImmutableList<com.sun.tools.javac.parser.Tokens.Comment> afterComments()
-