Package org.derive4j.processor.api.model
Class MultipleConstructorsSupport.Lazy
- java.lang.Object
-
- org.derive4j.processor.api.model.MultipleConstructors
-
- org.derive4j.processor.api.model.MultipleConstructorsSupport.Lazy
-
- Enclosing class:
- MultipleConstructorsSupport
private static final class MultipleConstructorsSupport.Lazy extends MultipleConstructors
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.derive4j.processor.api.model.MultipleConstructors
MultipleConstructors.Cases<R>
-
-
Field Summary
Fields Modifier and Type Field Description private MultipleConstructors
evaluation
private java.util.function.Supplier<MultipleConstructors>
expression
-
Constructor Summary
Constructors Constructor Description Lazy(java.util.function.Supplier<MultipleConstructors> multipleConstructors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private MultipleConstructors
_evaluate()
<R> R
match(MultipleConstructors.Cases<R> cases)
-
Methods inherited from class org.derive4j.processor.api.model.MultipleConstructors
constructors, functionsDispatch, isVisitorDispatch, visitorDispatch
-
-
-
-
Field Detail
-
expression
private volatile java.util.function.Supplier<MultipleConstructors> expression
-
evaluation
private MultipleConstructors evaluation
-
-
Constructor Detail
-
Lazy
Lazy(java.util.function.Supplier<MultipleConstructors> multipleConstructors)
-
-
Method Detail
-
_evaluate
private MultipleConstructors _evaluate()
-
match
public <R> R match(MultipleConstructors.Cases<R> cases)
- Specified by:
match
in classMultipleConstructors
-
-