|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.reflect.ReflectionAnnotated
public class ReflectionAnnotated
Annotated object based only on reflection.
| Constructor Summary | |
|---|---|
protected |
ReflectionAnnotated(BaseType type,
java.util.Set<java.lang.reflect.Type> typeClosure,
java.lang.annotation.Annotation[] annList)
|
| Method Summary | ||
|---|---|---|
protected void |
addAnnotation(java.lang.annotation.Annotation ann)
|
|
protected void |
fillTypeVariables(java.util.Set<VarType<?>> typeVariables)
|
|
|
getAnnotation(java.lang.Class<T> annType)
Returns the matching annotation |
|
java.util.Set<java.lang.annotation.Annotation> |
getAnnotations()
Returns the introspected annotations |
|
java.lang.reflect.Type |
getBaseType()
Returns the base type of the annotated member. |
|
BaseType |
getBaseTypeImpl()
|
|
java.util.HashMap<java.lang.String,BaseType> |
getBaseTypeParamMap()
|
|
java.util.Set<java.lang.reflect.Type> |
getTypeClosure()
Returns all the types implemented by the member. |
|
java.util.Set<VarType<?>> |
getTypeVariables()
Returns the type variables local to the type. |
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annType)
Returns true if the annotation is present) |
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ReflectionAnnotated(BaseType type,
java.util.Set<java.lang.reflect.Type> typeClosure,
java.lang.annotation.Annotation[] annList)
| Method Detail |
|---|
public java.lang.reflect.Type getBaseType()
getBaseType in interface Annotatedpublic BaseType getBaseTypeImpl()
getBaseTypeImpl in interface BaseTypeAnnotatedpublic java.util.Set<VarType<?>> getTypeVariables()
BaseTypeAnnotated
getTypeVariables in interface BaseTypeAnnotatedprotected void fillTypeVariables(java.util.Set<VarType<?>> typeVariables)
public java.util.HashMap<java.lang.String,BaseType> getBaseTypeParamMap()
getBaseTypeParamMap in interface BaseTypeAnnotatedpublic java.util.Set<java.lang.reflect.Type> getTypeClosure()
getTypeClosure in interface Annotatedpublic java.util.Set<java.lang.annotation.Annotation> getAnnotations()
getAnnotations in interface Annotatedpublic <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annType)
getAnnotation in interface Annotatedprotected void addAnnotation(java.lang.annotation.Annotation ann)
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annType)
isAnnotationPresent in interface Annotatedpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||