Class ImmutableTrees.Let.Builder
- java.lang.Object
-
- org.immutables.generator.processor.ImmutableTrees.Let.Builder
-
- Enclosing class:
- ImmutableTrees.Let
@NotThreadSafe public static final class ImmutableTrees.Let.Builder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private Trees.InvokableDeclarationdeclarationprivate static longINIT_BIT_DECLARATIONprivate longinitBits
-
Constructor Summary
Constructors Modifier Constructor Description privateBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableTrees.Letbuild()Builds a newLet.ImmutableTrees.Let.Builderdeclaration(Trees.InvokableDeclaration declaration)Initializes the value for thedeclarationattribute.private java.lang.StringformatRequiredAttributesMessage()private voidfrom(short _unused, java.lang.Object object)ImmutableTrees.Let.Builderfrom(Trees.InvokableStatement instance)Fill a builder with attribute values from the providedorg.immutables.generator.processor.Trees.InvokableStatementinstance.ImmutableTrees.Let.Builderfrom(Trees.Let instance)Fill a builder with attribute values from the providedorg.immutables.generator.processor.Trees.Letinstance.
-
-
-
Field Detail
-
INIT_BIT_DECLARATION
private static final long INIT_BIT_DECLARATION
- See Also:
- Constant Field Values
-
initBits
private long initBits
-
declaration
@Nullable private Trees.InvokableDeclaration declaration
-
-
Method Detail
-
from
public final ImmutableTrees.Let.Builder from(Trees.InvokableStatement instance)
Fill a builder with attribute values from the providedorg.immutables.generator.processor.Trees.InvokableStatementinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
from
public final ImmutableTrees.Let.Builder from(Trees.Let instance)
Fill a builder with attribute values from the providedorg.immutables.generator.processor.Trees.Letinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
from
private void from(short _unused, java.lang.Object object)
-
declaration
public final ImmutableTrees.Let.Builder declaration(Trees.InvokableDeclaration declaration)
Initializes the value for thedeclarationattribute.- Parameters:
declaration- The value for declaration- Returns:
thisbuilder for use in a chained invocation
-
build
public ImmutableTrees.Let build()
Builds a newLet.- Returns:
- An immutable instance of Let
- Throws:
java.lang.IllegalStateException- if any required attributes are missing
-
formatRequiredAttributesMessage
private java.lang.String formatRequiredAttributesMessage()
-
-