Class ClassFileWriter.FieldWriter
- java.lang.Object
-
- org.hotswap.agent.javassist.bytecode.ClassFileWriter.FieldWriter
-
- Enclosing class:
- ClassFileWriter
public static final class ClassFileWriter.FieldWriter extends Object
Field.
-
-
Field Summary
Fields Modifier and Type Field Description protected ClassFileWriter.ConstPoolWriterconstPoolprotected org.hotswap.agent.javassist.bytecode.ByteStreamoutput
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int accessFlags, int name, int descriptor, ClassFileWriter.AttributeWriter aw)Adds a new field.voidadd(int accessFlags, String name, String descriptor, ClassFileWriter.AttributeWriter aw)Adds a new field.
-
-
-
Field Detail
-
output
protected org.hotswap.agent.javassist.bytecode.ByteStream output
-
constPool
protected ClassFileWriter.ConstPoolWriter constPool
-
-
Method Detail
-
add
public void add(int accessFlags, String name, String descriptor, ClassFileWriter.AttributeWriter aw)Adds a new field.- Parameters:
accessFlags- access flags.name- the field name.descriptor- the field type.aw- the attributes of the field. may be null.- See Also:
AccessFlag
-
add
public void add(int accessFlags, int name, int descriptor, ClassFileWriter.AttributeWriter aw)Adds a new field.- Parameters:
accessFlags- access flags.name- the field name. an index indicating itsCONSTANT_Utf8_info.descriptor- the field type. an index indicating itsCONSTANT_Utf8_info.aw- the attributes of the field. may be null.- See Also:
AccessFlag
-
-