|
spring-core | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClassMetadata
Interface that defines abstract metadata of a specific class, in a form that does not require that class to be loaded yet.
StandardClassMetadata,
MetadataReader.getClassMetadata(),
AnnotationMetadata| Method Summary | |
|---|---|
java.lang.String |
getClassName()
Return the name of the underlying class. |
java.lang.String |
getEnclosingClassName()
Return the name of the enclosing class of the underlying class, or null if the underlying class is a top-level class. |
java.lang.String[] |
getInterfaceNames()
Return the names of all interfaces that the underlying class implements, or an empty array if there are none. |
java.lang.String[] |
getMemberClassNames()
Return the names of all classes declared as members of the class represented by this ClassMetadata object. |
java.lang.String |
getSuperClassName()
Return the name of the super class of the underlying class, or null if there is no super class defined. |
boolean |
hasEnclosingClass()
Return whether the underlying class has an enclosing class (i.e. |
boolean |
hasSuperClass()
Return whether the underlying class has a super class. |
boolean |
isAbstract()
Return whether the underlying class is marked as abstract. |
boolean |
isConcrete()
Return whether the underlying class represents a concrete class, i.e. |
boolean |
isFinal()
Return whether the underlying class is marked as 'final'. |
boolean |
isIndependent()
Determine whether the underlying class is independent, i.e. |
boolean |
isInterface()
Return whether the underlying class represents an interface. |
| Method Detail |
|---|
java.lang.String getClassName()
boolean isInterface()
boolean isAbstract()
boolean isConcrete()
boolean isFinal()
boolean isIndependent()
boolean hasEnclosingClass()
If this method returns false, then the
underlying class is a top-level class.
java.lang.String getEnclosingClassName()
null if the underlying class is a top-level class.
boolean hasSuperClass()
java.lang.String getSuperClassName()
null if there is no super class defined.
java.lang.String[] getInterfaceNames()
java.lang.String[] getMemberClassNames()
|
spring-core | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||