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 voidcompileExpr(Javac drv) (package private) intcompileIfStatic(CtClass type, String name, Bytecode code, Javac drv) (package private) intgetConstantValue2(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:
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
-
getConstantValue2
-