gt:     decl_value = decl_compute();
context: /* This file was generated with JastAdd2 (http://jastadd.org) version R20130212 (r1031) */
  package soot.JastAddJ;
  
  import java.util.HashSet;
  import java.io.File;
  import java.util.*;
  import beaver.*;
  import java.util.ArrayList;
  import java.util.zip.*;
  import java.io.*;
  import java.io.FileNotFoundException;
  import java.util.Collection;
  import soot.*;
  import soot.util.*;
  import soot.jimple.*;
  import soot.coffi.ClassFile;
  import soot.coffi.method_info;
  import soot.coffi.CONSTANT_Utf8_info;
  import soot.tagkit.SourceFileTag;
  import soot.coffi.CoffiMethodSource;
  /**
   * @production ArrayTypeAccess : {@link TypeAccess} ::= <span class="component">&lt;Package:String&gt;</span> <span class="component">&lt;ID:String&gt;</span> <span class="component">{@link Access}</span>;
   * @ast node
   * @declaredat /Users/eric/Documents/workspaces/clara-soot/JastAddJ/Java1.4Frontend/java.ast:25
   */
  public class ArrayTypeAccess extends TypeAccess implements Cloneable {
    /**
     * @apilevel low-level
     */
    public void flushCache() {
      super.flushCache();
      getPackage_computed = false;
      getPackage_value = null;
      getID_computed = false;
      getID_value = null;
      decl_computed = false;
      decl_value = null;
    }
    /**
     * @apilevel internal
     */
    public void flushCollectionCache() {
      super.flushCollectionCache();
    }
    /**
     * @apilevel internal
     */
    @SuppressWarnings({"unchecked", "cast"})
    public ArrayTypeAccess clone() throws CloneNotSupportedException {
      ArrayTypeAccess node = (ArrayTypeAccess)super.clone();
      node.getPackage_computed = false;
      node.getPackage_value = null;
      node.getID_computed = false;
      node.getID_value = null;
      node.decl_computed = false;
      node.decl_value = null;
      node.in$Circle(false);
      node.is$Final(false);
      return node;
    }
    /**
     * @apilevel internal
     */
    @SuppressWarnings({"unchecked", "cast"})
    public ArrayTypeAccess copy() {
      try {
        ArrayTypeAccess node = (ArrayTypeAccess) clone();
        node.parent = null;
        if(children != null)
          node.children = (ASTNode[]) children.clone();
        return node;
      } catch (CloneNotSupportedException e) {
        throw new Error("Error: clone not supported for " +
          getClass().getName());
      }
    }
    /**
     * 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 ArrayTypeAccess fullCopy() {
      ArrayTypeAccess tree = (ArrayTypeAccess) 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;
    }
    /**
     * @ast method 
     * @aspect NameCheck
     * @declaredat /Users/eric/Documents/workspaces/clara-soot/JastAddJ/Java1.4Frontend/NameCheck.jrag:155
     */
    public void nameCheck() {
      if(decl().elementType().isUnknown())
        error("no type named " + decl().elementType().typeName());
    }
    /**
     * @ast method 
     * @aspect PrettyPrint
     * @declaredat /Users/eric/Documents/workspaces/clara-soot/JastAddJ/Java1.4Frontend/PrettyPrint.jadd:490
     */
    public void toString(StringBuffer s) {
      getAccess().toString(s);
      s.append("[]");
    }
    /**
     * @ast method 
     * @aspect Expressions
     * @declaredat /Users/eric/Documents/workspaces/clara-soot/JastAddExtensions/JimpleBackend/Expressions.jrag:660
     */
    public void addArraySize(Body b, ArrayList list) {
      getAccess().addArraySize(b, list);
    }
    /**
     * @ast method 
     * 
     */
    public ArrayTypeAccess() {
      super();
  
  
    }
    /**
     * Initializes the child array to the correct size.
     * Initializes List and Opt nta children.
     * @apilevel internal
     * @ast method
     * @ast method 
     * 
     */
    public void init$Children() {
      children = new ASTNode[1];
    }
    /**
     * @ast method 
     * 
     */
    public ArrayTypeAccess(Access p0) {
      setChild(p0, 0);
    }
    /**
     * @apilevel low-level
     * @ast method 
     * 
     */
    protected int numChildren() {
      return 1;
    }
    /**
     * @apilevel internal
     * @ast method 
     * 
     */
    public boolean mayHaveRewrite() {
      return false;
    }
    /**
     * Replaces the Access child.
     * @param node The new node to replace the Access child.
     * @apilevel high-level
     * @ast method 
     * 
     */
    public void setAccess(Access node) {
      setChild(node, 0);
    }
    /**
     * Retrieves the Access child.
     * @return The current node used as the Access child.
     * @apilevel high-level
     * @ast method 
     * 
     */
    public Access getAccess() {
      return (Access)getChild(0);
    }
    /**
     * Retrieves the Access child.
     * <p><em>This method does not invoke AST transformations.</em></p>
     * @return The current node used as the Access child.
     * @apilevel low-level
     * @ast method 
     * 
     */
    public Access getAccessNoTransform() {
      return (Access)getChildNoTransform(0);
    }
    /**
     * Replaces the lexeme Package.
     * @param value The new value for the lexeme Package.
     * @apilevel high-level
     * @ast method 
     * 
     */
    public void setPackage(String value) {
      tokenString_Package = value;
    }
    /**
     * @apilevel internal
     * @ast method 
     * 
     */
    
    /**
     * @apilevel internal
     */
    protected String tokenString_Package;
    /**
     * Replaces the lexeme ID.
     * @param value The new value for the lexeme ID.
     * @apilevel high-level
     * @ast method 
     * 
     */
    public void setID(String value) {
      tokenString_ID = value;
    }
    /**
     * @apilevel internal
     * @ast method 
     * 
     */
    
    /**
     * @apilevel internal
     */
    protected String tokenString_ID;
    /**
     * @apilevel internal
     */
    protected boolean getPackage_computed = false;
    /**
     * @apilevel internal
     */
    protected String getPackage_value;
    /**
     * @attribute syn nta
     * @aspect Arrays
     * @declaredat /Users/eric/Documents/workspaces/clara-soot/JastAddJ/Java1.4Frontend/Arrays.jrag:56
     */
    @SuppressWarnings({"unchecked", "cast"})
    public String getPackage() {
      if(getPackage_computed) {
        return getPackage_value;
      }
      ASTNode$State state = state();
    int num = state.boundariesCrossed;
    boolean isFinal = this.is$Final();
      getPackage_value = getPackage_compute();
        setPackage(getPackage_value);
        if(isFinal && num == state().boundariesCrossed) getPackage_computed = true;
      return getPackage_value;
    }
    /**
     * @apilevel internal
     */
    private String getPackage_compute() {  return getAccess().type().packageName();  }
    /**
     * @apilevel internal
     */
    protected boolean getID_computed = false;
    /**
     * @apilevel internal
     */
    protected String getID_value;
    /**
     * @attribute syn nta
     * @aspect Arrays
     * @declaredat /Users/eric/Documents/workspaces/clara-soot/JastAddJ/Java1.4Frontend/Arrays.jrag:57
     */
    @SuppressWarnings({"unchecked", "cast"})
    public String getID() {
      if(getID_computed) {
        return getID_value;
      }
      ASTNode$State state = state();
    int num = state.boundariesCrossed;
    boolean isFinal = this.is$Final();
      getID_value = getID_compute();
        setID(getID_value);
        if(isFinal && num == state().boundariesCrossed) getID_computed = true;
      return getID_value;
    }
    /**
     * @apilevel internal
     */
    private String getID_compute() {  return getAccess().type().name();  }
    /**
     * @attribute syn
     * @aspect DA
     * @declaredat /Users/eric/Documents/workspaces/clara-soot/JastAddJ/Java1.4Frontend/DefiniteAssignment.jrag:235
     */
    public boolean isDAafter(Variable v) {
      ASTNode$State state = state();
      try {  return getAccess().isDAafter(v);  }
      finally {
      }
    }
    /**
     * @attribute syn
     * @aspect DU
     * @declaredat /Users/eric/Documents/workspaces/clara-soot/JastAddJ/Java1.4Frontend/DefiniteAssignment.jrag:694
     */
    public boolean isDUafter(Variable v) {
      ASTNode$State state = state();
      try {  return getAccess().isDUafter(v);  }
      finally {
      }
    }
    /**
     * @apilevel internal
     */
    protected boolean decl_computed = false;
    /**
     * @apilevel internal
     */
    protected TypeDecl decl_value;
    /**
     * @attribute syn
     * @aspect TypeScopePropagation
     * @declaredat /Users/eric/Documents/workspaces/clara-soot/JastAddJ/Java1.4Frontend/LookupType.jrag:246
     */
    @SuppressWarnings({"unchecked", "cast"})
    public TypeDecl decl() {
      if(decl_computed) {
        return decl_value;
      }
      ASTNode$State state = state();
    int num = state.boundariesCrossed;
    boolean isFinal = this.is$Final();
  