public abstract class AbstractNullTransformer extends DexTransformer
DexNullTransformer and
DexIfTransformer.| Constructor and Description |
|---|
AbstractNullTransformer() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
isObject(Type t) |
protected boolean |
isZeroComparison(ConditionExpr expr)
Examine expr if it is a comparison with 0.
|
protected void |
replaceWithNull(Unit u)
Replace 0 with null in the given unit.
|
collectDefinitionsWithAliases, findArrayTypeinternalTransform, transform, transform, transformprotected boolean isZeroComparison(ConditionExpr expr)
expr - the ConditionExpr to examineprotected void replaceWithNull(Unit u)
u - the unit where 0 will be replaced with null.protected static boolean isObject(Type t)