|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.reflect.AnnotatedElementImpl
@Module public class AnnotatedElementImpl
Abstract introspected view of a Bean
| Constructor Summary | |
|---|---|
AnnotatedElementImpl(Annotated annotated)
|
|
AnnotatedElementImpl(BaseType type,
Annotated annotated,
java.lang.annotation.Annotation[] annList)
|
|
AnnotatedElementImpl(java.lang.Class<?> cl,
Annotated annotated,
java.lang.annotation.Annotation[] annotationList)
|
|
| Method Summary | ||
|---|---|---|
void |
addAnnotation(java.lang.annotation.Annotation newAnn)
|
|
void |
addAnnotationIfAbsent(java.lang.annotation.Annotation newAnn)
|
|
void |
addAnnotations(java.lang.annotation.Annotation[] annSet)
|
|
void |
addAnnotations(java.util.Collection<java.lang.annotation.Annotation> annSet)
|
|
void |
clearAnnotations()
|
|
protected static BaseType |
createBaseType(Annotated ann)
|
|
protected static BaseType |
createBaseType(AnnotatedType<?> declaringType)
|
|
protected static BaseType |
createBaseType(AnnotatedType<?> declaringType,
java.lang.reflect.Type type)
|
|
protected static BaseType |
createBaseType(AnnotatedType<?> declaringType,
java.lang.reflect.Type type,
java.util.HashMap<java.lang.String,BaseType> paramMap,
java.lang.String paramDeclName)
|
|
protected static BaseType |
createBaseType(AnnotatedType<?> declaringType,
java.lang.reflect.Type type,
java.util.HashMap<java.lang.String,BaseType> paramMap,
java.lang.String paramDeclName,
BaseType.ClassFill classFill)
|
|
protected static BaseType |
createBaseType(AnnotatedType<?> declaringType,
java.lang.reflect.Type type,
java.lang.String paramDeclName)
|
|
protected static BaseType |
createBaseType(java.lang.reflect.Type type)
|
|
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 declared annotations |
|
java.lang.reflect.Type |
getBaseType()
Returns the declared Type |
|
BaseType |
getBaseTypeImpl()
|
|
java.util.HashMap<java.lang.String,BaseType> |
getBaseTypeParamMap()
|
|
java.util.Set<java.lang.reflect.Type> |
getTypeClosure()
Returns all exposed types |
|
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) |
|
void |
removeAnnotation(java.lang.annotation.Annotation ann)
|
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotatedElementImpl(BaseType type,
Annotated annotated,
java.lang.annotation.Annotation[] annList)
public AnnotatedElementImpl(Annotated annotated)
public AnnotatedElementImpl(java.lang.Class<?> cl,
Annotated annotated,
java.lang.annotation.Annotation[] annotationList)
| Method Detail |
|---|
protected static BaseType createBaseType(Annotated ann)
protected static BaseType createBaseType(AnnotatedType<?> declaringType)
protected static BaseType createBaseType(AnnotatedType<?> declaringType,
java.lang.reflect.Type type)
protected static BaseType createBaseType(AnnotatedType<?> declaringType,
java.lang.reflect.Type type,
java.lang.String paramDeclName)
protected static BaseType createBaseType(AnnotatedType<?> declaringType,
java.lang.reflect.Type type,
java.util.HashMap<java.lang.String,BaseType> paramMap,
java.lang.String paramDeclName)
protected static BaseType createBaseType(AnnotatedType<?> declaringType,
java.lang.reflect.Type type,
java.util.HashMap<java.lang.String,BaseType> paramMap,
java.lang.String paramDeclName,
BaseType.ClassFill classFill)
protected static BaseType createBaseType(java.lang.reflect.Type type)
public java.lang.reflect.Type getBaseType()
Annotated
getBaseType in interface Annotatedpublic BaseType getBaseTypeImpl()
getBaseTypeImpl in interface BaseTypeAnnotatedpublic java.util.HashMap<java.lang.String,BaseType> getBaseTypeParamMap()
getBaseTypeParamMap in interface BaseTypeAnnotatedpublic java.util.Set<VarType<?>> getTypeVariables()
BaseTypeAnnotated
getTypeVariables in interface BaseTypeAnnotatedprotected void fillTypeVariables(java.util.Set<VarType<?>> typeVariables)
public java.util.Set<java.lang.reflect.Type> getTypeClosure()
Annotated
getTypeClosure in interface Annotatedpublic void addAnnotations(java.util.Collection<java.lang.annotation.Annotation> annSet)
public void addAnnotations(java.lang.annotation.Annotation[] annSet)
public void addAnnotation(java.lang.annotation.Annotation newAnn)
public void addAnnotationIfAbsent(java.lang.annotation.Annotation newAnn)
public void removeAnnotation(java.lang.annotation.Annotation ann)
public void clearAnnotations()
public 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 Annotatedpublic 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 | |||||||||