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