abstract static class CtField.CodeInitializer0 extends CtField.Initializer
Constructor and Description |
---|
CodeInitializer0() |
Modifier and Type | Method and Description |
---|---|
(package private) int |
compile(CtClass type,
java.lang.String name,
Bytecode code,
CtClass[] parameters,
Javac drv) |
(package private) abstract void |
compileExpr(Javac drv) |
(package private) int |
compileIfStatic(CtClass type,
java.lang.String name,
Bytecode code,
Javac drv) |
(package private) int |
getConstantValue2(ConstPool cp,
CtClass type,
ASTree tree) |
byCall, byCall, byCallWithParams, byCallWithParams, byExpr, byExpr, byNew, byNew, byNewArray, byNewArray, byNewWithParams, byNewWithParams, byParameter, check, constant, constant, constant, constant, constant, constant, getConstantValue
abstract void compileExpr(Javac drv) throws CompileError
CompileError
int compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv) throws CannotCompileException
compile
in class CtField.Initializer
CannotCompileException
int compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv) throws CannotCompileException
compileIfStatic
in class CtField.Initializer
CannotCompileException