static class CtField.FloatInitializer extends CtField.Initializer
| Modifier and Type | Field and Description |
|---|---|
(package private) float |
value |
| Constructor and Description |
|---|
FloatInitializer(float v) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
check(java.lang.String desc) |
(package private) int |
compile(CtClass type,
java.lang.String name,
Bytecode code,
CtClass[] parameters,
Javac drv) |
(package private) int |
compileIfStatic(CtClass type,
java.lang.String name,
Bytecode code,
Javac drv) |
(package private) int |
getConstantValue(ConstPool cp,
CtClass type) |
byCall, byCall, byCallWithParams, byCallWithParams, byExpr, byExpr, byNew, byNew, byNewArray, byNewArray, byNewWithParams, byNewWithParams, byParameter, constant, constant, constant, constant, constant, constantvoid check(java.lang.String desc)
throws CannotCompileException
check in class CtField.InitializerCannotCompileExceptionint 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.InitializerCannotCompileExceptionint getConstantValue(ConstPool cp, CtClass type)
getConstantValue in class CtField.Initializer