Package javassist
Class CtField.CodeInitializer0
- java.lang.Object
-
- javassist.CtField.Initializer
-
- javassist.CtField.CodeInitializer0
-
- Direct Known Subclasses:
CtField.CodeInitializer
,CtField.PtreeInitializer
- Enclosing class:
- CtField
abstract static class CtField.CodeInitializer0 extends CtField.Initializer
-
-
Constructor Summary
Constructors Constructor Description CodeInitializer0()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) int
compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv)
(package private) abstract void
compileExpr(Javac drv)
(package private) int
compileIfStatic(CtClass type, java.lang.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
-
-
-
-
Method Detail
-
compileExpr
abstract void compileExpr(Javac drv) throws CompileError
- Throws:
CompileError
-
compile
int compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv) throws CannotCompileException
- Specified by:
compile
in classCtField.Initializer
- Throws:
CannotCompileException
-
compileIfStatic
int compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv) throws CannotCompileException
- Specified by:
compileIfStatic
in classCtField.Initializer
- Throws:
CannotCompileException
-
-