Class Expressions.CasesMatchers.PartialMatcher<X>
java.lang.Object
org.derive4j.processor.api.model.Expressions.CasesMatchers.PartialMatcher<X>
- Direct Known Subclasses:
Expressions.CasesMatchers.TotalMatcher_RecursiveExpression
- Enclosing class:
Expressions.CasesMatchers
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<UnaryOperator<com.squareup.javapoet.CodeBlock>, X> -
Constructor Summary
ConstructorsConstructorDescriptionPartialMatcher(Function<com.squareup.javapoet.CodeBlock, X> baseExpression, Function<UnaryOperator<com.squareup.javapoet.CodeBlock>, X> recursiveExpression) -
Method Summary
Modifier and TypeMethodDescriptionfinal Function<Expression, X> final Function<Expression, X> otherwise_(X x) final Function<Expression, Optional<X>>
-
Field Details
-
baseExpression
-
recursiveExpression
-
-
Constructor Details
-
PartialMatcher
PartialMatcher(Function<com.squareup.javapoet.CodeBlock, X> baseExpression, Function<UnaryOperator<com.squareup.javapoet.CodeBlock>, X> recursiveExpression)
-
-
Method Details
-
otherwise
-
otherwise_
-
otherwiseEmpty
-