Package org.derive4j.processor.api
Class EitherModels.EitherModel_
- java.lang.Object
-
- org.derive4j.processor.api.EitherModel
-
- org.derive4j.processor.api.EitherModels.EitherModel_
-
- Enclosing class:
- EitherModels
private static final class EitherModels.EitherModel_ extends EitherModel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.derive4j.processor.api.EitherModel
EitherModel.Case<R>
-
-
Field Summary
Fields Modifier and Type Field Description private javax.lang.model.element.ExecutableElement
leftConstructor
private javax.lang.model.element.ExecutableElement
rightConstructor
private javax.lang.model.element.TypeElement
typeElement
-
Constructor Summary
Constructors Constructor Description EitherModel_(javax.lang.model.element.TypeElement typeElement, javax.lang.model.element.ExecutableElement leftConstructor, javax.lang.model.element.ExecutableElement rightConstructor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
match(EitherModel.Case<R> Case)
-
Methods inherited from class org.derive4j.processor.api.EitherModel
leftConstructor, rightConstructor, typeElement
-
-
-
-
Method Detail
-
match
public <R> R match(EitherModel.Case<R> Case)
- Specified by:
match
in classEitherModel
-
-