public static final class ImmutableLookupNode.Builder extends Object
ImmutableLookupNode.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ImmutableLookupNode |
build()
Builds a new
ImmutableLookupNode. |
ImmutableLookupNode.Builder |
from(LookupNode instance)
Fill a builder with attribute values from the provided
de.flapdoodle.eval.core.tree.LookupNode instance. |
ImmutableLookupNode.Builder |
from(Node instance)
Fill a builder with attribute values from the provided
de.flapdoodle.eval.core.tree.Node instance. |
ImmutableLookupNode.Builder |
token(Token token)
Initializes the value for the
token attribute. |
public final ImmutableLookupNode.Builder from(Node instance)
de.flapdoodle.eval.core.tree.Node instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableLookupNode.Builder from(LookupNode instance)
de.flapdoodle.eval.core.tree.LookupNode instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableLookupNode.Builder token(Token token)
token attribute.token - The value for tokenthis builder for use in a chained invocationpublic ImmutableLookupNode build()
ImmutableLookupNode.IllegalStateException - if any required attributes are missingCopyright © 2024. All rights reserved.