Package soot.javaToJimple
Class PolyglotMethodSource
- java.lang.Object
-
- soot.javaToJimple.PolyglotMethodSource
-
- All Implemented Interfaces:
MethodSource
- Direct Known Subclasses:
AnonClassInitMethodSource
public class PolyglotMethodSource extends Object implements MethodSource
-
-
Constructor Summary
Constructors Constructor Description PolyglotMethodSource()PolyglotMethodSource(polyglot.ast.Block block, List formals)
-
Method Summary
-
-
-
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:MethodSourceReturns a filled-out body for the given SootMethod.- Specified by:
getBodyin interfaceMethodSource
-
setJBB
public void setJBB(AbstractJimpleBodyBuilder ajbb)
-
setFieldInits
public void setFieldInits(ArrayList<polyglot.ast.FieldDecl> fieldInits)
-
setStaticFieldInits
public void setStaticFieldInits(ArrayList<polyglot.ast.FieldDecl> staticFieldInits)
-
getFieldInits
public ArrayList<polyglot.ast.FieldDecl> getFieldInits()
-
getStaticFieldInits
public ArrayList<polyglot.ast.FieldDecl> getStaticFieldInits()
-
setStaticInitializerBlocks
public void setStaticInitializerBlocks(ArrayList<polyglot.ast.Block> staticInits)
-
setInitializerBlocks
public void setInitializerBlocks(ArrayList<polyglot.ast.Block> inits)
-
getStaticInitializerBlocks
public ArrayList<polyglot.ast.Block> getStaticInitializerBlocks()
-
getInitializerBlocks
public ArrayList<polyglot.ast.Block> 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)
-
setNewToOuterMap
public void setNewToOuterMap(HashMap map)
-
getNewToOuterMap
public HashMap getNewToOuterMap()
-
-