public class TypeResolver.CastInsertionUseVisitor extends Object implements IUseVisitor
| Modifier and Type | Field and Description |
|---|---|
protected IHierarchy |
h |
protected JimpleBody |
jb |
protected Typing |
tg |
| Constructor and Description |
|---|
CastInsertionUseVisitor(boolean countOnly,
JimpleBody jb,
Typing tg,
IHierarchy h) |
| Modifier and Type | Method and Description |
|---|---|
protected Local |
createCast(Type useType,
Stmt stmt,
Local old)
Creates a cast at stmt of vold to the given type.
|
boolean |
finish() |
int |
getCount() |
Value |
visit(Value op,
Type useType,
Stmt stmt) |
protected JimpleBody jb
protected Typing tg
protected IHierarchy h
public CastInsertionUseVisitor(boolean countOnly,
JimpleBody jb,
Typing tg,
IHierarchy h)
public Value visit(Value op, Type useType, Stmt stmt)
visit in interface IUseVisitorprotected Local createCast(Type useType, Stmt stmt, Local old)
useType - the new typestmt - stmtold - the old localpublic int getCount()
public boolean finish()
finish in interface IUseVisitorCopyright © 2020 Soot OSS. All rights reserved.