@SuppressWarnings({"unchecked", "cast"})
 public ParSuperConstructorAccess fullCopy() {
   ParSuperConstructorAccess res = (ParSuperConstructorAccess) copy();
   for (int i = 0; i < getNumChildNoTransform(); i++) {
     ASTNode node = getChildNoTransform(i);
     if (node != null) node = node.fullCopy();
     res.setChild(node, i);
   }
   return res;
 }
Exemplo n.º 2
0
 /** @apilevel low-level */
 @SuppressWarnings({"unchecked", "cast"})
 public RawMethodDecl fullCopy() {
   RawMethodDecl res = (RawMethodDecl) copy();
   for (int i = 0; i < getNumChildNoTransform(); i++) {
     ASTNode node = getChildNoTransform(i);
     if (node != null) node = node.fullCopy();
     res.setChild(node, i);
   }
   return res;
 }
Exemplo n.º 3
0
 @SuppressWarnings({"unchecked", "cast"})
 public IfStmt fullCopy() {
   IfStmt res = (IfStmt) copy();
   for (int i = 0; i < getNumChildNoTransform(); i++) {
     ASTNode node = getChildNoTransform(i);
     if (node != null) node = node.fullCopy();
     res.setChild(node, i);
   }
   return res;
 }
Exemplo n.º 4
0
 /** @apilevel low-level */
 @SuppressWarnings({"unchecked", "cast"})
 public AssignPlusExpr fullCopy() {
   AssignPlusExpr res = (AssignPlusExpr) copy();
   for (int i = 0; i < getNumChildNoTransform(); i++) {
     ASTNode node = getChildNoTransform(i);
     if (node != null) node = node.fullCopy();
     res.setChild(node, i);
   }
   return res;
 }
 @SuppressWarnings({"unchecked", "cast"})
 public ArrayTypeWithSizeAccess fullCopy() {
   ArrayTypeWithSizeAccess res = (ArrayTypeWithSizeAccess) copy();
   for (int i = 0; i < getNumChildNoTransform(); i++) {
     ASTNode node = getChildNoTransform(i);
     if (node != null) node = node.fullCopy();
     res.setChild(node, i);
   }
   return res;
 }
Exemplo n.º 6
0
 // Declared in AnonymousClasses.jrag at line 38
 @SuppressWarnings({"unchecked", "cast"})
 public List getImplementsList() {
   if (getImplementsList_computed)
     return (List) ASTNode.getChild(this, getImplementsListChildPosition());
   int num = boundariesCrossed;
   boolean isFinal = this.is$Final();
   getImplementsList_value = getImplementsList_compute();
   setImplementsList(getImplementsList_value);
   if (isFinal && num == boundariesCrossed) getImplementsList_computed = true;
   return (List) ASTNode.getChild(this, getImplementsListChildPosition());
 }
Exemplo n.º 7
0
 // Declared in AnonymousClasses.jrag at line 32
 @SuppressWarnings({"unchecked", "cast"})
 public Opt getSuperClassAccessOpt() {
   if (getSuperClassAccessOpt_computed)
     return (Opt) ASTNode.getChild(this, getSuperClassAccessOptChildPosition());
   int num = boundariesCrossed;
   boolean isFinal = this.is$Final();
   getSuperClassAccessOpt_value = getSuperClassAccessOpt_compute();
   setSuperClassAccessOpt(getSuperClassAccessOpt_value);
   if (isFinal && num == boundariesCrossed) getSuperClassAccessOpt_computed = true;
   return (Opt) ASTNode.getChild(this, getSuperClassAccessOptChildPosition());
 }
Exemplo n.º 8
0
 /**
  * Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
  *
  * @return dangling copy of the subtree at this node
  * @apilevel low-level
  */
 @SuppressWarnings({"unchecked", "cast"})
 public Wildcard fullCopy() {
   Wildcard tree = (Wildcard) copy();
   if (children != null) {
     for (int i = 0; i < children.length; ++i) {
       ASTNode child = (ASTNode) children[i];
       if (child != null) {
         child = child.fullCopy();
         tree.setChild(child, i);
       }
     }
   }
   return tree;
 }
 // Declared in GenericMethods.jrag at line 108
 public SimpleSet Define_SimpleSet_lookupType(ASTNode caller, ASTNode child, String name) {
   if (caller == getTypeArgumentListNoTransform()) {
     int childIndex = caller.getIndexOfChild(child);
     return unqualifiedScope().lookupType(name);
   }
   return super.Define_SimpleSet_lookupType(caller, child, name);
 }
 // Declared in GenericMethods.jrag at line 107
 public NameType Define_NameType_nameType(ASTNode caller, ASTNode child) {
   if (caller == getTypeArgumentListNoTransform()) {
     int childIndex = caller.getIndexOfChild(child);
     return NameType.TYPE_NAME;
   }
   return super.Define_NameType_nameType(caller, child);
 }
 // Declared in TypeAnalysis.jrag at line 257
 public TypeDecl Define_TypeDecl_declType(ASTNode caller, ASTNode child) {
   if (caller == getVariableDeclListNoTransform()) {
     int childIndex = caller.getIndexOfChild(child);
     return null;
   }
   return getParent().Define_TypeDecl_declType(this, caller);
 }
Exemplo n.º 12
0
 /**
  * @declaredat /home/uoji/JastAddJ/Java1.4Frontend/TypeAnalysis.jrag:577
  * @apilevel internal
  */
 public TypeDecl Define_TypeDecl_hostType(ASTNode caller, ASTNode child) {
   if (caller == getSuperInterfaceIdListNoTransform()) {
     int childIndex = caller.getIndexOfChild(child);
     return hostType();
   }
   return super.Define_TypeDecl_hostType(caller, child);
 }
Exemplo n.º 13
0
 public void flushCollectionCache() {
   super.flushCollectionCache();
 }
Exemplo n.º 14
0
 public void flushCache() {
   super.flushCache();
 }