|
||||||||||
| 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 |
| Nested classes/interfaces inherited from class org.jboss.webbeans.introspector.jlr.AbstractAnnotatedItem |
|---|
AbstractAnnotatedItem.AnnotationMap |
| 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<java.lang.Object>> |
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<java.lang.Object>> |
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(Manager manager)
Creates a new instance |
java.lang.String |
toDetailedString()
|
java.lang.String |
toString()
Gets a string representation of the constructor |
| Methods inherited from class org.jboss.webbeans.introspector.jlr.AbstractAnnotatedMember |
|---|
getName, getValue, isFinal, isStatic |
| Methods inherited from class org.jboss.webbeans.introspector.jlr.AbstractAnnotatedItem |
|---|
buildAnnotationMap, buildAnnotationMap, getAnnotation, getAnnotationMap, getAnnotations, getBindingTypes, getBindingTypesAsArray, getMetaAnnotations, getMetaAnnotationsAsArray, getParameterValues, getParameterValues, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isProxyable |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
|---|
getAnnotation, getAnnotations, getBindingTypes, getBindingTypesAsArray, getMetaAnnotations, getMetaAnnotationsAsArray, getName, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isFinal, isProxyable, isStatic |
| Constructor Detail |
|---|
public AnnotatedConstructorImpl(java.lang.reflect.Constructor<T> constructor,
AnnotatedType<T> declaringClass)
constructor - The constructor methoddeclaringClass - The declaring class| Method Detail |
|---|
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<java.lang.Object>> getParameters()
getParameters in interface AnnotatedConstructor<T>AnnotatedConstructor.getParameters()public java.util.List<AnnotatedParameter<java.lang.Object>> 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(Manager manager)
newInstance in interface AnnotatedConstructor<T>manager - The Web Beans manager
org.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 java.lang.String toDetailedString()
toDetailedString in class AbstractAnnotatedMember<T,java.lang.reflect.Constructor<T>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||