⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 parameterdeclaration.java

📁 JDK1.4编译器前端
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
        return isEmpty_value;    }    private boolean isEmpty_compute() {  return false;  }    protected java.util.Map contains_Object_visited;    // Declared in DataStructures.jrag at line 104 @SuppressWarnings({"unchecked", "cast"})     public boolean contains(Object o) {        Object _parameters = o;if(contains_Object_visited == null) contains_Object_visited = new java.util.HashMap(4);        if(new Integer(boundariesCrossed).equals(contains_Object_visited.get(_parameters)))            throw new RuntimeException("Circular definition of attr: contains in class: ");        contains_Object_visited.put(_parameters, new Integer(boundariesCrossed));        boolean contains_Object_value = contains_compute(o);        contains_Object_visited.remove(_parameters);        return contains_Object_value;    }    private boolean contains_compute(Object o) {  return this == o;  }    protected int isSynthetic_visited = -1;    // Declared in Modifiers.jrag at line 218 @SuppressWarnings({"unchecked", "cast"})     public boolean isSynthetic() {        if(isSynthetic_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: isSynthetic in class: ");        isSynthetic_visited = boundariesCrossed;        boolean isSynthetic_value = isSynthetic_compute();        isSynthetic_visited = -1;        return isSynthetic_value;    }    private boolean isSynthetic_compute() {  return getModifiers().isSynthetic();  }    protected int dumpString_visited = -1;    // Declared in PrettyPrint.jadd at line 792 @SuppressWarnings({"unchecked", "cast"})     public String dumpString() {        if(dumpString_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: dumpString in class: ");        dumpString_visited = boundariesCrossed;        String dumpString_value = dumpString_compute();        dumpString_visited = -1;        return dumpString_value;    }    private String dumpString_compute() {  return getClass().getName() + " [" + getID() + "]";  }    protected int type_visited = -1;    protected boolean type_computed = false;    protected TypeDecl type_value;    // Declared in TypeAnalysis.jrag at line 254 @SuppressWarnings({"unchecked", "cast"})     public TypeDecl type() {        if(type_computed)            return type_value;        if(type_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: type in class: ");        type_visited = boundariesCrossed;        int num = boundariesCrossed;        boolean isFinal = this.is$Final();        type_value = type_compute();        if(isFinal && num == boundariesCrossed)            type_computed = true;        type_visited = -1;        return type_value;    }    private TypeDecl type_compute() {  return getTypeAccess().type();  }    protected int isClassVariable_visited = -1;    // Declared in VariableDeclaration.jrag at line 69 @SuppressWarnings({"unchecked", "cast"})     public boolean isClassVariable() {        if(isClassVariable_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: isClassVariable in class: ");        isClassVariable_visited = boundariesCrossed;        boolean isClassVariable_value = isClassVariable_compute();        isClassVariable_visited = -1;        return isClassVariable_value;    }    private boolean isClassVariable_compute() {  return false;  }    protected int isInstanceVariable_visited = -1;    // Declared in VariableDeclaration.jrag at line 70 @SuppressWarnings({"unchecked", "cast"})     public boolean isInstanceVariable() {        if(isInstanceVariable_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: isInstanceVariable in class: ");        isInstanceVariable_visited = boundariesCrossed;        boolean isInstanceVariable_value = isInstanceVariable_compute();        isInstanceVariable_visited = -1;        return isInstanceVariable_value;    }    private boolean isInstanceVariable_compute() {  return false;  }    protected int isLocalVariable_visited = -1;    // Declared in VariableDeclaration.jrag at line 74 @SuppressWarnings({"unchecked", "cast"})     public boolean isLocalVariable() {        if(isLocalVariable_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: isLocalVariable in class: ");        isLocalVariable_visited = boundariesCrossed;        boolean isLocalVariable_value = isLocalVariable_compute();        isLocalVariable_visited = -1;        return isLocalVariable_value;    }    private boolean isLocalVariable_compute() {  return false;  }    protected int isFinal_visited = -1;    // Declared in VariableDeclaration.jrag at line 88 @SuppressWarnings({"unchecked", "cast"})     public boolean isFinal() {        if(isFinal_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: isFinal in class: ");        isFinal_visited = boundariesCrossed;        boolean isFinal_value = isFinal_compute();        isFinal_visited = -1;        return isFinal_value;    }    private boolean isFinal_compute() {  return getModifiers().isFinal();  }    protected int isBlank_visited = -1;    // Declared in VariableDeclaration.jrag at line 89 @SuppressWarnings({"unchecked", "cast"})     public boolean isBlank() {        if(isBlank_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: isBlank in class: ");        isBlank_visited = boundariesCrossed;        boolean isBlank_value = isBlank_compute();        isBlank_visited = -1;        return isBlank_value;    }    private boolean isBlank_compute() {  return true;  }    protected int isStatic_visited = -1;    // Declared in VariableDeclaration.jrag at line 90 @SuppressWarnings({"unchecked", "cast"})     public boolean isStatic() {        if(isStatic_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: isStatic in class: ");        isStatic_visited = boundariesCrossed;        boolean isStatic_value = isStatic_compute();        isStatic_visited = -1;        return isStatic_value;    }    private boolean isStatic_compute() {  return false;  }    protected int name_visited = -1;    // Declared in VariableDeclaration.jrag at line 92 @SuppressWarnings({"unchecked", "cast"})     public String name() {        if(name_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: name in class: ");        name_visited = boundariesCrossed;        String name_value = name_compute();        name_visited = -1;        return name_value;    }    private String name_compute() {  return getID();  }    protected int hasInit_visited = -1;    // Declared in VariableDeclaration.jrag at line 94 @SuppressWarnings({"unchecked", "cast"})     public boolean hasInit() {        if(hasInit_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: hasInit in class: ");        hasInit_visited = boundariesCrossed;        boolean hasInit_value = hasInit_compute();        hasInit_visited = -1;        return hasInit_value;    }    private boolean hasInit_compute() {  return false;  }    protected int getInit_visited = -1;    // Declared in VariableDeclaration.jrag at line 95 @SuppressWarnings({"unchecked", "cast"})     public Expr getInit() {        if(getInit_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: getInit in class: ");        getInit_visited = boundariesCrossed;        Expr getInit_value = getInit_compute();        getInit_visited = -1;        return getInit_value;    }    private Expr getInit_compute() { throw new UnsupportedOperationException(); }    protected int constant_visited = -1;    // Declared in VariableDeclaration.jrag at line 96 @SuppressWarnings({"unchecked", "cast"})     public Constant constant() {        if(constant_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: constant in class: ");        constant_visited = boundariesCrossed;        Constant constant_value = constant_compute();        constant_visited = -1;        return constant_value;    }    private Constant constant_compute() { throw new UnsupportedOperationException(); }    protected java.util.Map lookupVariable_String_visited;    // Declared in LookupVariable.jrag at line 22 @SuppressWarnings({"unchecked", "cast"})     public SimpleSet lookupVariable(String name) {        Object _parameters = name;if(lookupVariable_String_visited == null) lookupVariable_String_visited = new java.util.HashMap(4);        if(new Integer(boundariesCrossed).equals(lookupVariable_String_visited.get(_parameters)))            throw new RuntimeException("Circular definition of attr: lookupVariable in class: ");        lookupVariable_String_visited.put(_parameters, new Integer(boundariesCrossed));        if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree");        SimpleSet lookupVariable_String_value = getParent().Define_SimpleSet_lookupVariable(this, null, name);        lookupVariable_String_visited.remove(_parameters);        return lookupVariable_String_value;    }    protected int outerScope_visited = -1;    // Declared in NameCheck.jrag at line 288 @SuppressWarnings({"unchecked", "cast"})     public VariableScope outerScope() {        if(outerScope_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: outerScope in class: ");        outerScope_visited = boundariesCrossed;        if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree");        VariableScope outerScope_value = getParent().Define_VariableScope_outerScope(this, null);        outerScope_visited = -1;        return outerScope_value;    }    protected int enclosingBodyDecl_visited = -1;    // Declared in NameCheck.jrag at line 349 @SuppressWarnings({"unchecked", "cast"})     public BodyDecl enclosingBodyDecl() {        if(enclosingBodyDecl_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: enclosingBodyDecl in class: ");        enclosingBodyDecl_visited = boundariesCrossed;        if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree");        BodyDecl enclosingBodyDecl_value = getParent().Define_BodyDecl_enclosingBodyDecl(this, null);        enclosingBodyDecl_visited = -1;        return enclosingBodyDecl_value;    }    protected int hostType_visited = -1;    // Declared in TypeAnalysis.jrag at line 587 @SuppressWarnings({"unchecked", "cast"})     public TypeDecl hostType() {        if(hostType_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: hostType in class: ");        hostType_visited = boundariesCrossed;        if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree");        TypeDecl hostType_value = getParent().Define_TypeDecl_hostType(this, null);        hostType_visited = -1;        return hostType_value;    }    protected int isMethodParameter_visited = -1;    // Declared in VariableDeclaration.jrag at line 71 @SuppressWarnings({"unchecked", "cast"})     public boolean isMethodParameter() {        if(isMethodParameter_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: isMethodParameter in class: ");        isMethodParameter_visited = boundariesCrossed;        if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree");        boolean isMethodParameter_value = getParent().Define_boolean_isMethodParameter(this, null);        isMethodParameter_visited = -1;        return isMethodParameter_value;    }    protected int isConstructorParameter_visited = -1;    // Declared in VariableDeclaration.jrag at line 72 @SuppressWarnings({"unchecked", "cast"})     public boolean isConstructorParameter() {        if(isConstructorParameter_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: isConstructorParameter in class: ");        isConstructorParameter_visited = boundariesCrossed;        if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree");        boolean isConstructorParameter_value = getParent().Define_boolean_isConstructorParameter(this, null);        isConstructorParameter_visited = -1;        return isConstructorParameter_value;    }    protected int isExceptionHandlerParameter_visited = -1;    // Declared in VariableDeclaration.jrag at line 73 @SuppressWarnings({"unchecked", "cast"})     public boolean isExceptionHandlerParameter() {        if(isExceptionHandlerParameter_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: isExceptionHandlerParameter in class: ");        isExceptionHandlerParameter_visited = boundariesCrossed;        if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree");        boolean isExceptionHandlerParameter_value = getParent().Define_boolean_isExceptionHandlerParameter(this, null);        isExceptionHandlerParameter_visited = -1;        return isExceptionHandlerParameter_value;    }    // Declared in Modifiers.jrag at line 286    public boolean Define_boolean_mayBeFinal(ASTNode caller, ASTNode child) {        if(caller == getModifiersNoTransform()) {            return true;        }        if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree");        return getParent().Define_boolean_mayBeFinal(this, caller);    }public ASTNode rewriteTo() {    return super.rewriteTo();}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -