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()
InjectionPoint
getAnnotated
in interface InjectionPoint
public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
InjectionPoint
getQualifiers
in interface InjectionPoint
public java.lang.reflect.Type getType()
InjectionPoint
getType
in interface InjectionPoint
public Bean<?> getBean()
InjectionPoint
getBean
in interface InjectionPoint
public java.lang.reflect.Member getMember()
InjectionPoint
getMember
in interface InjectionPoint
public 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()
InjectionPoint
isDelegate
in interface InjectionPoint
public boolean isTransient()
InjectionPoint
isTransient
in interface InjectionPoint
public java.lang.String toString()
toString
in class java.lang.Object