|
||||||||||
| 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,java.lang.reflect.Constructor<T>>
org.jboss.weld.introspector.jlr.WeldConstructorImpl<T>
T - public class WeldConstructorImpl<T>
Represents an annotated constructor This class is immutable, and therefore threadsafe
| Field Summary |
|---|
| Fields inherited from interface org.jboss.weld.introspector.WeldConstructor |
|---|
MAPPED_PARAMETER_ANNOTATIONS |
| Fields inherited from interface org.jboss.weld.introspector.WeldAnnotated |
|---|
MAPPED_METAANNOTATIONS |
| Method Summary | ||
|---|---|---|
boolean |
equals(java.lang.Object other)
The overridden equals operation |
|
java.lang.reflect.Constructor<T> |
getAnnotatedConstructor()
Gets the constructor |
|
java.util.List<WeldParameter<?,T>> |
getAnnotatedWBParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets parameter abstractions with a given annotation type. |
|
java.lang.reflect.Constructor<T> |
getDelegate()
Gets the delegate (constructor) |
|
java.util.List<javax.enterprise.inject.spi.AnnotatedParameter<T>> |
getParameters()
|
|
ConstructorSignature |
getSignature()
|
|
java.util.List<WeldParameter<?,T>> |
getWBParameters()
Gets the abstracted parameters If the parameters are null, initalize them first |
|
int |
hashCode()
The overridden hashcode Gets the hash code from the delegate |
|
T |
newInstance(java.lang.Object... parameters)
Creates a new instance |
|
static
|
of(javax.enterprise.inject.spi.AnnotatedConstructor<T> annotatedConstructor,
WeldClass<T> declaringClass,
ClassTransformer classTransformer)
|
|
static
|
of(java.lang.reflect.Constructor<T> constructor,
WeldClass<T> declaringClass,
ClassTransformer classTransformer)
|
|
java.lang.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 |
|---|
getActualTypeArguments, getAnnotation, getAnnotations, getAnnotationStore, getBaseType, getBindingsAsArray, getDeclaredMetaAnnotations, getInterfaceOnlyFlattenedTypeHierarchy, getJavaClass, getMetaAnnotations, getMetaAnnotationsAsArray, getQualifiers, getTypeClosure, isAnnotationPresent, isDeclaredAnnotationPresent, isParameterizedType, isProxyable |
| 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, getJavaMember |
| Methods inherited from interface org.jboss.weld.introspector.WeldAnnotated |
|---|
getActualTypeArguments, getBindingsAsArray, getDeclaredMetaAnnotations, getInterfaceOnlyFlattenedTypeHierarchy, getJavaClass, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getPackage, getQualifiers, isDeclaredAnnotationPresent, isFinal, isPackagePrivate, isParameterizedType, isPrivate, isProxyable, 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(java.lang.reflect.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 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>> getWBParameters()
getWBParameters in interface WeldCallable<T,T,java.lang.reflect.Constructor<T>>WeldCallable.getWBParameters()public java.util.List<WeldParameter<?,T>> getAnnotatedWBParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
getAnnotatedWBParameters in interface WeldCallable<T,T,java.lang.reflect.Constructor<T>>annotationType - The annotation type to match
WeldCallable.getAnnotatedWBParameters(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>manager - The Bean manager
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalArgumentExceptionorg.jboss.weld.introspector.WeldConstructor#newInstance(BeanManagerImpl)public boolean equals(java.lang.Object other)
equals in class AbstractWeldAnnotated<T,java.lang.reflect.Constructor<T>>other - The instance to compare to
public int hashCode()
hashCode in class AbstractWeldAnnotated<T,java.lang.reflect.Constructor<T>>public 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<javax.enterprise.inject.spi.AnnotatedParameter<T>> getParameters()
getParameters in interface javax.enterprise.inject.spi.AnnotatedCallable<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||