📄 program.java
字号:
} if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_boolean_handlesException(this, caller, exceptionType); } // Declared in ExceptionHandling.jrag at line 19 public TypeDecl Define_TypeDecl_typeNullPointerException(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return lookupType("java.lang", "NullPointerException"); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_typeNullPointerException(this, caller); } // Declared in LookupConstructor.jrag at line 15 public Collection Define_Collection_lookupConstructor(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return Collections.EMPTY_LIST; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_Collection_lookupConstructor(this, caller); } // Declared in Modifiers.jrag at line 292 public boolean Define_boolean_mayBeFinal(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return false; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_boolean_mayBeFinal(this, caller); } // Declared in ExceptionHandling.jrag at line 21 public TypeDecl Define_TypeDecl_typeThrowable(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return lookupType("java.lang", "Throwable"); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_typeThrowable(this, caller); } // Declared in NameCheck.jrag at line 363 public boolean Define_boolean_insideLoop(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return false; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_boolean_insideLoop(this, caller); } // Declared in BranchTarget.jrag at line 173 public LabeledStmt Define_LabeledStmt_lookupLabel(ASTNode caller, ASTNode child, String name) { if(true) { int childIndex = this.getIndexOfChild(caller); return null; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_LabeledStmt_lookupLabel(this, caller, name); } // Declared in Modifiers.jrag at line 288 public boolean Define_boolean_mayBePublic(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return false; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_boolean_mayBePublic(this, caller); } // Declared in LookupConstructor.jrag at line 24 public Collection Define_Collection_lookupSuperConstructor(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return Collections.EMPTY_LIST; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_Collection_lookupSuperConstructor(this, caller); } // Declared in LookupType.jrag at line 36 public TypeDecl Define_TypeDecl_typeLong(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return typeLong(); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_typeLong(this, caller); } // Declared in ExceptionHandling.jrag at line 15 public TypeDecl Define_TypeDecl_typeRuntimeException(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return lookupType("java.lang", "RuntimeException"); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_typeRuntimeException(this, caller); } // Declared in ExceptionHandling.jrag at line 17 public TypeDecl Define_TypeDecl_typeError(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return lookupType("java.lang", "Error"); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_typeError(this, caller); } // Declared in Modifiers.jrag at line 289 public boolean Define_boolean_mayBeProtected(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return false; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_boolean_mayBeProtected(this, caller); } // Declared in Modifiers.jrag at line 295 public boolean Define_boolean_mayBeTransient(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return false; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_boolean_mayBeTransient(this, caller); } // Declared in TypeAnalysis.jrag at line 533 public boolean Define_boolean_isMemberType(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return false; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_boolean_isMemberType(this, caller); } // Declared in Modifiers.jrag at line 298 public boolean Define_boolean_mayBeNative(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return false; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_boolean_mayBeNative(this, caller); } // Declared in TypeAnalysis.jrag at line 238 public MethodDecl Define_MethodDecl_unknownMethod(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller);{ for(Iterator iter = unknownType().memberMethods("unknown").iterator(); iter.hasNext(); ) { MethodDecl m = (MethodDecl)iter.next(); return m; } throw new Error("Could not find method unknown in type Unknown"); }} if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_MethodDecl_unknownMethod(this, caller); } // Declared in LookupType.jrag at line 31 public TypeDecl Define_TypeDecl_typeBoolean(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return typeBoolean(); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_typeBoolean(this, caller); } // Declared in Arrays.jrag at line 19 public TypeDecl Define_TypeDecl_componentType(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return unknownType(); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_componentType(this, caller); } // Declared in SyntacticClassification.jrag at line 64 public NameType Define_NameType_nameType(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return NameType.NO_NAME; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_NameType_nameType(this, caller); } // Declared in LookupType.jrag at line 44 public TypeDecl Define_TypeDecl_typeNull(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return typeNull(); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_typeNull(this, caller); } // Declared in TypeHierarchyCheck.jrag at line 137 public boolean Define_boolean_inStaticContext(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return false; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_boolean_inStaticContext(this, caller); } // Declared in DefiniteAssignment.jrag at line 711 public boolean Define_boolean_isDUbefore(ASTNode caller, ASTNode child, Variable v) { if(true) { int childIndex = this.getIndexOfChild(caller); return true; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_boolean_isDUbefore(this, caller, v); } // Declared in LookupType.jrag at line 39 public TypeDecl Define_TypeDecl_typeString(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return typeString(); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_typeString(this, caller); } // Declared in TypeAnalysis.jrag at line 234 public Variable Define_Variable_unknownField(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return unknownType().findSingleVariable("unknown"); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_Variable_unknownField(this, caller); } // Declared in LookupType.jrag at line 35 public TypeDecl Define_TypeDecl_typeInt(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return typeInt(); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_typeInt(this, caller); } // Declared in Modifiers.jrag at line 296 public boolean Define_boolean_mayBeStrictfp(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return false; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_boolean_mayBeStrictfp(this, caller); } // Declared in TypeCheck.jrag at line 360 public TypeDecl Define_TypeDecl_switchType(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return unknownType(); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_switchType(this, caller); } // Declared in LookupType.jrag at line 18 public TypeDecl Define_TypeDecl_typeObject(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return typeObject(); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_typeObject(this, caller); } // Declared in DefiniteAssignment.jrag at line 326 public boolean Define_boolean_isDAbefore(ASTNode caller, ASTNode child, Variable v) { if(true) { int childIndex = this.getIndexOfChild(caller); return true; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_boolean_isDAbefore(this, caller, v); } // Declared in NameCheck.jrag at line 370 public boolean Define_boolean_insideSwitch(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return false; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_boolean_insideSwitch(this, caller); } // Declared in TypeHierarchyCheck.jrag at line 128 public boolean Define_boolean_inExplicitConstructorInvocation(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return false; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_boolean_inExplicitConstructorInvocation(this, caller); } // Declared in LookupType.jrag at line 32 public TypeDecl Define_TypeDecl_typeByte(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return typeByte(); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_typeByte(this, caller); } // Declared in LookupType.jrag at line 33 public TypeDecl Define_TypeDecl_typeShort(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return typeShort(); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_typeShort(this, caller); } // Declared in LookupType.jrag at line 19 public TypeDecl Define_TypeDecl_typeCloneable(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return typeCloneable(); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_typeCloneable(this, caller); } // Declared in TypeCheck.jrag at line 406 public TypeDecl Define_TypeDecl_returnType(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return typeVoid(); } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_returnType(this, caller); } // Declared in AnonymousClasses.jrag at line 16 public TypeDecl Define_TypeDecl_superType(ASTNode caller, ASTNode child) { if(true) { int childIndex = this.getIndexOfChild(caller); return null; } if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); return getParent().Define_TypeDecl_superType(this, caller); } // Declared in TypeHierarchyCheck.jrag at line 14 public String Def
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -