Package dagger.pruning
Annotation Interface BindingIdentifier
Assigns an explicit identifier class to a binding so it can be referenced by
OnlyUsedBy.
Apply this annotation to a @Provides method, @Binds method, or @Inject
constructor. For @Inject constructors without this annotation, the bound class itself is
used as the default identifier.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<?>The identifier class representing this binding forOnlyUsedBy.
-
Element Details
-
value
Class<?> valueThe identifier class representing this binding forOnlyUsedBy.
-