📄 stmt.java
字号:
private boolean continueLabel_compute() { return false; } protected int canCompleteNormally_visited = -1; protected boolean canCompleteNormally_computed = false; protected boolean canCompleteNormally_value; // Declared in UnreachableStatements.jrag at line 29 @SuppressWarnings({"unchecked", "cast"}) public boolean canCompleteNormally() { if(canCompleteNormally_computed) return canCompleteNormally_value; if(canCompleteNormally_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: canCompleteNormally in class: "); canCompleteNormally_visited = boundariesCrossed; int num = boundariesCrossed; boolean isFinal = this.is$Final(); canCompleteNormally_value = canCompleteNormally_compute(); if(isFinal && num == boundariesCrossed) canCompleteNormally_computed = true; canCompleteNormally_visited = -1; return canCompleteNormally_value; } private boolean canCompleteNormally_compute() { return true; } protected java.util.Map isDAbefore_Variable_visited; // Declared in DefiniteAssignment.jrag at line 234 @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(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)); 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); isDAbefore_Variable_visited.remove(_parameters); return isDAbefore_Variable_value; } protected java.util.Map isDUbefore_Variable_visited; // Declared in DefiniteAssignment.jrag at line 692 @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(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)); 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); isDUbefore_Variable_visited.remove(_parameters); return isDUbefore_Variable_value; } protected java.util.Map lookupMethod_String_visited; // Declared in LookupMethod.jrag at line 24 @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 96 @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 174 @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; // Declared in LookupVariable.jrag at line 16 @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 enclosingBodyDecl_visited = -1; // Declared in TypeAnalysis.jrag at line 513 @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 585 @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 reachable_visited = -1; // Declared in UnreachableStatements.jrag at line 27 @SuppressWarnings({"unchecked", "cast"}) public boolean reachable() { if(reachable_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: reachable in class: "); reachable_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); boolean reachable_value = getParent().Define_boolean_reachable(this, null); reachable_visited = -1; return reachable_value; } protected int reportUnreachable_visited = -1; // Declared in UnreachableStatements.jrag at line 145 @SuppressWarnings({"unchecked", "cast"}) public boolean reportUnreachable() { if(reportUnreachable_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: reportUnreachable in class: "); reportUnreachable_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); boolean reportUnreachable_value = getParent().Define_boolean_reportUnreachable(this, null); reportUnreachable_visited = -1; return reportUnreachable_value; }public ASTNode rewriteTo() { return super.rewriteTo();}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -