|
||||||||||
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,java.lang.Object>
org.jboss.webbeans.introspector.jlr.AnnotatedParameterImpl<T>
T
- public class AnnotatedParameterImpl<T>
Represents a parameter This class is immutable and therefore threadsafe
Field Summary |
---|
Fields inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
---|
MAPPED_METAANNOTATIONS |
Constructor Summary | |
---|---|
protected |
AnnotatedParameterImpl(java.lang.annotation.Annotation[] annotations,
java.lang.Class<T> rawType,
java.lang.reflect.Type type,
AnnotatedMember<?,?> declaringMember)
Constructor |
Method Summary | ||
---|---|---|
AnnotatedMember<?,?> |
getDeclaringMember()
|
|
java.lang.Object |
getDelegate()
Gets the delegate |
|
java.lang.String |
getName()
Gets the name of the parameter |
|
T |
getValue(Manager manager)
Gets the current value |
|
boolean |
isFinal()
Indicates if the parameter is final |
|
boolean |
isPublic()
Indicates if this annotated item is public |
|
boolean |
isStatic()
Indicates if the parameter is static |
|
static
|
of(java.lang.annotation.Annotation[] annotations,
java.lang.Class<T> rawType,
java.lang.reflect.Type type,
AnnotatedMember<?,?> declaringMember)
|
|
java.lang.String |
toString()
Gets a string representation of the parameter |
|
AnnotatedParameter<T> |
wrap(java.util.Set<java.lang.annotation.Annotation> annotations)
|
Methods inherited from class org.jboss.webbeans.introspector.jlr.AbstractAnnotatedItem |
---|
equals, getActualTypeArguments, getAnnotation, getAnnotationsAsSet, getAnnotationStore, getBindings, getBindingsAsArray, getDeclaredMetaAnnotations, getFlattenedTypeHierarchy, getMetaAnnotations, getMetaAnnotationsAsArray, getRawType, getType, hashCode, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isParameterizedType, 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 |
---|
getActualTypeArguments, getAnnotation, getAnnotationsAsSet, getAnnotationStore, getBindings, getBindingsAsArray, getDeclaredMetaAnnotations, getFlattenedTypeHierarchy, getMetaAnnotations, getMetaAnnotationsAsArray, getRawType, getType, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isParameterizedType, isProxyable |
Constructor Detail |
---|
protected AnnotatedParameterImpl(java.lang.annotation.Annotation[] annotations, java.lang.Class<T> rawType, java.lang.reflect.Type type, AnnotatedMember<?,?> declaringMember)
annotations
- The annotations arraytype
- The type of the parameterMethod Detail |
---|
public static <T> AnnotatedParameter<T> of(java.lang.annotation.Annotation[] annotations, java.lang.Class<T> rawType, java.lang.reflect.Type type, AnnotatedMember<?,?> declaringMember)
public java.lang.Object getDelegate()
getDelegate
in class AbstractAnnotatedItem<T,java.lang.Object>
org.jboss.webbeans.introspector.AnnotatedItem#getDelegate()
public boolean isFinal()
isFinal
in interface AnnotatedItem<T,java.lang.Object>
AnnotatedItem.isFinal()
public boolean isStatic()
isStatic
in interface AnnotatedItem<T,java.lang.Object>
AnnotatedItem.isStatic()
public boolean isPublic()
AnnotatedItem
isPublic
in interface AnnotatedItem<T,java.lang.Object>
public T getValue(Manager manager)
getValue
in interface AnnotatedParameter<T>
manager
- The Web Beans manager
AnnotatedParameter
public java.lang.String getName()
getName
in interface AnnotatedItem<T,java.lang.Object>
java.lang.IllegalArgumentException
- (not supported)AnnotatedItem.getName()
public java.lang.String toString()
toString
in class AbstractAnnotatedItem<T,java.lang.Object>
public AnnotatedMember<?,?> getDeclaringMember()
getDeclaringMember
in interface AnnotatedParameter<T>
public AnnotatedParameter<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 |