Package | Description |
---|---|
javassist |
The Javassist Core API.
|
javassist.bytecode |
Bytecode-level API.
|
javassist.compiler |
Modifier and Type | Field and Description |
---|---|
protected FieldInfo |
CtField.fieldInfo |
Modifier and Type | Method and Description |
---|---|
FieldInfo |
CtField.getFieldInfo()
Returns the FieldInfo representing the field in the class file.
|
FieldInfo |
CtField.getFieldInfo2()
Returns the FieldInfo representing the field in the class
file (read only).
|
Constructor and Description |
---|
CtField(FieldInfo fi,
CtClass clazz) |
Modifier and Type | Method and Description |
---|---|
void |
ClassFile.addField(FieldInfo finfo)
Appends a field to the class.
|
void |
ClassFile.addField2(FieldInfo finfo)
Just appends a field to the class.
|
Modifier and Type | Method and Description |
---|---|
private int |
MemberCodeGen.addFieldrefInfo(CtField f,
FieldInfo finfo) |
MethodInfo |
AccessorMaker.getFieldGetter(FieldInfo finfo,
boolean is_static)
Returns the method_info representing the added getter.
|
MethodInfo |
AccessorMaker.getFieldSetter(FieldInfo finfo,
boolean is_static)
Returns the method_info representing the added setter.
|
private AccessorMaker |
MemberCodeGen.isAccessibleField(CtField f,
FieldInfo finfo)
Returns null if the field is accessible.
|
private boolean |
MemberCodeGen.setFieldType(FieldInfo finfo)
Sets exprType, arrayDim, and className.
|