类 StandardClassMetadata
java.lang.Object
cn.taketoday.core.type.StandardClassMetadata
- 所有已实现的接口:
ClassMetadata
- 直接已知子类:
StandardAnnotationMetadata
ClassMetadata implementation that uses standard reflection
to introspect a given Class.- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller, Sam Brannen
-
字段概要
字段 -
构造器概要
构造器构造器说明StandardClassMetadata(Class<?> introspectedClass) Create a new StandardClassMetadata wrapper for the given Class. -
方法概要
修饰符和类型方法说明booleanReturn the name of the underlying class.Retrieve the method metadata for all user-declared methods on the underlying class, preserving declaration order as far as possible.Return the name of the enclosing class of the underlying class, ornullif the underlying class is a top-level class.String[]Return the names of all interfaces that the underlying class implements, or an empty array if there are none.final Class<?>Return the underlying Class.String[]Return the names of all classes declared as members of the class represented by this ClassMetadata object.intReturn the name of the super class of the underlying class, ornullif there is no super class defined.inthashCode()booleanReturn whether the underlying class is marked as abstract.booleanReturn whether the underlying class represents an annotation.booleanisFinal()Return whether the underlying class is marked as 'final'.booleanDetermine whether the underlying class is independent, i.e. whether it is a top-level class or a nested class (static inner class) that can be constructed independently from an enclosing class.booleanReturn whether the underlying class represents an interface.protected MethodMetadatatoString()从接口继承的方法 cn.taketoday.core.type.ClassMetadata
hasEnclosingClass, hasSuperClass, isConcrete
-
字段详细资料
-
introspectedClass
-
-
构造器详细资料
-
StandardClassMetadata
Create a new StandardClassMetadata wrapper for the given Class.- 参数:
introspectedClass- the Class to introspect
-
-
方法详细资料
-
getIntrospectedClass
Return the underlying Class. -
getClassName
从接口复制的说明:ClassMetadataReturn the name of the underlying class.- 指定者:
getClassName在接口中ClassMetadata
-
isInterface
public boolean isInterface()从接口复制的说明:ClassMetadataReturn whether the underlying class represents an interface.- 指定者:
isInterface在接口中ClassMetadata
-
isAnnotation
public boolean isAnnotation()从接口复制的说明:ClassMetadataReturn whether the underlying class represents an annotation.- 指定者:
isAnnotation在接口中ClassMetadata
-
isAbstract
public boolean isAbstract()从接口复制的说明:ClassMetadataReturn whether the underlying class is marked as abstract.- 指定者:
isAbstract在接口中ClassMetadata
-
isFinal
public boolean isFinal()从接口复制的说明:ClassMetadataReturn whether the underlying class is marked as 'final'.- 指定者:
isFinal在接口中ClassMetadata
-
isIndependent
public boolean isIndependent()从接口复制的说明:ClassMetadataDetermine whether the underlying class is independent, i.e. whether it is a top-level class or a nested class (static inner class) that can be constructed independently from an enclosing class.- 指定者:
isIndependent在接口中ClassMetadata
-
getModifiers
public int getModifiers()- 指定者:
getModifiers在接口中ClassMetadata
-
getEnclosingClassName
从接口复制的说明:ClassMetadataReturn the name of the enclosing class of the underlying class, ornullif the underlying class is a top-level class.- 指定者:
getEnclosingClassName在接口中ClassMetadata
-
getSuperClassName
从接口复制的说明:ClassMetadataReturn the name of the super class of the underlying class, ornullif there is no super class defined.- 指定者:
getSuperClassName在接口中ClassMetadata
-
getInterfaceNames
从接口复制的说明:ClassMetadataReturn the names of all interfaces that the underlying class implements, or an empty array if there are none.- 指定者:
getInterfaceNames在接口中ClassMetadata
-
getMemberClassNames
从接口复制的说明:ClassMetadataReturn the names of all classes declared as members of the class represented by this ClassMetadata object. This includes public, protected, default (package) access, and private classes and interfaces declared by the class, but excludes inherited classes and interfaces. An empty array is returned if no member classes or interfaces exist.- 指定者:
getMemberClassNames在接口中ClassMetadata
-
getDeclaredMethods
从接口复制的说明:ClassMetadataRetrieve the method metadata for all user-declared methods on the underlying class, preserving declaration order as far as possible.- 指定者:
getDeclaredMethods在接口中ClassMetadata- 返回:
- a set of
MethodMetadata
-
mapMethod
-
equals
-
hashCode
public int hashCode() -
toString
-