|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.core.type.StandardClassMetadata
public class StandardClassMetadata
ClassMetadata
implementation that uses standard reflection
to introspect a given Class
.
Constructor Summary | |
---|---|
StandardClassMetadata(Class introspectedClass)
|
Method Summary | |
---|---|
String |
getClassName()
Return the name of the underlying class. |
String[] |
getInterfaceNames()
Return the name of all interfaces that the underlying class implements, or an empty array if there are none. |
Class |
getIntrospectedClass()
|
String |
getSuperClassName()
Return the name of the super class of the underlying class, or null if there is no super class defined. |
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. neither an interface nor an abstract class. |
boolean |
isInterface()
Return whether the underlying class represents an interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandardClassMetadata(Class introspectedClass)
Method Detail |
---|
public final Class getIntrospectedClass()
public String getClassName()
ClassMetadata
getClassName
in interface ClassMetadata
public boolean isInterface()
ClassMetadata
isInterface
in interface ClassMetadata
public boolean isAbstract()
ClassMetadata
isAbstract
in interface ClassMetadata
public boolean isConcrete()
ClassMetadata
isConcrete
in interface ClassMetadata
public boolean hasSuperClass()
ClassMetadata
hasSuperClass
in interface ClassMetadata
public String getSuperClassName()
ClassMetadata
null
if there is no super class defined.
getSuperClassName
in interface ClassMetadata
public String[] getInterfaceNames()
ClassMetadata
getInterfaceNames
in interface ClassMetadata
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |