Package | Description |
---|---|
dagger.spi.model |
This package contains the APIs that are core to Dagger's internal model of bindings and the
binding graph.
|
Modifier and Type | Method and Description |
---|---|
static DaggerAnnotation |
DaggerAnnotation.fromJava(javax.lang.model.element.AnnotationMirror annotationMirror) |
static DaggerAnnotation |
DaggerAnnotation.fromKsp(com.google.devtools.ksp.symbol.KSAnnotation ksAnnotation) |
abstract DaggerAnnotation |
Scope.scopeAnnotation()
The
DaggerAnnotation that represents the scope annotation. |
Modifier and Type | Method and Description |
---|---|
abstract java.util.Optional<DaggerAnnotation> |
Key.qualifier()
A
Qualifier annotation that provides a unique namespace prefix for the
type of this key. |
Modifier and Type | Method and Description |
---|---|
static boolean |
Scope.isScope(DaggerAnnotation scopeAnnotation)
|
abstract Key.Builder |
Key.Builder.qualifier(DaggerAnnotation qualifier) |
static Scope |
Scope.scope(DaggerAnnotation scopeAnnotation)
Creates a
Scope object from the Scope -annotated annotation type. |
Modifier and Type | Method and Description |
---|---|
abstract Key.Builder |
Key.Builder.qualifier(java.util.Optional<DaggerAnnotation> qualifier) |