|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.weld.introspector.jlr.AbstractWeldAnnotated<T,S>
org.jboss.weld.introspector.jlr.AbstractWeldMember<T,X,S>
org.jboss.weld.introspector.jlr.AbstractWeldCallable<T,T,Constructor<T>>
org.jboss.weld.introspector.jlr.WeldConstructorImpl<T>
T
- exact typepublic class WeldConstructorImpl<T>
Represents an annotated constructor
This class is immutable, and therefore threadsafe
Field Summary |
---|
Fields inherited from interface org.jboss.weld.introspector.WeldCallable |
---|
MAPPED_PARAMETER_ANNOTATIONS |
Fields inherited from interface org.jboss.weld.introspector.WeldAnnotated |
---|
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS |
Method Summary | ||
---|---|---|
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
|
of(javax.enterprise.inject.spi.AnnotatedConstructor<T> annotatedConstructor,
WeldClass<T> declaringClass,
ClassTransformer classTransformer)
|
|
static
|
of(Constructor<T> constructor,
WeldClass<T> declaringClass,
ClassTransformer classTransformer)
|
|
String |
toString()
Gets a string representation of the constructor |
Methods inherited from class org.jboss.weld.introspector.jlr.AbstractWeldMember |
---|
getDeclaringType, getJavaMember, getName, getPackage, isFinal, isPackagePrivate, isPrivate, isPublic, isStatic, isTransient |
Methods inherited from class org.jboss.weld.introspector.jlr.AbstractWeldAnnotated |
---|
addMetaAnnotations, addMetaAnnotations, buildAnnotationMap, buildAnnotationMap, getActualTypeArguments, getAnnotation, getAnnotations, getBaseType, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getQualifiers, getTypeClosure, isAnnotationPresent, isParameterizedType, isPrimitive |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.weld.introspector.WeldMember |
---|
getDeclaringType |
Methods inherited from interface org.jboss.weld.introspector.WeldAnnotated |
---|
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic |
Methods inherited from interface javax.enterprise.inject.spi.AnnotatedConstructor |
---|
getJavaMember |
Methods inherited from interface javax.enterprise.inject.spi.AnnotatedMember |
---|
isStatic |
Methods inherited from interface javax.enterprise.inject.spi.Annotated |
---|
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent |
Method Detail |
---|
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 match
WeldCallable.getWeldParameters(Class)
public T newInstance(Object... parameters) throws IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException
newInstance
in interface WeldConstructor<T>
parameters
- the parameters
InvocationTargetException
IllegalAccessException
InstantiationException
IllegalArgumentException
WeldConstructor.newInstance(Object... params)
public boolean equals(Object other)
equals
in class Object
other
- The instance to compare to
public int hashCode()
hashCode
in class Object
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>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |