Uses of Class
org.derive4j.processor.api.model.DataConstruction
Packages that use DataConstruction
-
Uses of DataConstruction in org.derive4j.processor
Methods in org.derive4j.processor that return types with arguments of type DataConstructionModifier and TypeMethodDescriptionprivate DeriveResult
<DataConstruction> AdtParser.parseDataConstruction
(DeclaredType adtDeclaredType, List<TypeVariable> adtTypeVariables, ExecutableElement adtAcceptMethod, TypeVariable adtAcceptMethodReturnType) private DeriveResult
<DataConstruction> AdtParser.parseDataConstructionMultipleAgs
(DeclaredType adtDeclaredType, List<TypeVariable> adtTypeVariables, List<P2<VariableElement, DeclaredType>> caseHandlers) private DeriveResult
<DataConstruction> AdtParser.parseDataConstructionOneArg
(DeclaredType adtDeclaredType, List<TypeVariable> adtTypeVariables, VariableElement visitorArg, DeclaredType visitorType) Methods in org.derive4j.processor with parameters of type DataConstructionModifier and TypeMethodDescriptionprivate DeriveResult
<List<DataArgument>> AdtParser.validateFieldTypeUniformity
(DataConstruction construction) -
Uses of DataConstruction in org.derive4j.processor.api.model
Subclasses of DataConstruction in org.derive4j.processor.api.modelModifier and TypeClassDescriptionprivate static final class
private static final class
private static final class
private static final class
Fields in org.derive4j.processor.api.model declared as DataConstructionModifier and TypeFieldDescriptionprivate final DataConstruction
DataConstructions.CaseOfMatchers.PartialMatcher._dataConstruction
private final DataConstruction
DataConstructions.CaseOfMatchers.TotalMatcher_MultipleConstructors._dataConstruction
private final DataConstruction
AlgebraicDataTypes.Adt.dataConstruction
private DataConstruction
DataConstructions.Lazy.evaluation
private static DataConstruction
DataConstructions.noConstructor
Fields in org.derive4j.processor.api.model with type parameters of type DataConstructionModifier and TypeFieldDescriptionprivate Supplier
<DataConstruction> DataConstructions.Lazy.expression
private static final Function
<DataConstruction, List<DataConstructor>> DataConstruction.getConstructors
Methods in org.derive4j.processor.api.model that return DataConstructionModifier and TypeMethodDescriptionprivate DataConstruction
DataConstructions.Lazy._evaluate()
AlgebraicDataType.dataConstruction()
static DataConstruction
AlgebraicDataTypes.getDataConstruction
(AlgebraicDataType algebraicDataType) static DataConstruction
DataConstructions.lazy
(Supplier<DataConstruction> dataConstruction) static DataConstruction
DataConstruction.multipleConstructors
(MultipleConstructors constructors) static DataConstruction
DataConstructions.multipleConstructors
(MultipleConstructors constructors) static DataConstruction
DataConstruction.noConstructor()
static DataConstruction
DataConstructions.noConstructor()
static DataConstruction
DataConstruction.oneConstructor
(DataConstructor constructor) static DataConstruction
DataConstructions.oneConstructor
(DataConstructor constructor) Methods in org.derive4j.processor.api.model that return types with arguments of type DataConstructionModifier and TypeMethodDescriptionstatic Function
<DataConstruction, DataConstruction> DataConstructions.modConstructor
(Function<DataConstructor, DataConstructor> constructorMod) static Function
<DataConstruction, DataConstruction> DataConstructions.modConstructor
(Function<DataConstructor, DataConstructor> constructorMod) static Function
<DataConstruction, DataConstruction> DataConstructions.modConstructors
(Function<MultipleConstructors, MultipleConstructors> constructorsMod) static Function
<DataConstruction, DataConstruction> DataConstructions.modConstructors
(Function<MultipleConstructors, MultipleConstructors> constructorsMod) final Function
<DataConstruction, R> DataConstructions.CasesMatchers.TotalMatcher_NoConstructor.noConstructor
(Supplier<R> noConstructor) final Function
<DataConstruction, R> DataConstructions.CasesMatchers.TotalMatcher_NoConstructor.noConstructor_
(R r) final Function
<DataConstruction, R> final Function
<DataConstruction, R> DataConstructions.CasesMatchers.PartialMatcher.otherwise_
(R r) final Function
<DataConstruction, Optional<R>> DataConstructions.CasesMatchers.PartialMatcher.otherwiseEmpty()
static Function
<DataConstruction, DataConstruction> DataConstructions.setConstructor
(DataConstructor newConstructor) static Function
<DataConstruction, DataConstruction> DataConstructions.setConstructor
(DataConstructor newConstructor) static Function
<DataConstruction, DataConstruction> DataConstructions.setConstructors
(MultipleConstructors newConstructors) static Function
<DataConstruction, DataConstruction> DataConstructions.setConstructors
(MultipleConstructors newConstructors) Methods in org.derive4j.processor.api.model with parameters of type DataConstructionModifier and TypeMethodDescriptionAlgebraicDataType.Case.adt
(DeriveConfig deriveConfig, TypeConstructor typeConstructor, MatchMethod matchMethod, DataConstruction dataConstruction, List<DataArgument> fields) static AlgebraicDataType
AlgebraicDataTypes.adt
(DeriveConfig deriveConfig, TypeConstructor typeConstructor, MatchMethod matchMethod, DataConstruction dataConstruction, List<DataArgument> fields) DataConstructions.caseOf
(DataConstruction dataConstruction) static Optional
<DataConstructor> DataConstructions.getConstructor
(DataConstruction dataConstruction) static Optional
<MultipleConstructors> DataConstructions.getConstructors
(DataConstruction dataConstruction) AlgebraicDataTypes.setDataConstruction
(DataConstruction newDataConstruction) Method parameters in org.derive4j.processor.api.model with type arguments of type DataConstructionModifier and TypeMethodDescriptionstatic DataConstruction
DataConstructions.lazy
(Supplier<DataConstruction> dataConstruction) AlgebraicDataTypes.modDataConstruction
(Function<DataConstruction, DataConstruction> dataConstructionMod) AlgebraicDataTypes.modDataConstruction
(Function<DataConstruction, DataConstruction> dataConstructionMod) Constructors in org.derive4j.processor.api.model with parameters of type DataConstructionModifierConstructorDescription(package private)
Adt
(DeriveConfig deriveConfig, TypeConstructor typeConstructor, MatchMethod matchMethod, DataConstruction dataConstruction, List<DataArgument> fields) (package private)
PartialMatcher
(DataConstruction _dataConstruction, Function<MultipleConstructors, R> multipleConstructors, Function<DataConstructor, R> oneConstructor, Supplier<R> noConstructor) (package private)
PartialMatcher_NoConstructor
(DataConstruction _dataConstruction, Function<MultipleConstructors, R> multipleConstructors, Function<DataConstructor, R> oneConstructor) (package private)
TotalMatcher_MultipleConstructors
(DataConstruction _dataConstruction) (package private)
TotalMatcher_NoConstructor
(DataConstruction _dataConstruction, Function<MultipleConstructors, R> multipleConstructors, Function<DataConstructor, R> oneConstructor) (package private)
TotalMatcher_OneConstructor
(DataConstruction _dataConstruction, Function<MultipleConstructors, R> multipleConstructors) Constructor parameters in org.derive4j.processor.api.model with type arguments of type DataConstructionModifierConstructorDescription(package private)
Lazy
(Supplier<DataConstruction> dataConstruction)