public class ClassInfo extends java.lang.Object implements IClassInfo
| 构造器和说明 |
|---|
ClassInfo(java.lang.Class clazz) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected IMethodInfo |
createConstructorInfo(java.lang.reflect.Constructor classMethod) |
protected IMemberInfo |
createMemberInfo(java.lang.reflect.Field classField) |
protected IMethodInfo |
createMethodInfo(java.lang.reflect.Method classMethod) |
IMethodInfo |
getConstructor()
Returns the constructor definition.
|
java.lang.String |
getDisplayName()
Returns the display name if the resource key of display name is
available.
|
java.lang.String |
getDisplayNameKey()
Returns the resource key for display name.
|
IMemberInfo |
getMember(java.lang.String name)
Returns the member definition given method name.
|
java.util.List |
getMembers()
Returns the list of member definitions.
|
IMethodInfo |
getMethod(java.lang.String name)
Get the method definition given the method name.
|
java.util.List |
getMethods()
Returns the method definition list.
|
java.lang.String |
getName()
Returns the definition name.
|
java.lang.String |
getToolTip()
Returns the tool tip if the resource key of tool tip is
available.
|
java.lang.String |
getToolTipKey()
Returns the resource key for tool tip.
|
boolean |
isNative()
Returns whether a class object is native.
|
protected IMemberInfo createMemberInfo(java.lang.reflect.Field classField)
classField - protected IMethodInfo createConstructorInfo(java.lang.reflect.Constructor classMethod)
classMethod - protected IMethodInfo createMethodInfo(java.lang.reflect.Method classMethod)
classMethod - public java.util.List getMethods()
getMethods 在接口中 IClassInfopublic IMethodInfo getMethod(java.lang.String name)
getMethod 在接口中 IClassInfoname - the name of the method to getpublic java.util.List getMembers()
getMembers 在接口中 IClassInfopublic IMemberInfo getMember(java.lang.String name)
getMember 在接口中 IClassInfoname - name of the member to getpublic IMethodInfo getConstructor()
getConstructor 在接口中 IClassInfopublic boolean isNative()
isNative 在接口中 IClassInfotrue if an object of this class is native,
otherwise falsepublic java.lang.String getDisplayNameKey()
ILocalizableInfogetDisplayNameKey 在接口中 ILocalizableInfopublic java.lang.String getName()
ILocalizableInfogetName 在接口中 ILocalizableInfopublic java.lang.String getToolTipKey()
ILocalizableInfogetToolTipKey 在接口中 ILocalizableInfopublic java.lang.String getDisplayName()
ILocalizableInfogetDisplayName 在接口中 ILocalizableInfopublic java.lang.String getToolTip()
ILocalizableInfogetToolTip 在接口中 ILocalizableInfoCopyright © 2008 Actuate Corp. All rights reserved.