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) intcompileIfStatic(CtClass type, String name, Bytecode code, Javac drv) (package private) intgetConstantValue(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:
checkin classCtField.Initializer- Throws:
CannotCompileException
-
compile
int compile(CtClass type, String name, Bytecode code, CtClass[] parameters, Javac drv) throws CannotCompileException - Specified by:
compilein classCtField.Initializer- Throws:
CannotCompileException
-
compileIfStatic
int compileIfStatic(CtClass type, String name, Bytecode code, Javac drv) throws CannotCompileException - Specified by:
compileIfStaticin classCtField.Initializer- Throws:
CannotCompileException
-
getConstantValue
- Overrides:
getConstantValuein classCtField.Initializer
-