public class PartialConstructorFolder extends BodyTransformer
Constructor and Description |
---|
PartialConstructorFolder() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Type> |
getTypes() |
void |
internalTransform(Body b,
java.lang.String phaseName,
java.util.Map<java.lang.String,java.lang.String> 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
|
void |
setTypes(java.util.List<Type> t) |
transform, transform, transform
public void setTypes(java.util.List<Type> t)
public java.util.List<Type> getTypes()
public void internalTransform(Body b, java.lang.String phaseName, java.util.Map<java.lang.String,java.lang.String> options)
internalTransform
in class BodyTransformer
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.