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() |
isOptional
java.lang.String getName()
getName
in interface InjectAnnotationProcessor
java.lang.String getVia()
getVia
in interface InjectAnnotationProcessor
boolean hasDefault()
hasDefault
in interface InjectAnnotationProcessor
java.lang.Object getDefault()
hasDefault()
is set to true.getDefault
in interface InjectAnnotationProcessor
InjectionStrategy 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 - 2020 Adobe Systems Incorporated. All Rights Reserved"