示例#1
0
 /**
  * Add element to list TypeArgumentList
  *
  * @apilevel high-level
  * @ast method
  * @declaredat GenericMethods.ast:27
  */
 public void addTypeArgument(Access node) {
   List<Access> list =
       (parent == null || state == null)
           ? getTypeArgumentListNoTransform()
           : getTypeArgumentList();
   list.addChild(node);
 }
 public void addVariableDecl(VariableDecl node) {
   List<VariableDecl> list =
       (parent == null || state == null)
           ? getVariableDeclListNoTransform()
           : getVariableDeclList();
   list.addChild(node);
 }
示例#3
0
 public void addBodyDeclNoTransform(BodyDecl node) {
   List<BodyDecl> list = getBodyDeclListNoTransform();
   list.addChild(node);
 }
示例#4
0
 public void addBodyDecl(BodyDecl node) {
   List<BodyDecl> list =
       (parent == null || state == null) ? getBodyDeclListNoTransform() : getBodyDeclList();
   list.addChild(node);
 }
 public void addVariableDeclNoTransform(VariableDecl node) {
   List<VariableDecl> list = getVariableDeclListNoTransform();
   list.addChild(node);
 }
示例#6
0
 public void addBodyDecl(BodyDecl node) {
   List<BodyDecl> list = getBodyDeclList();
   list.addChild(node);
 }
示例#7
0
 public void addImplements(Access node) {
   List<Access> list = getImplementsList();
   list.addChild(node);
 }
示例#8
0
 public void addArgument(Access node) {
   List<Access> list = getArgumentList();
   list.addChild(node);
 }
示例#9
0
 /**
  * @apilevel low-level
  * @ast method
  * @declaredat GenericMethods.ast:34
  */
 public void addTypeArgumentNoTransform(Access node) {
   List<Access> list = getTypeArgumentListNoTransform();
   list.addChild(node);
 }
示例#10
0
 /**
  * @apilevel low-level
  * @ast method
  * @declaredat java.ast:34
  */
 public void addExceptionNoTransform(Access node) {
   List<Access> list = getExceptionListNoTransform();
   list.addChild(node);
 }
示例#11
0
 /**
  * Add element to list ExceptionList
  *
  * @apilevel high-level
  * @ast method
  * @declaredat java.ast:27
  */
 public void addException(Access node) {
   List<Access> list =
       (parent == null || state == null) ? getExceptionListNoTransform() : getExceptionList();
   list.addChild(node);
 }
示例#12
0
 /**
  * @apilevel low-level
  * @ast method
  * @declaredat java.ast:34
  */
 public void addParameterNoTransform(ParameterDeclaration node) {
   List<ParameterDeclaration> list = getParameterListNoTransform();
   list.addChild(node);
 }
示例#13
0
 /**
  * Add element to list ParameterList
  *
  * @apilevel high-level
  * @ast method
  * @declaredat java.ast:27
  */
 public void addParameter(ParameterDeclaration node) {
   List<ParameterDeclaration> list =
       (parent == null || state == null) ? getParameterListNoTransform() : getParameterList();
   list.addChild(node);
 }
示例#14
0
 public void addVariableDecl(VariableDecl node) {
   List<VariableDecl> list = getVariableDeclList();
   list.addChild(node);
 }