T - exact typepublic class WeldConstructorImpl<T> extends AbstractWeldCallable<T,T,java.lang.reflect.Constructor<T>> implements WeldConstructor<T>
MAPPED_PARAMETER_ANNOTATIONSMAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other)
The overridden equals operation
|
java.lang.reflect.Constructor<T> |
getAnnotatedConstructor()
Gets the constructor
|
java.lang.reflect.Constructor<T> |
getDelegate()
Gets the delegate (constructor)
|
java.util.List<AnnotatedParameter<T>> |
getParameters()
Get the parameters of the callable member.
|
ConstructorSignature |
getSignature() |
java.util.List<WeldParameter<?,T>> |
getWeldParameters()
Gets the abstracted parameters
If the parameters are null, initalize them first
|
java.util.List<WeldParameter<?,T>> |
getWeldParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets parameter abstractions with a given annotation type.
|
int |
hashCode() |
boolean |
isGeneric() |
T |
newInstance(java.lang.Object... parameters)
Creates a new instance
|
static <T> WeldConstructor<T> |
of(AnnotatedConstructor<T> annotatedConstructor,
WeldClass<T> declaringClass,
ClassTransformer classTransformer) |
static <T> WeldConstructor<T> |
of(java.lang.reflect.Constructor<T> constructor,
WeldClass<T> declaringClass,
ClassTransformer classTransformer) |
java.lang.String |
toString()
Gets a string representation of the constructor
|
getDeclaringType, getJavaMember, getName, getPackage, isFinal, isPackagePrivate, isPrivate, isPublic, isStatic, isTransientaddMetaAnnotations, addMetaAnnotations, buildAnnotationMap, buildAnnotationMap, getActualTypeArguments, getAnnotation, getAnnotations, getBaseType, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getQualifiers, getTypeClosure, isAnnotationPresent, isParameterizedType, isPrimitiveclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDeclaringTypegetActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStaticgetJavaMemberisStaticgetAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresentpublic static <T> WeldConstructor<T> of(java.lang.reflect.Constructor<T> constructor, WeldClass<T> declaringClass, ClassTransformer classTransformer)
public static <T> WeldConstructor<T> of(AnnotatedConstructor<T> annotatedConstructor, WeldClass<T> declaringClass, ClassTransformer classTransformer)
public java.lang.reflect.Constructor<T> getAnnotatedConstructor()
public java.lang.reflect.Constructor<T> getDelegate()
getDelegate in class AbstractWeldAnnotated<T,java.lang.reflect.Constructor<T>>public java.util.List<WeldParameter<?,T>> getWeldParameters()
getWeldParameters in interface WeldCallable<T,T,java.lang.reflect.Constructor<T>>WeldCallable.getWeldParameters()public java.util.List<WeldParameter<?,T>> getWeldParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
getWeldParameters in interface WeldCallable<T,T,java.lang.reflect.Constructor<T>>annotationType - The annotation type to matchWeldCallable.getWeldParameters(Class)public T newInstance(java.lang.Object... parameters) throws java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
newInstance in interface WeldConstructor<T>parameters - the parametersjava.lang.reflect.InvocationTargetExceptionjava.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionjava.lang.IllegalArgumentExceptionWeldConstructor.newInstance(Object... params)public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - The instance to compare topublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class AbstractWeldMember<T,T,java.lang.reflect.Constructor<T>>public ConstructorSignature getSignature()
getSignature in interface WeldConstructor<T>public java.util.List<AnnotatedParameter<T>> getParameters()
AnnotatedCallableGet the parameters of the callable member.
getParameters in interface AnnotatedCallable<T>public boolean isGeneric()
isGeneric in interface WeldAnnotated<T,java.lang.reflect.Constructor<T>>Copyright © 2014 Seam Framework. All Rights Reserved.