Interface InjectAnnotationProcessor
-
- All Known Subinterfaces:
InjectAnnotationProcessor2
- All Known Implementing Classes:
AbstractInjectAnnotationProcessor
,AbstractInjectAnnotationProcessor2
@Deprecated @ConsumerType public interface InjectAnnotationProcessor
Deprecated.UseInjectAnnotationProcessor2
insteadProcessor for injector-specific annotations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.Object
getDefault()
Deprecated.Tries to get the default value from the annotation.java.lang.String
getName()
Deprecated.Tries to get the name value from the annotation.java.lang.String
getVia()
Deprecated.Tries to get the via value from the annotation.boolean
hasDefault()
Deprecated.java.lang.Boolean
isOptional()
Deprecated.
-
-
-
Method Detail
-
getName
java.lang.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
java.lang.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
java.lang.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
java.lang.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.
-
-