@ConsumerType public interface InjectAnnotationProcessor2 extends InjectAnnotationProcessor
Modifier and Type | Method and Description |
---|---|
Object |
getDefault()
Tries to get the default value from the annotation.
|
InjectionStrategy |
getInjectionStrategy()
Tries to get the information whether the injection is optional.
|
String |
getName()
Tries to get the name value from the annotation.
|
String |
getVia()
Tries to get the via value from the annotation.
|
boolean |
hasDefault() |
isOptional
String getName()
getName
in interface InjectAnnotationProcessor
String getVia()
getVia
in interface InjectAnnotationProcessor
boolean hasDefault()
hasDefault
in interface InjectAnnotationProcessor
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 © 2015 The Apache Software Foundation. All rights reserved.