📄 bodydecl.java
字号:
private boolean isVoid_compute() { return false; } protected java.util.Map isDAbefore_Variable_visited; protected java.util.Map isDAbefore_Variable_values; // Declared in DefiniteAssignment.jrag at line 244 @SuppressWarnings({"unchecked", "cast"}) public boolean isDAbefore(Variable v) { Object _parameters = v;if(isDAbefore_Variable_visited == null) isDAbefore_Variable_visited = new java.util.HashMap(4);if(isDAbefore_Variable_values == null) isDAbefore_Variable_values = new java.util.HashMap(4); if(isDAbefore_Variable_values.containsKey(_parameters)) return ((Boolean)isDAbefore_Variable_values.get(_parameters)).booleanValue(); if(new Integer(boundariesCrossed).equals(isDAbefore_Variable_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: isDAbefore in class: "); isDAbefore_Variable_visited.put(_parameters, new Integer(boundariesCrossed)); int num = boundariesCrossed; boolean isFinal = this.is$Final(); if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); boolean isDAbefore_Variable_value = getParent().Define_boolean_isDAbefore(this, null, v); if(isFinal && num == boundariesCrossed) isDAbefore_Variable_values.put(_parameters, Boolean.valueOf(isDAbefore_Variable_value)); isDAbefore_Variable_visited.remove(_parameters); return isDAbefore_Variable_value; } protected java.util.Map isDUbefore_Variable_visited; protected java.util.Map isDUbefore_Variable_values; // Declared in DefiniteAssignment.jrag at line 708 @SuppressWarnings({"unchecked", "cast"}) public boolean isDUbefore(Variable v) { Object _parameters = v;if(isDUbefore_Variable_visited == null) isDUbefore_Variable_visited = new java.util.HashMap(4);if(isDUbefore_Variable_values == null) isDUbefore_Variable_values = new java.util.HashMap(4); if(isDUbefore_Variable_values.containsKey(_parameters)) return ((Boolean)isDUbefore_Variable_values.get(_parameters)).booleanValue(); if(new Integer(boundariesCrossed).equals(isDUbefore_Variable_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: isDUbefore in class: "); isDUbefore_Variable_visited.put(_parameters, new Integer(boundariesCrossed)); int num = boundariesCrossed; boolean isFinal = this.is$Final(); if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); boolean isDUbefore_Variable_value = getParent().Define_boolean_isDUbefore(this, null, v); if(isFinal && num == boundariesCrossed) isDUbefore_Variable_values.put(_parameters, Boolean.valueOf(isDUbefore_Variable_value)); isDUbefore_Variable_visited.remove(_parameters); return isDUbefore_Variable_value; } protected int typeThrowable_visited = -1; protected boolean typeThrowable_computed = false; protected TypeDecl typeThrowable_value; // Declared in ExceptionHandling.jrag at line 22 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl typeThrowable() { if(typeThrowable_computed) return typeThrowable_value; if(typeThrowable_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: typeThrowable in class: "); typeThrowable_visited = boundariesCrossed; int num = boundariesCrossed; boolean isFinal = this.is$Final(); if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); typeThrowable_value = getParent().Define_TypeDecl_typeThrowable(this, null); if(isFinal && num == boundariesCrossed) typeThrowable_computed = true; typeThrowable_visited = -1; return typeThrowable_value; } protected java.util.Map lookupMethod_String_visited; // Declared in LookupMethod.jrag at line 25 @SuppressWarnings({"unchecked", "cast"}) public Collection lookupMethod(String name) { Object _parameters = name;if(lookupMethod_String_visited == null) lookupMethod_String_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(lookupMethod_String_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: lookupMethod in class: "); lookupMethod_String_visited.put(_parameters, new Integer(boundariesCrossed)); if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); Collection lookupMethod_String_value = getParent().Define_Collection_lookupMethod(this, null, name); lookupMethod_String_visited.remove(_parameters); return lookupMethod_String_value; } protected java.util.Map lookupType_String_String_visited; // Declared in LookupType.jrag at line 97 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl lookupType(String packageName, String typeName) { java.util.List _parameters = new java.util.ArrayList(2); _parameters.add(packageName); _parameters.add(typeName);if(lookupType_String_String_visited == null) lookupType_String_String_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(lookupType_String_String_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: lookupType in class: "); lookupType_String_String_visited.put(_parameters, new Integer(boundariesCrossed)); if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); TypeDecl lookupType_String_String_value = getParent().Define_TypeDecl_lookupType(this, null, packageName, typeName); lookupType_String_String_visited.remove(_parameters); return lookupType_String_String_value; } protected java.util.Map lookupType_String_visited; // Declared in LookupType.jrag at line 173 @SuppressWarnings({"unchecked", "cast"}) public SimpleSet lookupType(String name) { Object _parameters = name;if(lookupType_String_visited == null) lookupType_String_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(lookupType_String_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: lookupType in class: "); lookupType_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 lookupType_String_value = getParent().Define_SimpleSet_lookupType(this, null, name); lookupType_String_visited.remove(_parameters); return lookupType_String_value; } protected java.util.Map lookupVariable_String_visited; protected java.util.Map lookupVariable_String_values; // Declared in LookupVariable.jrag at line 15 @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(lookupVariable_String_values == null) lookupVariable_String_values = new java.util.HashMap(4); if(lookupVariable_String_values.containsKey(_parameters)) return (SimpleSet)lookupVariable_String_values.get(_parameters); 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)); int num = boundariesCrossed; boolean isFinal = this.is$Final(); 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); if(isFinal && num == boundariesCrossed) lookupVariable_String_values.put(_parameters, lookupVariable_String_value); lookupVariable_String_visited.remove(_parameters); return lookupVariable_String_value; } protected int nameType_visited = -1; // Declared in SyntacticClassification.jrag at line 21 @SuppressWarnings({"unchecked", "cast"}) public NameType nameType() { if(nameType_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: nameType in class: "); nameType_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); NameType nameType_value = getParent().Define_NameType_nameType(this, null); nameType_visited = -1; return nameType_value; } protected int hostPackage_visited = -1; // Declared in TypeAnalysis.jrag at line 568 @SuppressWarnings({"unchecked", "cast"}) public String hostPackage() { if(hostPackage_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: hostPackage in class: "); hostPackage_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); String hostPackage_value = getParent().Define_String_hostPackage(this, null); hostPackage_visited = -1; return hostPackage_value; } protected int hostType_visited = -1; // Declared in TypeAnalysis.jrag at line 583 @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; } // Declared in TypeAnalysis.jrag at line 516 public BodyDecl Define_BodyDecl_enclosingBodyDecl(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return this; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_BodyDecl_enclosingBodyDecl(this, caller); }public ASTNode rewriteTo() { return super.rewriteTo();}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -