public class EmptyInjectionPoint extends java.lang.Object implements InjectionPoint, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static InjectionPoint |
INSTANCE |
| Modifier | Constructor and Description |
|---|---|
protected |
EmptyInjectionPoint() |
| Modifier and Type | Method and Description |
|---|---|
Annotated |
getAnnotated()
Obtain an instance of
AnnotatedField or
AnnotatedParameter, depending upon whether the injection point is an injected field
or a constructor/method parameter. |
Bean<?> |
getBean()
Get the
Bean object representing the bean that defines the injection point. |
java.lang.reflect.Member |
getMember()
Get the
Field object in the case of field injection, the Method
object in the case of method parameter injection or the Constructor object in the case of
constructor parameter injection. |
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers()
Get the required qualifiers of the injection point.
|
java.lang.reflect.Type |
getType()
Get the required type of injection point.
|
boolean |
isDelegate()
Determines if the injection point is a decorator delegate injection point.
|
boolean |
isTransient()
Determines if the injection is a transient field.
|
public static final InjectionPoint INSTANCE
public java.lang.reflect.Type getType()
InjectionPointgetType in interface InjectionPointpublic java.util.Set<java.lang.annotation.Annotation> getQualifiers()
InjectionPointgetQualifiers in interface InjectionPointpublic Bean<?> getBean()
InjectionPointBean object representing the bean that defines the injection point. If the
injection point does not belong to a bean, return a null value.getBean in interface InjectionPointBean object representing bean that defines the injection point, of null
if the injection point does not belong to a beanpublic java.lang.reflect.Member getMember()
InjectionPointField object in the case of field injection, the Method
object in the case of method parameter injection or the Constructor object in the case of
constructor parameter injection.getMember in interface InjectionPointpublic Annotated getAnnotated()
InjectionPointAnnotatedField or
AnnotatedParameter, depending upon whether the injection point is an injected field
or a constructor/method parameter.getAnnotated in interface InjectionPointAnnotatedField or AnnotatedParameterpublic boolean isDelegate()
InjectionPointisDelegate in interface InjectionPointpublic boolean isTransient()
InjectionPointisTransient in interface InjectionPointCopyright © 2015. All Rights Reserved.