public class InferringParameterInjectionPointAttributes<T,X> extends AbstractInferringInjectionPointAttributes<T,java.lang.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,
java.lang.Class<?> declaringComponentClass,
BeanManagerImpl manager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.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. |
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. |
int |
hashCode() |
static <T,X> InferringParameterInjectionPointAttributes<T,X> |
of(EnhancedAnnotatedParameter<T,X> parameter,
Bean<?> bean,
java.lang.Class<?> declaringComponentClass,
BeanManagerImpl manager) |
getBean, getQualifier, getQualifiers, getType, isDelegate, isTransient, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetQualifiergetBean, getQualifiers, getType, isDelegate, isTransientprotected InferringParameterInjectionPointAttributes(EnhancedAnnotatedParameter<T,X> parameter, Bean<?> bean, java.lang.Class<?> declaringComponentClass, BeanManagerImpl manager)
public static <T,X> InferringParameterInjectionPointAttributes<T,X> of(EnhancedAnnotatedParameter<T,X> parameter, Bean<?> bean, java.lang.Class<?> declaringComponentClass, BeanManagerImpl manager)
public 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 InjectionPointgetMember in class AbstractInferringInjectionPointAttributes<T,java.lang.Object>public AnnotatedParameter<X> getAnnotated()
InjectionPointAnnotatedField or
AnnotatedParameter, depending upon whether the injection point is an injected field
or a constructor/method parameter.getAnnotated in interface InjectionPointgetAnnotated in interface ParameterInjectionPointAttributes<T,X>AnnotatedField or AnnotatedParameterpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2015. All Rights Reserved.