T
- exact typepublic class WeldConstructorImpl<T> extends AbstractWeldCallable<T,T,Constructor<T>> implements WeldConstructor<T>
MAPPED_PARAMETER_ANNOTATIONS
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
The overridden equals operation
|
Constructor<T> |
getAnnotatedConstructor()
Gets the constructor
|
Constructor<T> |
getDelegate()
Gets the delegate (constructor)
|
List<javax.enterprise.inject.spi.AnnotatedParameter<T>> |
getParameters() |
ConstructorSignature |
getSignature() |
List<WeldParameter<?,T>> |
getWeldParameters()
Gets the abstracted parameters
If the parameters are null, initalize them first
|
List<WeldParameter<?,T>> |
getWeldParameters(Class<? extends Annotation> annotationType)
Gets parameter abstractions with a given annotation type.
|
int |
hashCode() |
boolean |
isGeneric() |
T |
newInstance(Object... parameters)
Creates a new instance
|
static <T> WeldConstructor<T> |
of(javax.enterprise.inject.spi.AnnotatedConstructor<T> annotatedConstructor,
WeldClass<T> declaringClass,
ClassTransformer classTransformer) |
static <T> WeldConstructor<T> |
of(Constructor<T> constructor,
WeldClass<T> declaringClass,
ClassTransformer classTransformer) |
String |
toString()
Gets a string representation of the constructor
|
getDeclaringType, getJavaMember, getName, getPackage, isFinal, isPackagePrivate, isPrivate, isPublic, isStatic, isTransient
addMetaAnnotations, addMetaAnnotations, buildAnnotationMap, buildAnnotationMap, getActualTypeArguments, getAnnotation, getAnnotations, getBaseType, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getQualifiers, getTypeClosure, isAnnotationPresent, isParameterizedType, isPrimitive
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDeclaringType
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic
public static <T> WeldConstructor<T> of(Constructor<T> constructor, WeldClass<T> declaringClass, ClassTransformer classTransformer)
public static <T> WeldConstructor<T> of(javax.enterprise.inject.spi.AnnotatedConstructor<T> annotatedConstructor, WeldClass<T> declaringClass, ClassTransformer classTransformer)
public Constructor<T> getAnnotatedConstructor()
public Constructor<T> getDelegate()
getDelegate
in class AbstractWeldAnnotated<T,Constructor<T>>
public List<WeldParameter<?,T>> getWeldParameters()
getWeldParameters
in interface WeldCallable<T,T,Constructor<T>>
WeldCallable.getWeldParameters()
public List<WeldParameter<?,T>> getWeldParameters(Class<? extends Annotation> annotationType)
getWeldParameters
in interface WeldCallable<T,T,Constructor<T>>
annotationType
- The annotation type to matchWeldCallable.getWeldParameters(Class)
public T newInstance(Object... parameters) throws IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException
newInstance
in interface WeldConstructor<T>
parameters
- the parametersInvocationTargetException
IllegalAccessException
InstantiationException
IllegalArgumentException
WeldConstructor.newInstance(Object... params)
public boolean equals(Object other)
public String toString()
toString
in class AbstractWeldMember<T,T,Constructor<T>>
public ConstructorSignature getSignature()
getSignature
in interface WeldConstructor<T>
public List<javax.enterprise.inject.spi.AnnotatedParameter<T>> getParameters()
getParameters
in interface javax.enterprise.inject.spi.AnnotatedCallable<T>
public boolean isGeneric()
isGeneric
in interface WeldAnnotated<T,Constructor<T>>
Copyright © 2013 Seam Framework. All rights reserved.