Package com.google.errorprone.util
Utility code.
-
Class Summary Class Description ASTHelpers This class contains utility methods to work with the javac AST.ASTHelpers.ScanThrownTypes Scanner for determining what types are thrown by a tree.ASTHelpers.TargetType An expression's target type, seeASTHelpers.targetType(com.google.errorprone.VisitorState)
.Commented<T extends com.sun.source.tree.Tree> Class to hold AST nodes annotated with the comments that are associated with themComments Utilities for attaching comments to relevant AST nodesErrorProneScope A compatibility wrapper aroundcom.sun.tools.javac.util.Filter
ErrorProneToken Wraps a javacTokens.Token
to return comments in declaration order.ErrorProneTokens A utility for tokenizing and preserving comments.FindIdentifiers A helper class to find all identifiers in scope at a given program point.MoreAnnotations Annotation-related utilities.Reachability An implementation of JLS 14.21 reachability.Regexes Utilities for checks that work with regexes.RuntimeVersion JDK version string utilities.SideEffectAnalysis This class is responsible for analyzing an expression and telling if the expression can have side effects.Signatures Signature generation.SourceCodeEscapers A factory for Escaper instances used to escape strings for safe use in Java. -
Enum Summary Enum Description Commented.Position Identifies the position of a comment relative to the associated treenode.OperatorPrecedence The precedence for an operator kind in thecom.sun.source.tree
API.Visibility Describes visibilities available via VisibleForTesting annotations, and provides methods to establish whether a givenTree
should be visible.