@ConsumerType public interface InjectAnnotationProcessor2 extends InjectAnnotationProcessor
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getDefault()
Tries to get the default value from the annotation.
|
InjectionStrategy |
getInjectionStrategy()
Tries to get the information whether the injection is optional.
|
java.lang.String |
getName()
Tries to get the name value from the annotation.
|
java.lang.String |
getVia()
Tries to get the via value from the annotation.
|
boolean |
hasDefault() |
isOptionaljava.lang.String getName()
getName in interface InjectAnnotationProcessorjava.lang.String getVia()
getVia in interface InjectAnnotationProcessorboolean hasDefault()
hasDefault in interface InjectAnnotationProcessorjava.lang.Object getDefault()
hasDefault() is set to true.getDefault in interface InjectAnnotationProcessorInjectionStrategy getInjectionStrategy()
REQUIRED if injection is mandatory, OPTIONAL if injection is optional or DEFAULT in
which case the standard annotation/injection strategy should be used.Copyright © 2010 - 2023 Adobe. All Rights Reserved