|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.model.api.metadata.MethodInfo
public class MethodInfo
Represents the method information for both class and element. The class includes the argument list, return type, and whether this method is static or constructor,
Constructor Summary | |
---|---|
MethodInfo(boolean isConstructor)
|
Method Summary | |
---|---|
protected void |
addArgumentList(IArgumentInfoList argumentList)
Adds an optional argument list to the method information. |
java.util.Iterator |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodInfo(boolean isConstructor)
Method Detail |
---|
protected void addArgumentList(IArgumentInfoList argumentList)
argumentList
- an optional argument listpublic java.util.Iterator argumentListIterator()
ArgumentInfoList
.
argumentListIterator
in interface IMethodInfo
public java.lang.String getToolTipKey()
getToolTipKey
in interface ILocalizableInfo
getToolTipKey
in interface IMethodInfo
public void setToolTipKey(java.lang.String toolTipKey)
toolTipKey
- the resource key to setpublic java.lang.String getToolTip()
getToolTip
in interface ILocalizableInfo
getToolTip
in interface IMethodInfo
public 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()
ILocalizableInfo
getDisplayName
in interface ILocalizableInfo
protected void setDisplayName(java.lang.String displayName)
displayName
- the display valuepublic java.lang.String getDisplayNameKey()
ILocalizableInfo
getDisplayNameKey
in interface ILocalizableInfo
public java.lang.String getName()
ILocalizableInfo
getName
in interface ILocalizableInfo
protected 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()
IMethodInfo
getJavaDoc
in interface IMethodInfo
public java.lang.String getReturnType()
IMethodInfo
getReturnType
in interface IMethodInfo
public boolean isConstructor()
IMethodInfo
isConstructor
in interface IMethodInfo
public boolean isStatic()
IMethodInfo
isStatic
in interface IMethodInfo
public void setJavaDoc(java.lang.String javaDoc)
protected void setReturnType(java.lang.String returnType)
protected void setStatic(boolean isStatic)
public IClassInfo getClassReturnType()
IMethodInfo
getClassReturnType
in interface IMethodInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |