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, getConstantValueabstract void compileExpr(Javac drv) throws CompileError
CompileErrorint compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv) throws CannotCompileException
compile in class CtField.InitializerCannotCompileExceptionint compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv) throws CannotCompileException
compileIfStatic in class CtField.InitializerCannotCompileException