Example usage for Java org.eclipse.jdt.core.jdom IDOMMethod fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addParameter(String type, String name) Adds the given parameter to the end of the parameter list. |
String | getName() The IDOMMethod refinement of this IDOMNode method returns the name of this method. |
String[] | getParameterNames() Returns the names of parameters in this method in the order they are declared, or null if no parameters are declared. |
String[] | getParameterTypes() Returns the type names for the parameters of this method in the order they are declared, or null if no parameters are declared. |
boolean | isConstructor() Returns whether this method is a constructor. |
void | setBody(String body) Sets the body of this method. |
void | setFlags(int flags) Sets the flags for this member. |
void | setName(String name) The IDOMMethod refinement of this IDOMNode method sets the name of this method. |
void | setParameters(String[] types, String[] names) Sets the types and names of parameters in this method in the order they are to be declared. |
void | setReturnType(String type) Sets the return type name. |