Package org.derive4j.processor.api
Class EitherModels
- java.lang.Object
-
- org.derive4j.processor.api.EitherModels
-
public final class EitherModels extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEitherModels.CasesMatchersprivate static classEitherModels.EitherModel_private static classEitherModels.Lazy
-
Constructor Summary
Constructors Modifier Constructor Description privateEitherModels()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EitherModels.CasesMatchers.TotalMatcher_EitherModelcases()static EitherModelEitherModel(javax.lang.model.element.TypeElement typeElement, javax.lang.model.element.ExecutableElement leftConstructor, javax.lang.model.element.ExecutableElement rightConstructor)static javax.lang.model.element.ExecutableElementgetLeftConstructor(EitherModel eitherModel)static javax.lang.model.element.ExecutableElementgetRightConstructor(EitherModel eitherModel)static javax.lang.model.element.TypeElementgetTypeElement(EitherModel eitherModel)static EitherModellazy(java.util.function.Supplier<EitherModel> eitherModel)static java.util.function.Function<EitherModel,EitherModel>modLeftConstructor(java.util.function.Function<javax.lang.model.element.ExecutableElement,javax.lang.model.element.ExecutableElement> leftConstructorMod)static java.util.function.Function<EitherModel,EitherModel>modRightConstructor(java.util.function.Function<javax.lang.model.element.ExecutableElement,javax.lang.model.element.ExecutableElement> rightConstructorMod)static java.util.function.Function<EitherModel,EitherModel>modTypeElement(java.util.function.Function<javax.lang.model.element.TypeElement,javax.lang.model.element.TypeElement> typeElementMod)static java.util.function.Function<EitherModel,EitherModel>setLeftConstructor(javax.lang.model.element.ExecutableElement newLeftConstructor)static java.util.function.Function<EitherModel,EitherModel>setRightConstructor(javax.lang.model.element.ExecutableElement newRightConstructor)static java.util.function.Function<EitherModel,EitherModel>setTypeElement(javax.lang.model.element.TypeElement newTypeElement)
-
-
-
Method Detail
-
EitherModel
public static EitherModel EitherModel(javax.lang.model.element.TypeElement typeElement, javax.lang.model.element.ExecutableElement leftConstructor, javax.lang.model.element.ExecutableElement rightConstructor)
-
lazy
public static EitherModel lazy(java.util.function.Supplier<EitherModel> eitherModel)
-
cases
public static EitherModels.CasesMatchers.TotalMatcher_EitherModel cases()
-
getTypeElement
public static javax.lang.model.element.TypeElement getTypeElement(EitherModel eitherModel)
-
getLeftConstructor
public static javax.lang.model.element.ExecutableElement getLeftConstructor(EitherModel eitherModel)
-
getRightConstructor
public static javax.lang.model.element.ExecutableElement getRightConstructor(EitherModel eitherModel)
-
setTypeElement
public static java.util.function.Function<EitherModel,EitherModel> setTypeElement(javax.lang.model.element.TypeElement newTypeElement)
-
modTypeElement
public static java.util.function.Function<EitherModel,EitherModel> modTypeElement(java.util.function.Function<javax.lang.model.element.TypeElement,javax.lang.model.element.TypeElement> typeElementMod)
-
setLeftConstructor
public static java.util.function.Function<EitherModel,EitherModel> setLeftConstructor(javax.lang.model.element.ExecutableElement newLeftConstructor)
-
modLeftConstructor
public static java.util.function.Function<EitherModel,EitherModel> modLeftConstructor(java.util.function.Function<javax.lang.model.element.ExecutableElement,javax.lang.model.element.ExecutableElement> leftConstructorMod)
-
setRightConstructor
public static java.util.function.Function<EitherModel,EitherModel> setRightConstructor(javax.lang.model.element.ExecutableElement newRightConstructor)
-
modRightConstructor
public static java.util.function.Function<EitherModel,EitherModel> modRightConstructor(java.util.function.Function<javax.lang.model.element.ExecutableElement,javax.lang.model.element.ExecutableElement> rightConstructorMod)
-
-