|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.webbeans.introspector.jlr.AbstractAnnotatedItem<T,S>
org.jboss.webbeans.introspector.jlr.AbstractAnnotatedMember<T,java.lang.reflect.Constructor<T>>
org.jboss.webbeans.introspector.jlr.AnnotatedConstructorImpl<T>
T - public class AnnotatedConstructorImpl<T>
Represents an annotated constructor This class is immutable, and therefore threadsafe
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jboss.webbeans.introspector.jlr.AbstractAnnotatedMember |
|---|
AbstractAnnotatedMember.AnnotatedParameterMap |
| Field Summary |
|---|
| Fields inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
|---|
MAPPED_METAANNOTATIONS |
| Constructor Summary | |
|---|---|
AnnotatedConstructorImpl(java.lang.reflect.Constructor<T> constructor,
AnnotatedType<T> declaringClass)
Constructor Initializes the superclass with the build annotations map |
|
| Method Summary | ||
|---|---|---|
boolean |
equals(java.lang.Object other)
The overridden equals operation |
|
java.lang.reflect.Type[] |
getActualTypeArguments()
Gets the actual type arguments |
|
java.lang.reflect.Constructor<T> |
getAnnotatedConstructor()
Gets the constructor |
|
java.util.List<AnnotatedParameter<?>> |
getAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets parameter abstractions with a given annotation type. |
|
AnnotatedType<T> |
getDeclaringClass()
Gets the declaring class |
|
java.lang.reflect.Constructor<T> |
getDelegate()
Gets the delegate (constructor) |
|
java.util.List<AnnotatedParameter<?>> |
getParameters()
Gets the abstracted parameters If the parameters are null, initalize them first |
|
java.lang.Class<T> |
getType()
Gets the type of the constructor |
|
int |
hashCode()
The overridden hashcode Gets the hash code from the delegate |
|
T |
newInstance(java.lang.Object... parameters)
Creates a new instance |
|
static
|
of(java.lang.reflect.Constructor<T> constructor,
AnnotatedType<T> declaringClass)
|
|
java.lang.String |
toString()
Gets a string representation of the constructor |
|
AnnotatedConstructor<T> |
wrap(java.util.Set<java.lang.annotation.Annotation> annotations)
|
|
| Methods inherited from class org.jboss.webbeans.introspector.jlr.AbstractAnnotatedMember |
|---|
getMember, getName, getValue, isFinal, isPublic, isStatic, isTransient |
| Methods inherited from class org.jboss.webbeans.introspector.jlr.AbstractAnnotatedItem |
|---|
getAnnotation, getAnnotationsAsSet, getAnnotationStore, getBindingTypes, getBindingTypesAsArray, getDeclaredMetaAnnotations, getMetaAnnotations, getMetaAnnotationsAsArray, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isProxyable |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.webbeans.introspector.AnnotatedMember |
|---|
getMember |
| Methods inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
|---|
getAnnotation, getAnnotationsAsSet, getAnnotationStore, getBindingTypes, getBindingTypesAsArray, getDeclaredMetaAnnotations, getMetaAnnotations, getMetaAnnotationsAsArray, getName, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isFinal, isProxyable, isPublic, isStatic |
| Constructor Detail |
|---|
public AnnotatedConstructorImpl(java.lang.reflect.Constructor<T> constructor,
AnnotatedType<T> declaringClass)
constructor - The constructor methoddeclaringClass - The declaring class| Method Detail |
|---|
public static <T> AnnotatedConstructor<T> of(java.lang.reflect.Constructor<T> constructor,
AnnotatedType<T> declaringClass)
public java.lang.reflect.Constructor<T> getAnnotatedConstructor()
public java.lang.reflect.Constructor<T> getDelegate()
getDelegate in class AbstractAnnotatedItem<T,java.lang.reflect.Constructor<T>>public java.lang.Class<T> getType()
getType in interface AnnotatedItem<T,java.lang.reflect.Constructor<T>>public java.lang.reflect.Type[] getActualTypeArguments()
getActualTypeArguments in interface AnnotatedItem<T,java.lang.reflect.Constructor<T>>AnnotatedItem.getActualTypeArguments()public java.util.List<AnnotatedParameter<?>> getParameters()
getParameters in interface AnnotatedConstructor<T>AnnotatedConstructor.getParameters()public java.util.List<AnnotatedParameter<?>> getAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
getAnnotatedParameters in interface AnnotatedConstructor<T>annotationType - The annotation type to match
AnnotatedConstructor.getAnnotatedParameters(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 AnnotatedConstructor<T>manager - The Web Beans manager
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalArgumentExceptionorg.jboss.webbeans.introspector.AnnotatedConstructor#newInstance(ManagerImpl)public boolean equals(java.lang.Object other)
equals in class AbstractAnnotatedItem<T,java.lang.reflect.Constructor<T>>other - The instance to compare to
public int hashCode()
hashCode in class AbstractAnnotatedItem<T,java.lang.reflect.Constructor<T>>public AnnotatedType<T> getDeclaringClass()
getDeclaringClass in interface AnnotatedConstructor<T>public java.lang.String toString()
toString in class AbstractAnnotatedMember<T,java.lang.reflect.Constructor<T>>public AnnotatedConstructor<T> wrap(java.util.Set<java.lang.annotation.Annotation> annotations)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||