Class ReturnValueIgnored

All Implemented Interfaces:
BugChecker.MemberReferenceTreeMatcher, BugChecker.MethodInvocationTreeMatcher, BugChecker.ReturnTreeMatcher, Suppressible, Serializable

public class ReturnValueIgnored
extends AbstractReturnValueIgnored
Author:
alexeagle@google.com (Alex Eagle)
See Also:
Serialized Form
  • Constructor Details

    • ReturnValueIgnored

      public ReturnValueIgnored()
  • Method Details

    • specializedMatcher

      public Matcher<? super com.sun.source.tree.ExpressionTree> specializedMatcher()
      Description copied from class: AbstractReturnValueIgnored
      Match whatever additional conditions concrete subclasses want to match (a list of known side-effect-free methods, has a @CheckReturnValue annotation, etc.).
      Specified by:
      specializedMatcher in class AbstractReturnValueIgnored