Package javassist
Class CtField.CodeInitializer0
java.lang.Object
javassist.CtField.Initializer
javassist.CtField.CodeInitializer0
- Direct Known Subclasses:
CtField.CodeInitializer
,CtField.PtreeInitializer
- Enclosing class:
CtField
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int
(package private) abstract void
compileExpr
(Javac drv) (package private) int
compileIfStatic
(CtClass type, String name, Bytecode code, Javac drv) (package private) int
getConstantValue2
(ConstPool cp, CtClass type, ASTree tree) Methods inherited from class javassist.CtField.Initializer
byCall, byCall, byCallWithParams, byCallWithParams, byExpr, byExpr, byNew, byNew, byNewArray, byNewArray, byNewWithParams, byNewWithParams, byParameter, check, constant, constant, constant, constant, constant, constant, getConstantValue
-
Constructor Details
-
CodeInitializer0
CodeInitializer0()
-
-
Method Details
-
compileExpr
- Throws:
CompileError
-
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
-
getConstantValue2
-