org.aspectj.weaver.bcel
Class BcelRenderer
java.lang.Object
org.aspectj.weaver.bcel.BcelRenderer
- All Implemented Interfaces:
- IExprVisitor, ITestVisitor
public final class BcelRenderer
- extends java.lang.Object
- implements ITestVisitor, IExprVisitor
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
renderExpr
public static InstructionList renderExpr(InstructionFactory fact,
BcelWorld world,
Expr e)
renderExpr
public static InstructionList renderExpr(InstructionFactory fact,
BcelWorld world,
Expr e,
Type desiredType)
renderExprs
public static InstructionList renderExprs(InstructionFactory fact,
BcelWorld world,
Expr[] es)
renderTest
public static InstructionList renderTest(InstructionFactory fact,
BcelWorld world,
Test e,
InstructionHandle sk,
InstructionHandle fk,
InstructionHandle next)
visit
public void visit(And e)
- Specified by:
visit
in interface ITestVisitor
visit
public void visit(Or e)
- Specified by:
visit
in interface ITestVisitor
visit
public void visit(Not e)
- Specified by:
visit
in interface ITestVisitor
visit
public void visit(Instanceof i)
- Specified by:
visit
in interface ITestVisitor
visit
public void visit(HasAnnotation hasAnnotation)
- Specified by:
visit
in interface ITestVisitor
visit
public void visit(MatchingContextBasedTest matchingContextTest)
- Specified by:
visit
in interface ITestVisitor
visit
public void visit(Literal literal)
- Specified by:
visit
in interface ITestVisitor
visit
public void visit(Call call)
- Specified by:
visit
in interface ITestVisitor
visit
public void visit(FieldGetCall fieldGetCall)
- Specified by:
visit
in interface ITestVisitor
visit
public void visit(Var var)
- Specified by:
visit
in interface IExprVisitor
visit
public void visit(FieldGet fieldGet)
- Specified by:
visit
in interface IExprVisitor
visit
public void visit(CallExpr call)
- Specified by:
visit
in interface IExprVisitor