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()
InjectionPoint
getType
in interface InjectionPoint
public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
InjectionPoint
getQualifiers
in interface InjectionPoint
public Bean<?> getBean()
InjectionPoint
Bean
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 InjectionPoint
Bean
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()
InjectionPoint
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.getMember
in interface InjectionPoint
public Annotated getAnnotated()
InjectionPoint
AnnotatedField
or
AnnotatedParameter
, depending upon whether the injection point is an injected field
or a constructor/method parameter.getAnnotated
in interface InjectionPoint
AnnotatedField
or AnnotatedParameter
public boolean isDelegate()
InjectionPoint
isDelegate
in interface InjectionPoint
public boolean isTransient()
InjectionPoint
isTransient
in interface InjectionPoint
Copyright © 2014. All Rights Reserved.