static class CtField.ArrayInitializer extends CtField.Initializer
Modifier and Type | Field and Description |
---|---|
(package private) int |
size |
(package private) CtClass |
type |
Constructor and Description |
---|
ArrayInitializer(CtClass t,
int s) |
Modifier and Type | Method and Description |
---|---|
private void |
addNewarray(Bytecode code) |
(package private) int |
compile(CtClass type,
java.lang.String name,
Bytecode code,
CtClass[] parameters,
Javac drv) |
(package private) int |
compileIfStatic(CtClass type,
java.lang.String name,
Bytecode code,
Javac drv) |
byCall, byCall, byCallWithParams, byCallWithParams, byExpr, byExpr, byNew, byNew, byNewArray, byNewArray, byNewWithParams, byNewWithParams, byParameter, check, constant, constant, constant, constant, constant, constant, getConstantValue
CtClass type
int size
ArrayInitializer(CtClass t, int s)
private void addNewarray(Bytecode code)
int compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv) throws CannotCompileException
compile
in class CtField.Initializer
CannotCompileException
int compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv) throws CannotCompileException
compileIfStatic
in class CtField.Initializer
CannotCompileException