public final class BcelRenderer extends java.lang.Object implements ITestVisitor, IExprVisitor
Modifier and Type | Method and Description |
---|---|
static InstructionList |
renderExpr(InstructionFactory fact,
BcelWorld world,
Expr e) |
static InstructionList |
renderExpr(InstructionFactory fact,
BcelWorld world,
Expr e,
Type desiredType) |
static InstructionList |
renderExprs(InstructionFactory fact,
BcelWorld world,
Expr[] es) |
static InstructionList |
renderTest(InstructionFactory fact,
BcelWorld world,
Test e,
InstructionHandle sk,
InstructionHandle fk,
InstructionHandle next) |
void |
visit(And e) |
void |
visit(Call call) |
void |
visit(CallExpr call) |
void |
visit(FieldGet fieldGet) |
void |
visit(FieldGetCall fieldGetCall) |
void |
visit(HasAnnotation hasAnnotation) |
void |
visit(Instanceof i) |
void |
visit(Literal literal) |
void |
visit(MatchingContextBasedTest matchingContextTest) |
void |
visit(Not e) |
void |
visit(Or e) |
void |
visit(Var var) |
public static InstructionList renderExpr(InstructionFactory fact, BcelWorld world, Expr e)
public static InstructionList renderExpr(InstructionFactory fact, BcelWorld world, Expr e, Type desiredType)
public static InstructionList renderExprs(InstructionFactory fact, BcelWorld world, Expr[] es)
public static InstructionList renderTest(InstructionFactory fact, BcelWorld world, Test e, InstructionHandle sk, InstructionHandle fk, InstructionHandle next)
public void visit(And e)
visit
in interface ITestVisitor
public void visit(Or e)
visit
in interface ITestVisitor
public void visit(Not e)
visit
in interface ITestVisitor
public void visit(Instanceof i)
visit
in interface ITestVisitor
public void visit(HasAnnotation hasAnnotation)
visit
in interface ITestVisitor
public void visit(MatchingContextBasedTest matchingContextTest)
visit
in interface ITestVisitor
public void visit(Literal literal)
visit
in interface ITestVisitor
public void visit(Call call)
visit
in interface ITestVisitor
public void visit(FieldGetCall fieldGetCall)
visit
in interface ITestVisitor
public void visit(Var var)
visit
in interface IExprVisitor
public void visit(FieldGet fieldGet)
visit
in interface IExprVisitor
public void visit(CallExpr call)
visit
in interface IExprVisitor