Package org.derive4j.processor.api.model
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
public static class Expressions.CasesMatchers.PartialMatcher<X> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.Function<com.squareup.javapoet.CodeBlock,X>baseExpressionprivate java.util.function.Function<java.util.function.UnaryOperator<com.squareup.javapoet.CodeBlock>,X>recursiveExpression
-
Constructor Summary
Constructors Constructor Description PartialMatcher(java.util.function.Function<com.squareup.javapoet.CodeBlock,X> baseExpression, java.util.function.Function<java.util.function.UnaryOperator<com.squareup.javapoet.CodeBlock>,X> recursiveExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.function.Function<Expression,X>otherwise(java.util.function.Supplier<X> otherwise)java.util.function.Function<Expression,X>otherwise_(X x)java.util.function.Function<Expression,java.util.Optional<X>>otherwiseEmpty()
-
-
-
Method Detail
-
otherwise
public final java.util.function.Function<Expression,X> otherwise(java.util.function.Supplier<X> otherwise)
-
otherwise_
public final java.util.function.Function<Expression,X> otherwise_(X x)
-
otherwiseEmpty
public final java.util.function.Function<Expression,java.util.Optional<X>> otherwiseEmpty()
-
-