public class MethodInfo extends java.lang.Object implements IMethodInfo
| 构造器和说明 |
|---|
MethodInfo(boolean isConstructor) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addArgumentList(IArgumentInfoList argumentList)
Adds an optional argument list to the method information.
|
java.util.Iterator<IArgumentInfoList> |
argumentListIterator()
Returns the iterator of argument definition.
|
IClassInfo |
getClassReturnType()
Returns the script type for return.
|
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.
|
java.lang.String |
getJavaDoc()
Returns the method javadoc.
|
java.lang.String |
getName()
Returns the definition name.
|
java.lang.String |
getReturnType()
Returns the script type for return.
|
java.lang.String |
getToolTip()
Returns the display string for the tool tip of this method.
|
java.lang.String |
getToolTipKey()
Returns the resource key for tool tip.
|
boolean |
isConstructor()
Returns whether this method is constructor.
|
boolean |
isStatic()
Returns whether this method is static.
|
protected void |
setDisplayName(java.lang.String displayName)
Sets the display name.
|
protected void |
setDisplayNameKey(java.lang.String displayNameKey)
Sets the resource key for display name.
|
void |
setJavaDoc(java.lang.String javaDoc) |
protected void |
setName(java.lang.String name)
Sets the definition name.
|
protected void |
setReturnType(java.lang.String returnType) |
protected void |
setStatic(boolean isStatic) |
void |
setToolTip(java.lang.String toolTip)
Sets the display string for the tool tip of this method.
|
void |
setToolTipKey(java.lang.String toolTipKey)
Sets the resource key for tool tip.
|
protected void addArgumentList(IArgumentInfoList argumentList)
argumentList - an optional argument listpublic java.util.Iterator<IArgumentInfoList> argumentListIterator()
ArgumentInfoList.argumentListIterator 在接口中 IMethodInfopublic java.lang.String getToolTipKey()
getToolTipKey 在接口中 ILocalizableInfogetToolTipKey 在接口中 IMethodInfopublic void setToolTipKey(java.lang.String toolTipKey)
toolTipKey - the resource key to setpublic java.lang.String getToolTip()
getToolTip 在接口中 ILocalizableInfogetToolTip 在接口中 IMethodInfopublic void setToolTip(java.lang.String toolTip)
toolTip - the user-visible, localized display name for the tool tip of
this method.public java.lang.String getDisplayName()
ILocalizableInfogetDisplayName 在接口中 ILocalizableInfoprotected void setDisplayName(java.lang.String displayName)
displayName - the display valuepublic java.lang.String getDisplayNameKey()
ILocalizableInfogetDisplayNameKey 在接口中 ILocalizableInfopublic java.lang.String getName()
ILocalizableInfogetName 在接口中 ILocalizableInfoprotected void setDisplayNameKey(java.lang.String displayNameKey)
displayNameKey - the resource key to setprotected void setName(java.lang.String name)
name - the name to setpublic java.lang.String getJavaDoc()
IMethodInfogetJavaDoc 在接口中 IMethodInfopublic java.lang.String getReturnType()
IMethodInfogetReturnType 在接口中 IMethodInfopublic boolean isConstructor()
IMethodInfoisConstructor 在接口中 IMethodInfopublic boolean isStatic()
IMethodInfoisStatic 在接口中 IMethodInfopublic void setJavaDoc(java.lang.String javaDoc)
javaDoc - protected void setReturnType(java.lang.String returnType)
returnType - protected void setStatic(boolean isStatic)
isStatic - public IClassInfo getClassReturnType()
IMethodInfogetClassReturnType 在接口中 IMethodInfoCopyright © 2008 Actuate Corp. All rights reserved.