Package org.jboss.weld.util.annotated
Class ForwardingWeldConstructor<T>
- java.lang.Object
-
- org.jboss.weld.util.annotated.ForwardingAnnotated
-
- org.jboss.weld.util.annotated.ForwardingWeldAnnotated<T,S>
-
- org.jboss.weld.util.annotated.ForwardingWeldMember<T,T,Constructor<T>>
-
- org.jboss.weld.util.annotated.ForwardingWeldConstructor<T>
-
- All Implemented Interfaces:
javax.enterprise.inject.spi.Annotated,javax.enterprise.inject.spi.AnnotatedCallable<T>,javax.enterprise.inject.spi.AnnotatedConstructor<T>,javax.enterprise.inject.spi.AnnotatedMember<T>,EnhancedAnnotated<T,Constructor<T>>,EnhancedAnnotatedCallable<T,T,Constructor<T>>,EnhancedAnnotatedConstructor<T>,EnhancedAnnotatedMember<T,T,Constructor<T>>
public abstract class ForwardingWeldConstructor<T> extends ForwardingWeldMember<T,T,Constructor<T>> implements EnhancedAnnotatedConstructor<T>
-
-
Field Summary
-
Fields inherited from interface org.jboss.weld.annotated.enhanced.EnhancedAnnotated
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS
-
-
Constructor Summary
Constructors Constructor Description ForwardingWeldConstructor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract EnhancedAnnotatedConstructor<T>delegate()EnhancedAnnotatedType<T>getDeclaringType()Gets an abstraction of the declaring classList<? extends EnhancedAnnotatedParameter<?,T>>getEnhancedParameters()Gets the abstracted parameters of the methodList<EnhancedAnnotatedParameter<?,T>>getEnhancedParameters(Class<? extends Annotation> annotationType)Gets the list of annotated parameters for a given annotationConstructor<T>getJavaMember()List<javax.enterprise.inject.spi.AnnotatedParameter<T>>getParameters()ConstructorSignaturegetSignature()javax.enterprise.inject.spi.AnnotatedConstructor<T>slim()Returns a lightweight implementation ofAnnotatedwith minimal memory footprint.-
Methods inherited from class org.jboss.weld.util.annotated.ForwardingWeldAnnotated
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic
-
Methods inherited from class org.jboss.weld.util.annotated.ForwardingAnnotated
equals, getAnnotation, getAnnotations, getBaseType, getTypeClosure, hashCode, isAnnotationPresent, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
-
Methods inherited from interface org.jboss.weld.annotated.enhanced.EnhancedAnnotated
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic
-
-
-
-
Method Detail
-
delegate
protected abstract EnhancedAnnotatedConstructor<T> delegate()
- Specified by:
delegatein classForwardingWeldMember<T,T,Constructor<T>>
-
getEnhancedParameters
public List<EnhancedAnnotatedParameter<?,T>> getEnhancedParameters(Class<? extends Annotation> annotationType)
Description copied from interface:EnhancedAnnotatedCallableGets the list of annotated parameters for a given annotation- Specified by:
getEnhancedParametersin interfaceEnhancedAnnotatedCallable<T,T,Constructor<T>>- Parameters:
annotationType- The annotation to match- Returns:
- A set of matching parameter abstractions. Returns an empty list if there are no matches.
-
getDeclaringType
public EnhancedAnnotatedType<T> getDeclaringType()
Description copied from interface:EnhancedAnnotatedMemberGets an abstraction of the declaring class- Specified by:
getDeclaringTypein interfacejavax.enterprise.inject.spi.AnnotatedMember<T>- Specified by:
getDeclaringTypein interfaceEnhancedAnnotatedMember<T,T,Constructor<T>>- Overrides:
getDeclaringTypein classForwardingWeldMember<T,T,Constructor<T>>- Returns:
- The declaring class
-
getEnhancedParameters
public List<? extends EnhancedAnnotatedParameter<?,T>> getEnhancedParameters()
Description copied from interface:EnhancedAnnotatedCallableGets the abstracted parameters of the method- Specified by:
getEnhancedParametersin interfaceEnhancedAnnotatedCallable<T,T,Constructor<T>>- Returns:
- A list of parameters. Returns an empty list if no parameters are present.
-
getSignature
public ConstructorSignature getSignature()
- Specified by:
getSignaturein interfaceEnhancedAnnotatedConstructor<T>
-
getParameters
public List<javax.enterprise.inject.spi.AnnotatedParameter<T>> getParameters()
- Specified by:
getParametersin interfacejavax.enterprise.inject.spi.AnnotatedCallable<T>
-
getJavaMember
public Constructor<T> getJavaMember()
-
slim
public javax.enterprise.inject.spi.AnnotatedConstructor<T> slim()
Description copied from interface:EnhancedAnnotatedReturns a lightweight implementation ofAnnotatedwith minimal memory footprint.- Specified by:
slimin interfaceEnhancedAnnotated<T,Constructor<T>>- Specified by:
slimin interfaceEnhancedAnnotatedCallable<T,T,Constructor<T>>- Specified by:
slimin interfaceEnhancedAnnotatedConstructor<T>- Specified by:
slimin interfaceEnhancedAnnotatedMember<T,T,Constructor<T>>- Overrides:
slimin classForwardingWeldMember<T,T,Constructor<T>>- Returns:
- the slim version of this
Annotated
-
-