Uses of Class
com.google.errorprone.matchers.UnusedReturnValueMatcher.AllowReason
Package | Description |
---|---|
com.google.errorprone.matchers |
A predicate DSL for matching javac AST nodes.
|
-
Uses of UnusedReturnValueMatcher.AllowReason in com.google.errorprone.matchers
Methods in com.google.errorprone.matchers that return UnusedReturnValueMatcher.AllowReason Modifier and Type Method Description static UnusedReturnValueMatcher.AllowReason
UnusedReturnValueMatcher.AllowReason. valueOf(String name)
Returns the enum constant of this type with the specified name.static UnusedReturnValueMatcher.AllowReason[]
UnusedReturnValueMatcher.AllowReason. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.google.errorprone.matchers that return types with arguments of type UnusedReturnValueMatcher.AllowReason Modifier and Type Method Description Stream<UnusedReturnValueMatcher.AllowReason>
UnusedReturnValueMatcher. getAllowReasons(com.sun.source.tree.ExpressionTree tree, VisitorState state)
Returns a stream of reasons the given expression is allowed to have an unused return value based on its context.