public class InferingFieldInjectionPointAttributes<T,X> extends AbstractInferingInjectionPointAttributes<T,Field> implements FieldInjectionPointAttributes<T,X>
WeldInjectionPointAttributes
that infers the attributes by reading EnhancedAnnotatedField
.Modifier | Constructor and Description |
---|---|
protected |
InferingFieldInjectionPointAttributes(EnhancedAnnotatedField<T,X> field,
Bean<?> bean,
Class<?> declaringComponentClass,
BeanManagerImpl manager) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
AnnotatedField<X> |
getAnnotated()
Obtain an instance of
AnnotatedField or
AnnotatedParameter , depending upon whether the injection point is an injected field
or a constructor/method parameter. |
Field |
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. |
int |
hashCode() |
static <T,X> InferingFieldInjectionPointAttributes<T,X> |
of(EnhancedAnnotatedField<T,X> field,
Bean<?> bean,
Class<?> declaringComponentClass,
BeanManagerImpl manager) |
getBean, getQualifier, getQualifiers, getType, isDelegate, isTransient, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getQualifier
getBean, getQualifiers, getType, isDelegate, isTransient
protected InferingFieldInjectionPointAttributes(EnhancedAnnotatedField<T,X> field, Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager)
public static <T,X> InferingFieldInjectionPointAttributes<T,X> of(EnhancedAnnotatedField<T,X> field, Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager)
public Field 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
getMember
in interface FieldInjectionPointAttributes<T,X>
getMember
in class AbstractInferingInjectionPointAttributes<T,Field>
public AnnotatedField<X> getAnnotated()
InjectionPoint
AnnotatedField
or
AnnotatedParameter
, depending upon whether the injection point is an injected field
or a constructor/method parameter.getAnnotated
in interface InjectionPoint
getAnnotated
in interface FieldInjectionPointAttributes<T,X>
AnnotatedField
or AnnotatedParameter
Copyright © 2013 Seam Framework. All Rights Reserved.