Package org.derive4j.processor.api
Class DerivatorSelections.Selection
- java.lang.Object
-
- org.derive4j.processor.api.DerivatorSelection
-
- org.derive4j.processor.api.DerivatorSelections.Selection
-
- Enclosing class:
- DerivatorSelections
private static final class DerivatorSelections.Selection extends DerivatorSelection
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.derive4j.processor.api.DerivatorSelection
DerivatorSelection.Case<X>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X> X
match(DerivatorSelection.Case<X> selection)
-
Methods inherited from class org.derive4j.processor.api.DerivatorSelection
selection
-
-
-
-
Field Detail
-
forClass
private final com.squareup.javapoet.ClassName forClass
-
selector
private final java.util.Optional<java.lang.String> selector
-
derivator
private final Derivator derivator
-
-
Constructor Detail
-
Selection
Selection(com.squareup.javapoet.ClassName forClass, java.util.Optional<java.lang.String> selector, Derivator derivator)
-
-
Method Detail
-
match
public <X> X match(DerivatorSelection.Case<X> selection)
- Specified by:
match
in classDerivatorSelection
-
-