| Modifier and Type | Class and Description |
|---|---|
| public class |
| Modifier and Type | Field and Description |
|---|---|
| private final SplitConstantPool | |
| private final ClassFileImpl | |
| private final Utf8Entry | |
| private final List | |
| private AccessFlags | |
| private final Utf8Entry |
| Access | Constructor and Description |
|---|---|
| public | BufferedFieldBuilder(SplitConstantPool constantPool, ClassFileImpl context, Utf8Entry name, Utf8Entry type)
|
| Modifier and Type | Method and Description |
|---|---|
| public ConstantPoolBuilder | constantPool()
Implements java. Returns the constant pool builder associated with this builder. |
| public BufferedFieldBuilder | |
| public FieldModel | |
| public FieldBuilder | with(FieldElement element)
Implements java. Integrates the member element into the structure being built. |
| constantPool | back to summary |
|---|---|
| private final SplitConstantPool constantPool | |
| context | back to summary |
|---|---|
| private final ClassFileImpl context | |
| desc | back to summary |
|---|---|
| private final Utf8Entry desc | |
| elements | back to summary |
|---|---|
| private final List<FieldElement> elements | |
| flags | back to summary |
|---|---|
| private AccessFlags flags | |
| name | back to summary |
|---|---|
| private final Utf8Entry name | |
| BufferedFieldBuilder | back to summary |
|---|---|
| public BufferedFieldBuilder(SplitConstantPool constantPool, ClassFileImpl context, Utf8Entry name, Utf8Entry type) | |
| constantPool | back to summary |
|---|---|
| public ConstantPoolBuilder constantPool() Implements java. Doc from java. Returns the constant pool builder associated with this builder.
| |
| run | back to summary |
|---|---|
| public BufferedFieldBuilder run(Consumer<? super FieldBuilder> handler) | |
| toModel | back to summary |
|---|---|
| public FieldModel toModel() | |
| with | back to summary |
|---|---|
| public FieldBuilder with(FieldElement element) Implements java. Doc from java. Integrates the member element into the structure being built.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Utf8Entry | |
| public Utf8Entry | fieldType()
Implements java. Returns the field descriptor string of this field. |
| public AccessFlags | |
| public Optional | parent()
Implements java. Returns the class model this field is a member of, if known. |
| public String | |
| public void |
| Model | back to summary |
|---|---|
| public Model() | |
| fieldName | back to summary |
|---|---|
| public Utf8Entry fieldName() Implements java. Doc from java. Returns the name of this field.
| |
| fieldType | back to summary |
|---|---|
| public Utf8Entry fieldType() Implements java. Doc from java. Returns the field descriptor string of this field.
| |
| flags | back to summary |
|---|---|
| public AccessFlags flags() Implements java. Doc from java. Returns the access flags.
| |
| parent | back to summary |
|---|---|
| public Optional Implements java. Doc from java. Returns the class model this field is a member of, if known.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| writeTo | back to summary |
|---|---|
| public void writeTo(DirectClassBuilder builder) Overrides jdk.
| |