|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jac.ide.ModelElement
org.objectweb.jac.ide.TypedElement
org.objectweb.jac.ide.Member
org.objectweb.jac.ide.Method
Field Summary |
Fields inherited from interface org.objectweb.jac.ide.Visibility |
PRIVATE, PROTECTED, PUBLIC |
Constructor Summary | |
Method()
|
Method Summary | |
void |
addException(String exception)
|
void |
addParameter(Parameter p)
|
void |
clearParameters()
|
Method |
cloneMethod()
Clone this method |
String |
getBody()
Get the value of body. |
List |
getExceptions()
|
String |
getModifiers()
Returns a string of all the modifiers of a member item (field or method) |
String |
getParameterNames()
Returns the names of all parameters, separated by a comma |
List |
getParameters()
Get the value of parameters. |
String |
getParametersString()
Returns the prototypes (type and name) of the parameters, separated by a comma |
Type[] |
getParameterTypes()
Returns an array containing the types of the parameters |
String |
getPrototype()
|
String |
getUniqueName()
Returns the name with the type of the parameters between parenthesis. |
boolean |
isAbstract()
|
boolean |
isSynchronized()
|
void |
removeException(String exception)
|
void |
removeParameter(Parameter p)
|
void |
setAbstract(boolean value)
|
void |
setBody(String v)
Set the value of body. |
void |
setSynchronized(boolean value)
|
Methods inherited from class org.objectweb.jac.ide.Member |
getFullName, getGenerationFullName, getGenerationName, getParent, getProject, getVisibility, isStatic, setParent, setStatic, setVisibility |
Methods inherited from class org.objectweb.jac.ide.TypedElement |
getToString, getType, getTypeName, isArray, setArray, setType |
Methods inherited from class org.objectweb.jac.ide.ModelElement |
addConfigItem, addEndingLink, addLink, getConfigItems, getDescription, getEndingLinks, getLinks, getName, remove, removeEndingLink, removeLink, setDescription, setEndingLinks, setLinks, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.jac.ide.Element |
getName |
Constructor Detail |
public Method()
Method Detail |
public String getPrototype()
getPrototype
in class Member
public String getModifiers()
Member
getModifiers
in class Member
Member.isStatic()
,
Member.getVisibility()
public String getParametersString()
public List getParameters()
public void addParameter(Parameter p)
public void removeParameter(Parameter p)
public void clearParameters()
public Type[] getParameterTypes()
public String getBody()
public void setBody(String v)
v
- Value to assign to body.public boolean isAbstract()
public void setAbstract(boolean value)
public boolean isSynchronized()
public void setSynchronized(boolean value)
public String getUniqueName()
public String getParameterNames()
public List getExceptions()
public void addException(String exception)
public void removeException(String exception)
public Method cloneMethod()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |