com.ibm.wala.cast.ipa.callgraph
Class AstCallGraph.AstFakeRoot

java.lang.Object
  extended by com.ibm.wala.classLoader.SyntheticMethod
      extended by com.ibm.wala.ipa.callgraph.impl.AbstractRootMethod
          extended by com.ibm.wala.cast.ipa.callgraph.AstCallGraph.AstFakeRoot
All Implemented Interfaces:
IMember, IMethod, ContextItem, IClassHierarchyDweller
Direct Known Subclasses:
AstCallGraph.ScriptFakeRoot
Enclosing class:
AstCallGraph

public static class AstCallGraph.AstFakeRoot
extends AbstractRootMethod


Field Summary
 
Fields inherited from class com.ibm.wala.ipa.callgraph.impl.AbstractRootMethod
cache, cha, insts, nextLocal, statements
 
Fields inherited from class com.ibm.wala.classLoader.SyntheticMethod
declaringClass, NO_STATEMENTS, resolvedMethod
 
Constructor Summary
AstCallGraph.AstFakeRoot(MethodReference rootMethod, IClassHierarchy cha, AnalysisOptions options, AnalysisCache cache)
           
AstCallGraph.AstFakeRoot(MethodReference rootMethod, IClass declaringClass, IClassHierarchy cha, AnalysisOptions options, AnalysisCache cache)
           
 
Method Summary
 AstLexicalRead addGlobalRead(TypeReference type, java.lang.String name)
           
 InducedCFG makeControlFlowGraph(SSAInstruction[] statements)
          Create an InducedCFG from an instruction array.
 
Methods inherited from class com.ibm.wala.ipa.callgraph.impl.AbstractRootMethod
add1DArrayAllocation, addAllocation, addAllocationWithoutCtor, addCheckcast, addGetInstance, addGetStatic, addInvocation, addLocal, addPhi, addReturn, getInterpreter, getStatements, getValueNumberForByteConstant, getValueNumberForCharConstant, getValueNumberForIntConstant, makeIR
 
Methods inherited from class com.ibm.wala.classLoader.SyntheticMethod
equals, getBytecodeStream, getClassHierarchy, getDeclaredExceptions, getDeclaringClass, getDescriptor, getLineNumber, getLocalVariableName, getMaxLocals, getMaxStackHeight, getName, getNumberOfParameters, getParameterType, getPoison, getPoisonLevel, getReference, getReturnType, getSelector, getSignature, getStatements, hasExceptionHandler, hashCode, hasLocalVariableTable, hasPoison, isAbstract, isBridge, isClinit, isFactoryMethod, isFinal, isInit, isNative, isPrivate, isProtected, isPublic, isStatic, isSynchronized, isSynthetic, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AstCallGraph.AstFakeRoot

public AstCallGraph.AstFakeRoot(MethodReference rootMethod,
                                IClass declaringClass,
                                IClassHierarchy cha,
                                AnalysisOptions options,
                                AnalysisCache cache)

AstCallGraph.AstFakeRoot

public AstCallGraph.AstFakeRoot(MethodReference rootMethod,
                                IClassHierarchy cha,
                                AnalysisOptions options,
                                AnalysisCache cache)
Method Detail

makeControlFlowGraph

public InducedCFG makeControlFlowGraph(SSAInstruction[] statements)
Description copied from class: SyntheticMethod
Create an InducedCFG from an instruction array. NOTE: SIDE EFFECT!!! ... nulls out phi instructions in the instruction array!

Overrides:
makeControlFlowGraph in class SyntheticMethod

addGlobalRead

public AstLexicalRead addGlobalRead(TypeReference type,
                                    java.lang.String name)