Package com.google.errorprone.bugpatterns.inject.guice

Bug patterns related to Guice.
  • Class Summary
    Class Description
    AssistedInjectScoping
    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.
    AssistedParameters  
    BindingToUnqualifiedCommonType  
    InjectOnFinalField  
    OverridesGuiceInjectableMethod
    This checker matches methods that 1) are not themselves annotated with @Inject (neither javax.inject.Inject nor com.google.inject.Inject) 2) descend from a method that is annotated with @com.google.inject.Inject
    OverridesJavaxInjectableMethod
    This checker matches methods that 1) are not themselves annotated with @Inject 2) descend from a method that is annotated with @javax.inject.Inject 3) do not descent from a method that is annotated with @com.google.inject.Inject
    ProvidesMethodOutsideOfModule