public class InferringParameterInjectionPointAttributes<T,X> extends AbstractInferringInjectionPointAttributes<T,Object> implements ParameterInjectionPointAttributes<T,X>
WeldInjectionPointAttributes
that infers the attributes by reading EnhancedAnnotatedParameter
.Modifier | Constructor and Description |
---|---|
protected |
InferringParameterInjectionPointAttributes(EnhancedAnnotatedParameter<T,X> parameter,
Bean<?> bean,
Class<?> declaringComponentClass,
BeanManagerImpl manager) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
AnnotatedParameter<X> |
getAnnotated()
Obtain an instance of
AnnotatedField or
AnnotatedParameter , depending upon whether the injection point is an injected field
or a constructor/method parameter. |
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. |
int |
hashCode() |
static <T,X> InferringParameterInjectionPointAttributes<T,X> |
of(EnhancedAnnotatedParameter<T,X> parameter,
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 InferringParameterInjectionPointAttributes(EnhancedAnnotatedParameter<T,X> parameter, Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager)
public static <T,X> InferringParameterInjectionPointAttributes<T,X> of(EnhancedAnnotatedParameter<T,X> parameter, Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager)
public 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
getMember
in class AbstractInferringInjectionPointAttributes<T,Object>
public AnnotatedParameter<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 ParameterInjectionPointAttributes<T,X>
AnnotatedField
or AnnotatedParameter
Copyright © 2015. All Rights Reserved.