CtField.Initializer| Modifier and Type | Field and Description |
|---|---|
private ASTree |
init |
declaringClass| Constructor and Description |
|---|
CtFieldWithInit(CtClass type,
java.lang.String name,
CtClass declaring) |
| Modifier and Type | Method and Description |
|---|---|
protected ASTree |
getInitAST() |
protected void |
setInit(ASTree i) |
extendToString, getAnnotation, getAnnotations, getAttribute, getAvailableAnnotations, getConstantValue, getDeclaringClass, getFieldInfo, getFieldInfo2, getGenericSignature, getModifiers, getName, getSignature, getType, hasAnnotation, make, setAttribute, setGenericSignature, setModifiers, setName, setType, toStringvisibleFromprivate ASTree init
CtFieldWithInit(CtClass type, java.lang.String name, CtClass declaring) throws CannotCompileException
CannotCompileExceptionprotected void setInit(ASTree i)
protected ASTree getInitAST()
getInitAST in class CtField