public void setArg(Expr node, int i) {
   List<Expr> list = getArgList();
   list.setChild(node, i);
 }
 public void setTypeArgument(Access node, int i) {
   List<Access> list = getTypeArgumentList();
   list.setChild(node, i);
 }
 public void setVariableDecl(VariableDecl node, int i) {
   List<VariableDecl> list = getVariableDeclList();
   list.setChild(node, i);
 }
Exemple #4
0
 public void setBodyDecl(BodyDecl node, int i) {
   List<BodyDecl> list = getBodyDeclList();
   list.setChild(node, i);
 }
 public void setImplements(Access node, int i) {
   List<Access> list = getImplementsList();
   list.setChild(node, i);
 }
Exemple #6
0
 /**
  * Setter for child in list ExceptionList
  *
  * @apilevel high-level
  * @ast method
  * @declaredat java.ast:42
  */
 public void setException(Access node, int i) {
   List<Access> list = getExceptionList();
   list.setChild(node, i);
 }
Exemple #7
0
 /**
  * Setter for child in list ParameterList
  *
  * @apilevel high-level
  * @ast method
  * @declaredat java.ast:42
  */
 public void setParameter(ParameterDeclaration node, int i) {
   List<ParameterDeclaration> list = getParameterList();
   list.setChild(node, i);
 }
 /**
  * Setter for child in list SuperInterfaceIdList
  *
  * @apilevel high-level
  * @ast method
  * @declaredat java.ast:42
  */
 public void setSuperInterfaceId(Access node, int i) {
   List<Access> list = getSuperInterfaceIdList();
   list.setChild(node, i);
 }
 /**
  * Replaces the Parameter list element at index {@code i} with the new node {@code node}.
  *
  * @param node The new node to replace the old list element.
  * @param i The list index of the node to be replaced.
  * @apilevel high-level
  * @ast method
  */
 public void setParameter(Parameter node, int i) {
   List<Parameter> list = getParameterList();
   list.setChild(node, i);
 }