| Modifier and Type | Method and Description |
|---|---|
Layout.Builder |
addAllowedImplicitCast(Layout.ImplicitCast allowedImplicitCast)
Add an allowed implicit cast in this layout.
|
Layout |
build()
Build
Layout from the configuration in this builder. |
Layout.Builder |
setAllowedImplicitCasts(EnumSet<Layout.ImplicitCast> allowedImplicitCasts)
Set the allowed implicit casts in this layout.
|
Layout.Builder |
setPolymorphicUnboxing(boolean polymorphicUnboxing)
If
true, try to keep properties with polymorphic primitive types unboxed. |
public Layout build()
Layout from the configuration in this builder.public Layout.Builder setAllowedImplicitCasts(EnumSet<Layout.ImplicitCast> allowedImplicitCasts)
Layout.ImplicitCastpublic Layout.Builder addAllowedImplicitCast(Layout.ImplicitCast allowedImplicitCast)
Layout.ImplicitCastpublic Layout.Builder setPolymorphicUnboxing(boolean polymorphicUnboxing)
true, try to keep properties with polymorphic primitive types unboxed.