|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MetaClass
Metadata about a class or primitive type
| Method Summary | |
|---|---|
MetaAnnotation |
getAnnotation(String annotationName)
Get metadata about a particular annotation on the corresponding Class. |
Set<? extends MetaAnnotation> |
getAnnotations()
Get metadata about the annotations on the corresponding Class. |
MetaClassPathElement |
getClassLocation()
Get the ClassLocation from which the corresponding class came. |
Set<? extends MetaField> |
getFields()
Get metadata about the corresponding Class's methods and constructors. |
Set<? extends MetaClass> |
getInterfaces()
Get metadata about the interfaces which the corresponding Class implements. |
Set<? extends MetaMethod> |
getMethods()
Get metadata about the corresponding Class's methods and constructors. |
String |
getName()
Get the canonical name of the corresponding Class. |
MetaClass |
getParent()
Get metadata about the corresponding Class's parent |
boolean |
isAssignableFrom(MetaClass assignor)
Is the associated Class assignable from the class associated with the given MetaClass. |
| Method Detail |
|---|
MetaClassPathElement getClassLocation()
String getName()
getName in interface HasNameMetaClass getParent()
Set<? extends MetaClass> getInterfaces()
Set<? extends MetaAnnotation> getAnnotations()
MetaAnnotation getAnnotation(String annotationName)
annotationName - The name of the annotation desired
Set<? extends MetaMethod> getMethods()
Set<? extends MetaField> getFields()
boolean isAssignableFrom(MetaClass assignor)
assignor - The non-null MetaClass (associated with class or interface)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||