soot.javaToJimple
Class PolyglotMethodSource

java.lang.Object
  extended bysoot.javaToJimple.PolyglotMethodSource
All Implemented Interfaces:
MethodSource
Direct Known Subclasses:
AnonClassInitMethodSource

public class PolyglotMethodSource
extends Object
implements MethodSource


Constructor Summary
PolyglotMethodSource()
           
PolyglotMethodSource(polyglot.ast.Block block, List formals)
           
 
Method Summary
 void addAssertInits(Body body)
           
 Body getBody(SootMethod sm, String phaseName)
          Returns a filled-out body for the given SootMethod.
 ArrayList getFieldInits()
           
 ArrayList getFinalsList()
           
 ArrayList getInitializerBlocks()
           
 HashMap getNewToOuterMap()
           
 Local getOuterClassThisInit()
           
 ArrayList getStaticFieldInits()
           
 ArrayList getStaticInitializerBlocks()
           
 boolean hasAssert()
           
 void hasAssert(boolean val)
           
 void setFieldInits(ArrayList fieldInits)
           
 void setFinalsList(ArrayList list)
           
 void setInitializerBlocks(ArrayList inits)
           
 void setJBB(AbstractJimpleBodyBuilder ajbb)
           
 void setNewToOuterMap(HashMap map)
           
 void setOuterClassThisInit(Local l)
           
 void setStaticFieldInits(ArrayList staticFieldInits)
           
 void setStaticInitializerBlocks(ArrayList staticInits)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolyglotMethodSource

public PolyglotMethodSource()

PolyglotMethodSource

public PolyglotMethodSource(polyglot.ast.Block block,
                            List formals)
Method Detail

getBody

public Body getBody(SootMethod sm,
                    String phaseName)
Description copied from interface: MethodSource
Returns a filled-out body for the given SootMethod.

Specified by:
getBody in interface MethodSource

setJBB

public void setJBB(AbstractJimpleBodyBuilder ajbb)

setFieldInits

public void setFieldInits(ArrayList fieldInits)

setStaticFieldInits

public void setStaticFieldInits(ArrayList staticFieldInits)

getFieldInits

public ArrayList getFieldInits()

getStaticFieldInits

public ArrayList getStaticFieldInits()

setStaticInitializerBlocks

public void setStaticInitializerBlocks(ArrayList staticInits)

setInitializerBlocks

public void setInitializerBlocks(ArrayList inits)

getStaticInitializerBlocks

public ArrayList getStaticInitializerBlocks()

getInitializerBlocks

public ArrayList getInitializerBlocks()

setOuterClassThisInit

public void setOuterClassThisInit(Local l)

getOuterClassThisInit

public Local getOuterClassThisInit()

hasAssert

public boolean hasAssert()

hasAssert

public void hasAssert(boolean val)

addAssertInits

public void addAssertInits(Body body)

setFinalsList

public void setFinalsList(ArrayList list)

getFinalsList

public ArrayList getFinalsList()

setNewToOuterMap

public void setNewToOuterMap(HashMap map)

getNewToOuterMap

public HashMap getNewToOuterMap()