Uses of Class
org.derive4j.processor.api.model.DataConstruction
-
Packages that use DataConstruction Package Description org.derive4j.processor org.derive4j.processor.api.model -
-
Uses of DataConstruction in org.derive4j.processor
Methods in org.derive4j.processor that return types with arguments of type DataConstruction Modifier and Type Method Description private DeriveResult<DataConstruction>
AdtParser. parseDataConstruction(javax.lang.model.type.DeclaredType adtDeclaredType, java.util.List<javax.lang.model.type.TypeVariable> adtTypeVariables, javax.lang.model.element.ExecutableElement adtAcceptMethod, javax.lang.model.type.TypeVariable adtAcceptMethodReturnType)
private DeriveResult<DataConstruction>
AdtParser. parseDataConstructionMultipleAgs(javax.lang.model.type.DeclaredType adtDeclaredType, java.util.List<javax.lang.model.type.TypeVariable> adtTypeVariables, java.util.List<P2<javax.lang.model.element.VariableElement,javax.lang.model.type.DeclaredType>> caseHandlers)
private DeriveResult<DataConstruction>
AdtParser. parseDataConstructionOneArg(javax.lang.model.type.DeclaredType adtDeclaredType, java.util.List<javax.lang.model.type.TypeVariable> adtTypeVariables, javax.lang.model.element.VariableElement visitorArg, javax.lang.model.type.DeclaredType visitorType)
Methods in org.derive4j.processor with parameters of type DataConstruction Modifier and Type Method Description private DeriveResult<java.util.List<DataArgument>>
AdtParser. validateFieldTypeUniformity(DataConstruction construction)
-
Uses of DataConstruction in org.derive4j.processor.api.model
Subclasses of DataConstruction in org.derive4j.processor.api.model Modifier and Type Class Description private static class
DataConstructions.Lazy
private static class
DataConstructions.MultipleConstructors_
private static class
DataConstructions.NoConstructor
private static class
DataConstructions.OneConstructor
Fields in org.derive4j.processor.api.model declared as DataConstruction Modifier and Type Field Description private DataConstruction
DataConstructions.CaseOfMatchers.PartialMatcher. _dataConstruction
private DataConstruction
DataConstructions.CaseOfMatchers.TotalMatcher_MultipleConstructors. _dataConstruction
private 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 DataConstruction Modifier and Type Field Description private java.util.function.Supplier<DataConstruction>
DataConstructions.Lazy. expression
private static java.util.function.Function<DataConstruction,java.util.List<DataConstructor>>
DataConstruction. getConstructors
Methods in org.derive4j.processor.api.model that return DataConstruction Modifier and Type Method Description private DataConstruction
DataConstructions.Lazy. _evaluate()
DataConstruction
AlgebraicDataType. dataConstruction()
static DataConstruction
AlgebraicDataTypes. getDataConstruction(AlgebraicDataType algebraicDataType)
static DataConstruction
DataConstructions. lazy(java.util.function.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 DataConstruction Modifier and Type Method Description static java.util.function.Function<DataConstruction,DataConstruction>
DataConstructions. modConstructor(java.util.function.Function<DataConstructor,DataConstructor> constructorMod)
static java.util.function.Function<DataConstruction,DataConstruction>
DataConstructions. modConstructor(java.util.function.Function<DataConstructor,DataConstructor> constructorMod)
static java.util.function.Function<DataConstruction,DataConstruction>
DataConstructions. modConstructors(java.util.function.Function<MultipleConstructors,MultipleConstructors> constructorsMod)
static java.util.function.Function<DataConstruction,DataConstruction>
DataConstructions. modConstructors(java.util.function.Function<MultipleConstructors,MultipleConstructors> constructorsMod)
java.util.function.Function<DataConstruction,R>
DataConstructions.CasesMatchers.TotalMatcher_NoConstructor. noConstructor(java.util.function.Supplier<R> noConstructor)
java.util.function.Function<DataConstruction,R>
DataConstructions.CasesMatchers.TotalMatcher_NoConstructor. noConstructor_(R r)
java.util.function.Function<DataConstruction,R>
DataConstructions.CasesMatchers.PartialMatcher. otherwise(java.util.function.Supplier<R> otherwise)
java.util.function.Function<DataConstruction,R>
DataConstructions.CasesMatchers.PartialMatcher. otherwise_(R r)
java.util.function.Function<DataConstruction,java.util.Optional<R>>
DataConstructions.CasesMatchers.PartialMatcher. otherwiseEmpty()
static java.util.function.Function<DataConstruction,DataConstruction>
DataConstructions. setConstructor(DataConstructor newConstructor)
static java.util.function.Function<DataConstruction,DataConstruction>
DataConstructions. setConstructor(DataConstructor newConstructor)
static java.util.function.Function<DataConstruction,DataConstruction>
DataConstructions. setConstructors(MultipleConstructors newConstructors)
static java.util.function.Function<DataConstruction,DataConstruction>
DataConstructions. setConstructors(MultipleConstructors newConstructors)
Methods in org.derive4j.processor.api.model with parameters of type DataConstruction Modifier and Type Method Description R
AlgebraicDataType.Case. adt(DeriveConfig deriveConfig, TypeConstructor typeConstructor, MatchMethod matchMethod, DataConstruction dataConstruction, java.util.List<DataArgument> fields)
static AlgebraicDataType
AlgebraicDataTypes. adt(DeriveConfig deriveConfig, TypeConstructor typeConstructor, MatchMethod matchMethod, DataConstruction dataConstruction, java.util.List<DataArgument> fields)
static DataConstructions.CaseOfMatchers.TotalMatcher_MultipleConstructors
DataConstructions. caseOf(DataConstruction dataConstruction)
static java.util.Optional<DataConstructor>
DataConstructions. getConstructor(DataConstruction dataConstruction)
static java.util.Optional<MultipleConstructors>
DataConstructions. getConstructors(DataConstruction dataConstruction)
static java.util.function.Function<AlgebraicDataType,AlgebraicDataType>
AlgebraicDataTypes. setDataConstruction(DataConstruction newDataConstruction)
Method parameters in org.derive4j.processor.api.model with type arguments of type DataConstruction Modifier and Type Method Description static DataConstruction
DataConstructions. lazy(java.util.function.Supplier<DataConstruction> dataConstruction)
static java.util.function.Function<AlgebraicDataType,AlgebraicDataType>
AlgebraicDataTypes. modDataConstruction(java.util.function.Function<DataConstruction,DataConstruction> dataConstructionMod)
static java.util.function.Function<AlgebraicDataType,AlgebraicDataType>
AlgebraicDataTypes. modDataConstruction(java.util.function.Function<DataConstruction,DataConstruction> dataConstructionMod)
Constructors in org.derive4j.processor.api.model with parameters of type DataConstruction Constructor Description Adt(DeriveConfig deriveConfig, TypeConstructor typeConstructor, MatchMethod matchMethod, DataConstruction dataConstruction, java.util.List<DataArgument> fields)
PartialMatcher(DataConstruction _dataConstruction, java.util.function.Function<MultipleConstructors,R> multipleConstructors, java.util.function.Function<DataConstructor,R> oneConstructor, java.util.function.Supplier<R> noConstructor)
PartialMatcher_NoConstructor(DataConstruction _dataConstruction, java.util.function.Function<MultipleConstructors,R> multipleConstructors, java.util.function.Function<DataConstructor,R> oneConstructor)
TotalMatcher_MultipleConstructors(DataConstruction _dataConstruction)
TotalMatcher_NoConstructor(DataConstruction _dataConstruction, java.util.function.Function<MultipleConstructors,R> multipleConstructors, java.util.function.Function<DataConstructor,R> oneConstructor)
TotalMatcher_OneConstructor(DataConstruction _dataConstruction, java.util.function.Function<MultipleConstructors,R> multipleConstructors)
Constructor parameters in org.derive4j.processor.api.model with type arguments of type DataConstruction Constructor Description Lazy(java.util.function.Supplier<DataConstruction> dataConstruction)
-