public interface ClassMetadata
StandardClassMetadata, 
MetadataReader.getClassMetadata(), 
AnnotationMetadata| Modifier and Type | Method and Description | 
|---|---|
| String | getClassName()Return the name of the underlying class. | 
| String | getEnclosingClassName()Return the name of the enclosing class of the underlying class,
 or  nullif the underlying class is a top-level class. | 
| String[] | getInterfaceNames()Return the names of all interfaces that the underlying class
 implements, or an empty array if there are none. | 
| String[] | getMemberClassNames()Return the names of all classes declared as members of the class represented by
 this ClassMetadata object. | 
| String | getSuperClassName()Return the name of the super class of the underlying class,
 or  nullif there is no super class defined. | 
| default boolean | hasEnclosingClass()Return whether the underlying class is declared within an enclosing
 class (i.e. | 
| default boolean | hasSuperClass()Return whether the underlying class has a super class. | 
| boolean | isAbstract()Return whether the underlying class is marked as abstract. | 
| boolean | isAnnotation()Return whether the underlying class represents an annotation. | 
| default 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. | 
String getClassName()
boolean isInterface()
boolean isAnnotation()
boolean isAbstract()
default boolean isConcrete()
boolean isFinal()
boolean isIndependent()
default boolean hasEnclosingClass()
If this method returns false, then the underlying
 class is a top-level class.
@Nullable String getEnclosingClassName()
null if the underlying class is a top-level class.default boolean hasSuperClass()
@Nullable String getSuperClassName()
null if there is no super class defined.String[] getInterfaceNames()
String[] getMemberClassNames()