|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavassist.bytecode.ClassFileWriter.FieldWriter
public static final class ClassFileWriter.FieldWriter
Field.
Method Summary | |
---|---|
void |
add(int accessFlags,
int name,
int descriptor,
ClassFileWriter.AttributeWriter aw)
Adds a new field. |
void |
add(int accessFlags,
java.lang.String name,
java.lang.String descriptor,
ClassFileWriter.AttributeWriter aw)
Adds a new field. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void add(int accessFlags, java.lang.String name, java.lang.String descriptor, ClassFileWriter.AttributeWriter aw)
accessFlags
- access flags.name
- the field name.descriptor
- the field type.aw
- the attributes of the field. may be null.AccessFlag
public void add(int accessFlags, int name, int descriptor, ClassFileWriter.AttributeWriter aw)
accessFlags
- access flags.name
- the field name. an index indicating its CONSTANT_Utf8_info
.descriptor
- the field type. an index indicating its CONSTANT_Utf8_info
.aw
- the attributes of the field. may be null.AccessFlag
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |