children, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, in$Circle, is$Final, numChildren, parent, PRIMITIVE_PACKAGE_NAME, state| Constructor and Description |
|---|
Program() |
Program(List<CompilationUnit> p0) |
accessControl, addAttributes, addChild, addsIndentationLevel, asImmediate, asLocal, asLocal, asRValue, beginExceptionRange, branchTarget, checkDUeverywhere, checkEnum, checkUncheckedConversion, checkWarnings, clearLocations, cloneSubtree, collectBranches, collectEnclosingVariables, collectErrors, collectExceptions, collectFinally, collectTypesToHierarchy, collectTypesToSignatures, compilationUnit, Define_boolean_inhModifiedInScope, Define_boolean_isLocalClass, Define_boolean_isNestedType, Define_boolean_reachable, Define_boolean_reachableCatchClause, Define_Collection_TypeDecl__caughtExceptions, Define_CompilationUnit_compilationUnit, Define_SimpleSet_allImportedTypes, Define_String_hostPackage, Define_String_packageName, Define_TypeDecl_enclosingType, definesLabel, definiteAssignment, dumpString, dumpTree, dumpTreeNoRewrite, dumpTreeNoRewrite, duringAnnotations, duringAnonymousClasses, duringBoundNames, duringDU, duringEnums, duringGenericTypeVariables, duringImplicitConstructor, duringLiterals, duringNameResolution, duringSyntacticClassification, duringVariableDeclarationTransformation, emitConstant, end, endExceptionRange, error, errorPrefix, exceptionHandling, extractIndent, extractSingleType, flushCaches, getChild, getChildNoTransform, getIndexOfChild, getNumChild, getNumChildNoTransform, getParent, in$Circle, in$Circle, indent, insertChild, is$Final, is$Final, isDescendantTo, isStringAdd, iterator, jimplify1phase1, jimplify1phase2, jimplify2, lineNumber, location, nameCheck, newLabel, options, putSimpleSetElement, reachedException, removeChild, removeInstanceMethods, removeInstanceVariables, replace, setChild, setEnd, setLocation, setParent, setStart, sourceFile, start, state, toString, transformation, transformEnumConstructors, typeCheck, unassignedEverywhere, usesTypeVariable, varChildIndex, varChildIndex, warning, warningPrefix, withgetColumn, getEnd, getId, getLine, getStart, makePositionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorprotected BytecodeReader bytecodeReader
protected JavaParser javaParser
public int classFileReadTime
public static final int SRC_PREC_JAVA
public static final int SRC_PREC_CLASS
public static final int SRC_PREC_ONLY_CLASS
protected boolean typeObject_computed
protected TypeDecl typeObject_value
protected boolean typeCloneable_computed
protected TypeDecl typeCloneable_value
protected boolean typeSerializable_computed
protected TypeDecl typeSerializable_value
protected boolean typeBoolean_computed
protected TypeDecl typeBoolean_value
protected boolean typeByte_computed
protected TypeDecl typeByte_value
protected boolean typeShort_computed
protected TypeDecl typeShort_value
protected boolean typeChar_computed
protected TypeDecl typeChar_value
protected boolean typeInt_computed
protected TypeDecl typeInt_value
protected boolean typeLong_computed
protected TypeDecl typeLong_value
protected boolean typeFloat_computed
protected TypeDecl typeFloat_value
protected boolean typeDouble_computed
protected TypeDecl typeDouble_value
protected boolean typeString_computed
protected TypeDecl typeString_value
protected boolean typeVoid_computed
protected TypeDecl typeVoid_value
protected boolean typeNull_computed
protected TypeDecl typeNull_value
protected boolean unknownType_computed
protected TypeDecl unknownType_value
protected Map hasPackage_String_values
protected Map lookupType_String_String_values
protected Map lookupLibType_String_String_values
protected Map getLibCompilationUnit_String_values
protected List getLibCompilationUnit_String_list
protected boolean getPrimitiveCompilationUnit_computed
protected PrimitiveCompilationUnit getPrimitiveCompilationUnit_value
protected boolean unknownConstructor_computed
protected ConstructorDecl unknownConstructor_value
protected boolean wildcards_computed
protected WildcardsCompilationUnit wildcards_value
public Program()
public Program(List<CompilationUnit> p0)
public void flushCache()
flushCache in class ASTNode<ASTNode>public void flushCollectionCache()
flushCollectionCache in class ASTNode<ASTNode>public Program clone() throws CloneNotSupportedException
clone in class ASTNode<ASTNode>CloneNotSupportedExceptionpublic Program fullCopy()
public void initBytecodeReader(BytecodeReader r)
public void initJavaParser(JavaParser p)
public CompilationUnit addSourceFile(String name)
null if no such file existspublic Iterator compilationUnitIterator()
public InputStream getInputStream(String name)
public boolean isPackage(String name)
true if there is a package with the given name on
the pathpublic void pushClassPath(String name)
public void popClassPath()
public void initPaths()
public void addClassPath(PathPart pathPart)
public void addSourcePath(PathPart pathPart)
public void simpleReset()
public void errorCheck(Collection collection)
public void errorCheck(Collection collection, Collection warn)
public boolean errorCheck()
public void toString(StringBuffer s)
public void jimplify1()
public void setSrcPrec(int i)
public boolean hasLoadedCompilationUnit(String fileName)
public CompilationUnit getCachedOrLoadCompilationUnit(String fileName)
public void releaseCompilationUnitForFile(String fileName)
public void init$Children()
init$Children in class ASTNode<ASTNode>protected int numChildren()
numChildren in class ASTNode<ASTNode>public boolean mayHaveRewrite()
mayHaveRewrite in class ASTNode<ASTNode>public void setCompilationUnitList(List<CompilationUnit> list)
list - The new list node to be used as the CompilationUnit list.public int getNumCompilationUnit()
public int getNumCompilationUnitNoTransform()
public CompilationUnit getCompilationUnit(int i)
i in the CompilationUnit list..i - Index of the element to return.i in the CompilationUnit list.public void refined__Program_addCompilationUnit(CompilationUnit node)
node - The element to append to the CompilationUnit list.public void addCompilationUnitNoTransform(CompilationUnit node)
public void setCompilationUnit(CompilationUnit node, int i)
i with the new node node.node - The new node to replace the old list element.i - The list index of the node to be replaced.public List<CompilationUnit> getCompilationUnits()
public List<CompilationUnit> getCompilationUnitsNoTransform()
This method does not invoke AST transformations.
public List<CompilationUnit> refined__Program_getCompilationUnitList()
public List<CompilationUnit> getCompilationUnitListNoTransform()
This method does not invoke AST transformations.
public CompilationUnit getCompilationUnit(String name)
public List getCompilationUnitList()
public TypeDecl typeObject()
public TypeDecl typeCloneable()
public TypeDecl typeSerializable()
public TypeDecl typeBoolean()
public TypeDecl typeByte()
public TypeDecl typeShort()
public TypeDecl typeChar()
public TypeDecl typeInt()
public TypeDecl typeLong()
public TypeDecl typeFloat()
public TypeDecl typeDouble()
public TypeDecl typeString()
public TypeDecl typeVoid()
public TypeDecl typeNull()
public TypeDecl unknownType()
public boolean hasPackage(String packageName)
public TypeDecl lookupType(String packageName, String typeName)
public TypeDecl lookupLibType(String packageName, String typeName)
public CompilationUnit getLibCompilationUnit(String fullName)
public PrimitiveCompilationUnit getPrimitiveCompilationUnit()
public ConstructorDecl unknownConstructor()
public WildcardsCompilationUnit wildcards()
public TypeDecl Define_TypeDecl_superType(ASTNode caller, ASTNode child)
Define_TypeDecl_superType in class ASTNode<ASTNode>public ConstructorDecl Define_ConstructorDecl_constructorDecl(ASTNode caller, ASTNode child)
Define_ConstructorDecl_constructorDecl in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_componentType(ASTNode caller, ASTNode child)
Define_TypeDecl_componentType in class ASTNode<ASTNode>public LabeledStmt Define_LabeledStmt_lookupLabel(ASTNode caller, ASTNode child, String name)
Define_LabeledStmt_lookupLabel in class ASTNode<ASTNode>public boolean Define_boolean_isDest(ASTNode caller, ASTNode child)
Define_boolean_isDest in class ASTNode<ASTNode>public boolean Define_boolean_isSource(ASTNode caller, ASTNode child)
Define_boolean_isSource in class ASTNode<ASTNode>public boolean Define_boolean_isIncOrDec(ASTNode caller, ASTNode child)
Define_boolean_isIncOrDec in class ASTNode<ASTNode>public boolean Define_boolean_isDAbefore(ASTNode caller, ASTNode child, Variable v)
Define_boolean_isDAbefore in class ASTNode<ASTNode>public boolean Define_boolean_isDUbefore(ASTNode caller, ASTNode child, Variable v)
Define_boolean_isDUbefore in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeException(ASTNode caller, ASTNode child)
Define_TypeDecl_typeException in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeRuntimeException(ASTNode caller, ASTNode child)
Define_TypeDecl_typeRuntimeException in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeError(ASTNode caller, ASTNode child)
Define_TypeDecl_typeError in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeNullPointerException(ASTNode caller, ASTNode child)
Define_TypeDecl_typeNullPointerException in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeThrowable(ASTNode caller, ASTNode child)
Define_TypeDecl_typeThrowable in class ASTNode<ASTNode>public boolean Define_boolean_handlesException(ASTNode caller, ASTNode child, TypeDecl exceptionType)
Define_boolean_handlesException in class ASTNode<ASTNode>public Collection Define_Collection_lookupConstructor(ASTNode caller, ASTNode child)
Define_Collection_lookupConstructor in class ASTNode<ASTNode>public Collection Define_Collection_lookupSuperConstructor(ASTNode caller, ASTNode child)
Define_Collection_lookupSuperConstructor in class ASTNode<ASTNode>public Expr Define_Expr_nestedScope(ASTNode caller, ASTNode child)
Define_Expr_nestedScope in class ASTNode<ASTNode>public Collection Define_Collection_lookupMethod(ASTNode caller, ASTNode child, String name)
Define_Collection_lookupMethod in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeObject(ASTNode caller, ASTNode child)
Define_TypeDecl_typeObject in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeCloneable(ASTNode caller, ASTNode child)
Define_TypeDecl_typeCloneable in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeSerializable(ASTNode caller, ASTNode child)
Define_TypeDecl_typeSerializable in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeBoolean(ASTNode caller, ASTNode child)
Define_TypeDecl_typeBoolean in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeByte(ASTNode caller, ASTNode child)
Define_TypeDecl_typeByte in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeShort(ASTNode caller, ASTNode child)
Define_TypeDecl_typeShort in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeChar(ASTNode caller, ASTNode child)
Define_TypeDecl_typeChar in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeInt(ASTNode caller, ASTNode child)
Define_TypeDecl_typeInt in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeLong(ASTNode caller, ASTNode child)
Define_TypeDecl_typeLong in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeFloat(ASTNode caller, ASTNode child)
Define_TypeDecl_typeFloat in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeDouble(ASTNode caller, ASTNode child)
Define_TypeDecl_typeDouble in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeString(ASTNode caller, ASTNode child)
Define_TypeDecl_typeString in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeVoid(ASTNode caller, ASTNode child)
Define_TypeDecl_typeVoid in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeNull(ASTNode caller, ASTNode child)
Define_TypeDecl_typeNull in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_unknownType(ASTNode caller, ASTNode child)
Define_TypeDecl_unknownType in class ASTNode<ASTNode>public boolean Define_boolean_hasPackage(ASTNode caller, ASTNode child, String packageName)
Define_boolean_hasPackage in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_lookupType(ASTNode caller, ASTNode child, String packageName, String typeName)
Define_TypeDecl_lookupType in class ASTNode<ASTNode>public SimpleSet Define_SimpleSet_lookupType(ASTNode caller, ASTNode child, String name)
Define_SimpleSet_lookupType in class ASTNode<ASTNode>public SimpleSet Define_SimpleSet_lookupVariable(ASTNode caller, ASTNode child, String name)
Define_SimpleSet_lookupVariable in class ASTNode<ASTNode>public boolean Define_boolean_mayBePublic(ASTNode caller, ASTNode child)
Define_boolean_mayBePublic in class ASTNode<ASTNode>public boolean Define_boolean_mayBeProtected(ASTNode caller, ASTNode child)
Define_boolean_mayBeProtected in class ASTNode<ASTNode>public boolean Define_boolean_mayBePrivate(ASTNode caller, ASTNode child)
Define_boolean_mayBePrivate in class ASTNode<ASTNode>public boolean Define_boolean_mayBeStatic(ASTNode caller, ASTNode child)
Define_boolean_mayBeStatic in class ASTNode<ASTNode>public boolean Define_boolean_mayBeFinal(ASTNode caller, ASTNode child)
Define_boolean_mayBeFinal in class ASTNode<ASTNode>public boolean Define_boolean_mayBeAbstract(ASTNode caller, ASTNode child)
Define_boolean_mayBeAbstract in class ASTNode<ASTNode>public boolean Define_boolean_mayBeVolatile(ASTNode caller, ASTNode child)
Define_boolean_mayBeVolatile in class ASTNode<ASTNode>public boolean Define_boolean_mayBeTransient(ASTNode caller, ASTNode child)
Define_boolean_mayBeTransient in class ASTNode<ASTNode>public boolean Define_boolean_mayBeStrictfp(ASTNode caller, ASTNode child)
Define_boolean_mayBeStrictfp in class ASTNode<ASTNode>public boolean Define_boolean_mayBeSynchronized(ASTNode caller, ASTNode child)
Define_boolean_mayBeSynchronized in class ASTNode<ASTNode>public boolean Define_boolean_mayBeNative(ASTNode caller, ASTNode child)
Define_boolean_mayBeNative in class ASTNode<ASTNode>public ASTNode Define_ASTNode_enclosingBlock(ASTNode caller, ASTNode child)
Define_ASTNode_enclosingBlock in class ASTNode<ASTNode>public VariableScope Define_VariableScope_outerScope(ASTNode caller, ASTNode child)
Define_VariableScope_outerScope in class ASTNode<ASTNode>public boolean Define_boolean_insideLoop(ASTNode caller, ASTNode child)
Define_boolean_insideLoop in class ASTNode<ASTNode>public boolean Define_boolean_insideSwitch(ASTNode caller, ASTNode child)
Define_boolean_insideSwitch in class ASTNode<ASTNode>public Case Define_Case_bind(ASTNode caller, ASTNode child, Case c)
Define_Case_bind in class ASTNode<ASTNode>public String Define_String_typeDeclIndent(ASTNode caller, ASTNode child)
Define_String_typeDeclIndent in class ASTNode<ASTNode>public NameType Define_NameType_nameType(ASTNode caller, ASTNode child)
Define_NameType_nameType in class ASTNode<ASTNode>public boolean Define_boolean_isAnonymous(ASTNode caller, ASTNode child)
Define_boolean_isAnonymous in class ASTNode<ASTNode>public Variable Define_Variable_unknownField(ASTNode caller, ASTNode child)
Define_Variable_unknownField in class ASTNode<ASTNode>public MethodDecl Define_MethodDecl_unknownMethod(ASTNode caller, ASTNode child)
Define_MethodDecl_unknownMethod in class ASTNode<ASTNode>public ConstructorDecl Define_ConstructorDecl_unknownConstructor(ASTNode caller, ASTNode child)
Define_ConstructorDecl_unknownConstructor in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_declType(ASTNode caller, ASTNode child)
Define_TypeDecl_declType in class ASTNode<ASTNode>public BodyDecl Define_BodyDecl_enclosingBodyDecl(ASTNode caller, ASTNode child)
Define_BodyDecl_enclosingBodyDecl in class ASTNode<ASTNode>public boolean Define_boolean_isMemberType(ASTNode caller, ASTNode child)
Define_boolean_isMemberType in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_hostType(ASTNode caller, ASTNode child)
Define_TypeDecl_hostType in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_switchType(ASTNode caller, ASTNode child)
Define_TypeDecl_switchType in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_returnType(ASTNode caller, ASTNode child)
Define_TypeDecl_returnType in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_enclosingInstance(ASTNode caller, ASTNode child)
Define_TypeDecl_enclosingInstance in class ASTNode<ASTNode>public String Define_String_methodHost(ASTNode caller, ASTNode child)
Define_String_methodHost in class ASTNode<ASTNode>public boolean Define_boolean_inExplicitConstructorInvocation(ASTNode caller, ASTNode child)
Define_boolean_inExplicitConstructorInvocation in class ASTNode<ASTNode>public boolean Define_boolean_inStaticContext(ASTNode caller, ASTNode child)
Define_boolean_inStaticContext in class ASTNode<ASTNode>public boolean Define_boolean_reportUnreachable(ASTNode caller, ASTNode child)
Define_boolean_reportUnreachable in class ASTNode<ASTNode>public boolean Define_boolean_isMethodParameter(ASTNode caller, ASTNode child)
Define_boolean_isMethodParameter in class ASTNode<ASTNode>public boolean Define_boolean_isConstructorParameter(ASTNode caller, ASTNode child)
Define_boolean_isConstructorParameter in class ASTNode<ASTNode>public boolean Define_boolean_isExceptionHandlerParameter(ASTNode caller, ASTNode child)
Define_boolean_isExceptionHandlerParameter in class ASTNode<ASTNode>public boolean Define_boolean_mayUseAnnotationTarget(ASTNode caller, ASTNode child, String name)
Define_boolean_mayUseAnnotationTarget in class ASTNode<ASTNode>public ElementValue Define_ElementValue_lookupElementTypeValue(ASTNode caller, ASTNode child, String name)
Define_ElementValue_lookupElementTypeValue in class ASTNode<ASTNode>public boolean Define_boolean_withinSuppressWarnings(ASTNode caller, ASTNode child, String s)
Define_boolean_withinSuppressWarnings in class ASTNode<ASTNode>public boolean Define_boolean_withinDeprecatedAnnotation(ASTNode caller, ASTNode child)
Define_boolean_withinDeprecatedAnnotation in class ASTNode<ASTNode>public Annotation Define_Annotation_lookupAnnotation(ASTNode caller, ASTNode child, TypeDecl typeDecl)
Define_Annotation_lookupAnnotation in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_enclosingAnnotationDecl(ASTNode caller, ASTNode child)
Define_TypeDecl_enclosingAnnotationDecl in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_assignConvertedType(ASTNode caller, ASTNode child)
Define_TypeDecl_assignConvertedType in class ASTNode<ASTNode>public boolean Define_boolean_inExtendsOrImplements(ASTNode caller, ASTNode child)
Define_boolean_inExtendsOrImplements in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_typeWildcard(ASTNode caller, ASTNode child)
Define_TypeDecl_typeWildcard in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_lookupWildcardExtends(ASTNode caller, ASTNode child, TypeDecl typeDecl)
Define_TypeDecl_lookupWildcardExtends in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_lookupWildcardSuper(ASTNode caller, ASTNode child, TypeDecl typeDecl)
Define_TypeDecl_lookupWildcardSuper in class ASTNode<ASTNode>public LUBType Define_LUBType_lookupLUBType(ASTNode caller, ASTNode child, Collection bounds)
Define_LUBType_lookupLUBType in class ASTNode<ASTNode>public GLBType Define_GLBType_lookupGLBType(ASTNode caller, ASTNode child, ArrayList bounds)
Define_GLBType_lookupGLBType in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_genericDecl(ASTNode caller, ASTNode child)
Define_TypeDecl_genericDecl in class ASTNode<ASTNode>public boolean Define_boolean_variableArityValid(ASTNode caller, ASTNode child)
Define_boolean_variableArityValid in class ASTNode<ASTNode>public TypeDecl Define_TypeDecl_expectedType(ASTNode caller, ASTNode child)
Define_TypeDecl_expectedType in class ASTNode<ASTNode>public Stmt Define_soot_jimple_Stmt_condition_false_label(ASTNode caller, ASTNode child)
Define_soot_jimple_Stmt_condition_false_label in class ASTNode<ASTNode>public Stmt Define_soot_jimple_Stmt_condition_true_label(ASTNode caller, ASTNode child)
Define_soot_jimple_Stmt_condition_true_label in class ASTNode<ASTNode>public int Define_int_localNum(ASTNode caller, ASTNode child)
Define_int_localNum in class ASTNode<ASTNode>public boolean Define_boolean_enclosedByExceptionHandler(ASTNode caller, ASTNode child)
Define_boolean_enclosedByExceptionHandler in class ASTNode<ASTNode>public ArrayList Define_ArrayList_exceptionRanges(ASTNode caller, ASTNode child)
Define_ArrayList_exceptionRanges in class ASTNode<ASTNode>public boolean Define_boolean_isCatchParam(ASTNode caller, ASTNode child)
Define_boolean_isCatchParam in class ASTNode<ASTNode>public CatchClause Define_CatchClause_catchClause(ASTNode caller, ASTNode child)
Define_CatchClause_catchClause in class ASTNode<ASTNode>public boolean Define_boolean_resourcePreviouslyDeclared(ASTNode caller, ASTNode child, String name)
Define_boolean_resourcePreviouslyDeclared in class ASTNode<ASTNode>public ClassInstanceExpr Define_ClassInstanceExpr_getClassInstanceExpr(ASTNode caller, ASTNode child)
Define_ClassInstanceExpr_getClassInstanceExpr in class ASTNode<ASTNode>public boolean Define_boolean_isAnonymousDecl(ASTNode caller, ASTNode child)
Define_boolean_isAnonymousDecl in class ASTNode<ASTNode>public boolean Define_boolean_isExplicitGenericConstructorAccess(ASTNode caller, ASTNode child)
Define_boolean_isExplicitGenericConstructorAccess in class ASTNode<ASTNode>Copyright © 2020 Soot OSS. All rights reserved.