Package | Description |
---|---|
javassist.compiler | |
javassist.expr |
This package contains the classes for modifying a method body.
|
Modifier and Type | Field and Description |
---|---|
protected Bytecode |
CodeGen.bytecode |
Modifier and Type | Method and Description |
---|---|
Bytecode |
Javac.compileBody(CtBehavior method,
String src)
Compiles a method (or constructor) body.
|
Bytecode |
Javac.getBytecode()
Returns the produced bytecode.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JvstCodeGen.atAssignParamList(CtClass[] params,
Bytecode code) |
static int |
JvstCodeGen.compileParameterList(Bytecode code,
CtClass[] params,
int regno) |
protected void |
JvstCodeGen.compileUnwrapValue(CtClass type,
Bytecode code) |
protected abstract boolean |
CodeGen.ReturnHook.doit(Bytecode b,
int opcode)
Returns true if the generated code ends with return,
throw, or goto.
|
void |
ProceedHandler.doit(JvstCodeGen gen,
Bytecode b,
ASTList args) |
Constructor and Description |
---|
CodeGen(Bytecode b) |
Javac(Bytecode b,
CtClass thisClass)
Constructs a compiler.
|
JvstCodeGen(Bytecode b,
CtClass cc,
ClassPool cp) |
MemberCodeGen(Bytecode b,
CtClass cc,
ClassPool cp) |
Modifier and Type | Method and Description |
---|---|
protected void |
Expr.replace0(int pos,
Bytecode bytecode,
int size) |
Copyright © 2024. All rights reserved.