Interface InjectAnnotationProcessor
- All Known Subinterfaces:
InjectAnnotationProcessor2
- All Known Implementing Classes:
AbstractInjectAnnotationProcessor
,AbstractInjectAnnotationProcessor2
Deprecated.
Processor for injector-specific annotations.
-
Method Details
-
getName
String getName()Deprecated.Tries to get the name value from the annotation.- Returns:
- the value to be used for the name or null, in which case the standard annotation or name derived from method/field should be used
-
getVia
String getVia()Deprecated.Tries to get the via value from the annotation.- Returns:
- the value to be used for the via or null, in which case the standard annotation should be used
-
hasDefault
boolean hasDefault()Deprecated.- Returns:
- true, if a default value is set
-
getDefault
Object getDefault()Deprecated.Tries to get the default value from the annotation. Only used ifhasDefault()
is set to true.- Returns:
- the value to be used if nothing can be injected
-
isOptional
Boolean isOptional()Deprecated.Tries to get the information whether the injection is optional.- Returns:
- the value to be used for the default or null, in which case the standard annotation should be used.
-
InjectAnnotationProcessor2
instead