A predicate DSL for matching javac AST nodes.
-
static enum
Enumeration of known reasons that an unused return value may be allowed because of the context
in which the method is used.
Returns the enum constant of this type with the specified name.
UnusedReturnValueMatcher.AllowReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
Returns a stream of reasons the given expression is allowed to have an unused return value
based on its context.