ClassBuilder#withField(String, ClassDesc, Consumer). The access flag overload is
useful if no attribute needs to be configured, skipping the handler.
Refer to ClassFileBuilder for general guidance and caution around
the use of builders for structures in the class file format.
ClassBuilder#withField(String, ClassDesc, Consumer), FieldModel, FieldTransform
| Modifier and Type | Method and Description |
|---|---|
| public default FieldBuilder | Returns: this builderthe access flags, as a bit mask flags)Sets the field access flags. |
| public default FieldBuilder | Returns: this builderthe access flags, as a bit mask flags)Sets the field access flags. |
| withFlags | back to summary |
|---|---|
| public default FieldBuilder withFlags(int flags) Sets the field access flags.
| |
| withFlags | back to summary |
|---|---|
| public default FieldBuilder withFlags(AccessFlag... flags) Sets the field access flags.
| |