soot.jimple.toolkits.base
Class PartialConstructorFolder
java.lang.Object
soot.Transformer
soot.BodyTransformer
soot.jimple.toolkits.base.PartialConstructorFolder
public class PartialConstructorFolder
- extends BodyTransformer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartialConstructorFolder
public PartialConstructorFolder()
setTypes
public void setTypes(List t)
getTypes
public List getTypes()
internalTransform
public void internalTransform(Body b,
String phaseName,
Map options)
- This method pushes all newExpr down to be the stmt directly before every
invoke of the init only if they are in the types list
- Specified by:
internalTransform
in class BodyTransformer
- Parameters:
b
- the body on which to apply the transformationphaseName
- the phasename for this transform; not typically used by implementations.options
- the actual computed options; a combination of default options and Scene specified options.