public interface Resolvable
| Modifier and Type | Method and Description |
|---|---|
<A extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<A> annotationType)
Get the instance of the Annotation
|
Bean<?> |
getDeclaringBean()
Get the declaring the injection point, or null if there is none
|
java.lang.Class<?> |
getJavaClass()
Get the underlying java class used to generate this resolvable, or null
if no java class was used
|
java.util.Set<QualifierInstance> |
getQualifiers()
Get the bindings to use for resolution.
|
java.util.Set<java.lang.reflect.Type> |
getTypes()
The types that this resolvable may be assigned to
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Check if an annotation is present
|
boolean |
isDelegate()
Returns true if the resolvable represents a delegate injection point, which requires specific rules (8.3.1) to be used
during resolution.
|
java.util.Set<QualifierInstance> getQualifiers()
boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - the annotation type to look for<A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationType)
A - the type of the annotationannotationType - the type of the annotationjava.util.Set<java.lang.reflect.Type> getTypes()
java.lang.Class<?> getJavaClass()
Bean<?> getDeclaringBean()
boolean isDelegate()
Copyright © 2014. All Rights Reserved.