public class AbstractInjectionPoint extends java.lang.Object implements InjectionPoint
| Constructor and Description |
|---|
AbstractInjectionPoint(InjectManager inject,
Bean bean,
java.lang.reflect.Member member,
java.lang.reflect.Type type,
java.util.Set<java.lang.annotation.Annotation> bindings,
java.lang.annotation.Annotation[] annotations) |
| Modifier and Type | Method and Description |
|---|---|
Annotated |
getAnnotated()
Returns all annotations on the injection point.
|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationType) |
java.lang.annotation.Annotation[] |
getAnnotations() |
Bean<?> |
getBean()
Returns the owning bean for the injection point.
|
java.lang.reflect.Member |
getMember()
Returns the Field for field injection, the Method for method injection,
and Constructor for constructor injection.
|
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers()
Returns the declared qualifiers on the injection point.
|
java.lang.reflect.Type |
getType()
Returns the declared type of the injection point, e.g.
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annType) |
boolean |
isDelegate()
A delegate injection point is true for Decorators
|
boolean |
isTransient()
Test if the injection point is a java transient
|
java.lang.String |
toString() |
public AbstractInjectionPoint(InjectManager inject, Bean bean, java.lang.reflect.Member member, java.lang.reflect.Type type, java.util.Set<java.lang.annotation.Annotation> bindings, java.lang.annotation.Annotation[] annotations)
public Annotated getAnnotated()
InjectionPointgetAnnotated in interface InjectionPointpublic java.util.Set<java.lang.annotation.Annotation> getQualifiers()
InjectionPointgetQualifiers in interface InjectionPointpublic java.lang.reflect.Type getType()
InjectionPointgetType in interface InjectionPointpublic Bean<?> getBean()
InjectionPointgetBean in interface InjectionPointpublic java.lang.reflect.Member getMember()
InjectionPointgetMember in interface InjectionPointpublic java.lang.annotation.Annotation[] getAnnotations()
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annType)
public boolean isDelegate()
InjectionPointisDelegate in interface InjectionPointpublic boolean isTransient()
InjectionPointisTransient in interface InjectionPointpublic java.lang.String toString()
toString in class java.lang.Object