Class MoreThanOneScopeAnnotationOnClass

java.lang.Object
com.google.errorprone.bugpatterns.BugChecker
com.google.errorprone.bugpatterns.inject.MoreThanOneScopeAnnotationOnClass
All Implemented Interfaces:
BugChecker.ClassTreeMatcher, Suppressible, Serializable

public class MoreThanOneScopeAnnotationOnClass extends BugChecker implements BugChecker.ClassTreeMatcher
This checker matches if a class has more than one annotation that is a scope annotation(that is, the annotation is either annotated with Guice's @ScopeAnnotation or Javax's @Scope).
Author:
sgoldfeder@google.com (Steven Goldfeder)
See Also: