Package org.derive4j.processor.api.model
Class DataConstructions.OneConstructor
- java.lang.Object
-
- org.derive4j.processor.api.model.DataConstruction
-
- org.derive4j.processor.api.model.DataConstructions.OneConstructor
-
- Enclosing class:
- DataConstructions
private static final class DataConstructions.OneConstructor extends DataConstruction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.derive4j.processor.api.model.DataConstruction
DataConstruction.Cases<R>
-
-
Field Summary
Fields Modifier and Type Field Description private DataConstructor
constructor
-
Constructor Summary
Constructors Constructor Description OneConstructor(DataConstructor constructor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
match(DataConstruction.Cases<R> cases)
-
Methods inherited from class org.derive4j.processor.api.model.DataConstruction
constructors, isVisitorDispatch, multipleConstructors, noConstructor, oneConstructor
-
-
-
-
Field Detail
-
constructor
private final DataConstructor constructor
-
-
Constructor Detail
-
OneConstructor
OneConstructor(DataConstructor constructor)
-
-
Method Detail
-
match
public <R> R match(DataConstruction.Cases<R> cases)
- Specified by:
match
in classDataConstruction
-
-