Class AnnotationDoesNotHaveArgument

java.lang.Object
com.google.errorprone.matchers.AnnotationDoesNotHaveArgument
All Implemented Interfaces:
Matcher<AnnotationTree>, Serializable

public class AnnotationDoesNotHaveArgument
extends Object
implements Matcher<AnnotationTree>
Matches an annotation that does not have a particular argument, possibly because the default value is being used.
Author:
mwacker@google.com (Mike Wacker)
See Also:
Serialized Form
  • Constructor Details

    • AnnotationDoesNotHaveArgument

      public AnnotationDoesNotHaveArgument​(String name)
      Creates a new matcher.
      Parameters:
      name - the name of the argument to search for
  • Method Details