Adds the body of the method
Parameters: methodDecl - The feature to be added to the Body attribute Parameters: index - The feature to be added to the Body attribute
addExceptions
protected int addExceptions(SimpleNode methodDecl, int index)(Code)
Adds the exceptions to the node
Parameters: methodDecl - The feature to be added to the Exceptions attribute Parameters: index - The feature to be added to the Exceptions attribute Description of the Returned Value
addReturn
protected void addReturn(SimpleNode methodDecl, int index)(Code)
Adds the return to the method declaration
Parameters: methodDecl - The feature to be added to the Return attribute Parameters: index - The feature to be added to the Return attribute