Class AssistedInjectScoping

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

public class AssistedInjectScoping extends BugChecker implements BugChecker.ClassTreeMatcher
This checker matches iff *both* of the following conditions are true: 1) The class is assisted: a) If there is a constructor that is annotated with @Inject and that constructor has at least one parameter that is annotated with @Assisted. b) If there is no @Inject constructor and at least one constructor is annotated with @AssistedInject. 2) There is an annotation on the class, and the annotation is itself annotated with @ScopeAnnotation.
Author:
eaftan@google.com (Eddie Aftandilian)
See Also: