public class TypeAssigner extends BodyTransformer
| Constructor and Description |
|---|
TypeAssigner(Singletons.Global g) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
internalTransform(Body b,
String phaseName,
Map<String,String> options)
Assign types to local variables.
|
protected static void |
replaceNullType(Body b)
Replace statements using locals with null_type type and that would throw a NullPointerException at runtime by a set of
instructions throwing a NullPointerException.
|
static TypeAssigner |
v() |
transform, transform, transformpublic TypeAssigner(Singletons.Global g)
public static TypeAssigner v()
protected void internalTransform(Body b, String phaseName, Map<String,String> options)
internalTransform in class BodyTransformerb - 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.protected static void replaceNullType(Body b)
b - Copyright © 2020 Soot OSS. All rights reserved.