Package javassist
Class CtField.LongInitializer
java.lang.Object
javassist.CtField.Initializer
javassist.CtField.LongInitializer
- Enclosing class:
CtField
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) int
(package private) int
compileIfStatic
(CtClass type, String name, Bytecode code, Javac drv) (package private) int
getConstantValue
(ConstPool cp, CtClass type) Methods inherited from class javassist.CtField.Initializer
byCall, byCall, byCallWithParams, byCallWithParams, byExpr, byExpr, byNew, byNew, byNewArray, byNewArray, byNewWithParams, byNewWithParams, byParameter, constant, constant, constant, constant, constant, constant
-
Field Details
-
value
long value
-
-
Constructor Details
-
LongInitializer
LongInitializer(long v)
-
-
Method Details
-
check
- Overrides:
check
in classCtField.Initializer
- Throws:
CannotCompileException
-
compile
int compile(CtClass type, String name, Bytecode code, CtClass[] parameters, Javac drv) throws CannotCompileException - Specified by:
compile
in classCtField.Initializer
- Throws:
CannotCompileException
-
compileIfStatic
int compileIfStatic(CtClass type, String name, Bytecode code, Javac drv) throws CannotCompileException - Specified by:
compileIfStatic
in classCtField.Initializer
- Throws:
CannotCompileException
-
getConstantValue
- Overrides:
getConstantValue
in classCtField.Initializer
-