Interface TypedFieldBuilder
-
- All Superinterfaces:
AnnotatedElementBuilder<TypedFieldBuilder>
public interface TypedFieldBuilder extends AnnotatedElementBuilder<TypedFieldBuilder>
A fluent API for building typed fields lazily.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypedFieldBuilder
asArray()
Mark the field as holding an array valueTypedField
build()
Build new TypedField instance-
Methods inherited from interface org.openjdk.jmc.flightrecorder.writer.api.AnnotatedElementBuilder
addAnnotation, addAnnotation, addAnnotation, addAnnotation, addAnnotation, addAnnotation
-
-
-
-
Method Detail
-
asArray
TypedFieldBuilder asArray()
Mark the field as holding an array value- Returns:
- a TypedFieldBuilder instance for invocation chaining
-
build
TypedField build()
Build new TypedField instance- Returns:
- TypedField instance
-
-