static class CtField.CodeInitializer extends CtField.CodeInitializer0
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
expression |
| Constructor and Description |
|---|
CodeInitializer(java.lang.String expr) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
compileExpr(Javac drv) |
(package private) int |
getConstantValue(ConstPool cp,
CtClass type) |
compile, compileIfStatic, getConstantValue2byCall, byCall, byCallWithParams, byCallWithParams, byExpr, byExpr, byNew, byNew, byNewArray, byNewArray, byNewWithParams, byNewWithParams, byParameter, check, constant, constant, constant, constant, constant, constantvoid compileExpr(Javac drv) throws CompileError
compileExpr in class CtField.CodeInitializer0CompileErrorint getConstantValue(ConstPool cp, CtClass type)
getConstantValue in class CtField.Initializer