Uses of Class
org.derive4j.processor.api.model.DataArgument
Packages that use DataArgument
Package
Description
-
Uses of DataArgument in org.derive4j.processor
Methods in org.derive4j.processor that return types with arguments of type DataArgumentModifier and TypeMethodDescriptionprivate DeriveResult
<List<DataArgument>> AdtParser.validateFieldTypeUniformity
(DataConstruction construction) Methods in org.derive4j.processor with parameters of type DataArgumentModifier and TypeMethodDescriptionprivate DerivedCodeSpec
GettersDerivator.deriveGetter
(DataArgument field, AlgebraicDataType adt) private static String
StrictConstructorDerivator.equalityTest
(DataArgument da) private static DerivedCodeSpec
GettersDerivator.functionsDispatchLensGetterImpl
(AlgebraicDataType adt, String arg, DataArgument field) private static DerivedCodeSpec
GettersDerivator.functionsDispatchOptionalGetterImpl
(OptionModel optionModel, AlgebraicDataType adt, String arg, List<DataConstructor> constructors, DataArgument field, DeclaredType returnType) private DerivedCodeSpec
GettersDerivator.generateLensGetter
(DataArgument field, AlgebraicDataType adt) private DerivedCodeSpec
ModifiersDerivator.generateModifier
(DataArgument field, AlgebraicDataType adt) private DerivedCodeSpec
GettersDerivator.generateOptionalGetter
(DataArgument field, AlgebraicDataType adt) private static com.squareup.javapoet.MethodSpec.Builder
GettersDerivator.getterBuilder
(AlgebraicDataType adt, String arg, DataArgument field, TypeMirror type) private static List
<TypeVariable> ModifiersDerivator.getUniqueTypeVariables
(DataArgument field, List<DataArgument> allFields, DeriveUtils deriveUtils) private static String
StrictConstructorDerivator.hascode
(DataArgument da) private static boolean
GettersDerivator.isLens
(DataArgument field, List<DataConstructor> constructors) private static String
GettersDerivator.lensGetterLambda
(String arg, AlgebraicDataType adt, DataArgument field) private static com.squareup.javapoet.CodeBlock
GettersDerivator.optionalGetterLambdas
(String arg, OptionModel optionModel, List<DataConstructor> constructors, DataArgument field) private static String
StrictConstructorDerivator.toString
(DataArgument da) private DerivedCodeSpec
GettersDerivator.visitorDispatchLensGetterImpl
(AlgebraicDataType adt, String arg, DeclaredType visitorType, DataArgument field) private DerivedCodeSpec
GettersDerivator.visitorDispatchOptionalGetterImpl
(OptionModel optionModel, AlgebraicDataType adt, DeclaredType visitorType, List<DataConstructor> constructors, String arg, DataArgument field, DeclaredType returnType) Method parameters in org.derive4j.processor with type arguments of type DataArgumentModifier and TypeMethodDescription(package private) static String
Utils.asArgumentsString
(List<DataArgument> arguments) (package private) static String
Utils.asArgumentsString
(List<DataArgument> arguments, List<TypeRestriction> restrictions) (package private) static String
Utils.asLambdaParametersString
(List<DataArgument> arguments, List<TypeRestriction> restrictions) (package private) static String
Utils.asLambdaParametersString
(List<DataArgument> arguments, List<TypeRestriction> typeRestrictions, com.squareup.javapoet.NameAllocator nameAllocator) (package private) static String
Utils.asLambdaParametersString
(List<DataArgument> arguments, List<TypeRestriction> restrictions, String suffix) private static List
<TypeVariable> ModifiersDerivator.getUniqueTypeVariables
(DataArgument field, List<DataArgument> allFields, DeriveUtils deriveUtils) -
Uses of DataArgument in org.derive4j.processor.api
Methods in org.derive4j.processor.api with parameters of type DataArgumentModifier and TypeMethodDescriptioncom.squareup.javapoet.CodeBlock
InstanceUtils.instanceFor
(DataArgument da) -
Uses of DataArgument in org.derive4j.processor.api.model
Subclasses of DataArgument in org.derive4j.processor.api.modelModifier and TypeClassDescriptionprivate static final class
private static final class
Fields in org.derive4j.processor.api.model declared as DataArgumentModifier and TypeFieldDescriptionprivate DataArgument
DataArguments.Lazy.evaluation
private final DataArgument
TypeRestrictions.TypeRestriction_.typeEq
Fields in org.derive4j.processor.api.model with type parameters of type DataArgumentModifier and TypeFieldDescriptionprivate final List
<DataArgument> DataConstructors.Constructor.arguments
private Supplier
<DataArgument> DataArguments.Lazy.expression
private final List
<DataArgument> AlgebraicDataTypes.Adt.fields
Methods in org.derive4j.processor.api.model that return DataArgumentModifier and TypeMethodDescriptionprivate DataArgument
DataArguments.Lazy._evaluate()
(package private) static DataArgument
DataArgument.dataArgument
(String fieldName, TypeMirror type) static DataArgument
DataArguments.dataArgument
(String fieldName, TypeMirror type) (package private) static DataArgument
DataArguments.dataArgument0
(String fieldName, TypeMirror type) static DataArgument
TypeRestrictions.getTypeEq
(TypeRestriction typeRestriction) static DataArgument
DataArguments.lazy
(Supplier<DataArgument> dataArgument) TypeRestriction.typeEq()
Methods in org.derive4j.processor.api.model that return types with arguments of type DataArgumentModifier and TypeMethodDescriptionDataConstructor.arguments()
final <R> Function
<DataArgument, R> DataArguments.CasesMatchers.TotalMatcher_DataArgument.dataArgument
(BiFunction<String, TypeMirror, R> dataArgument) final <R> Function
<DataArgument, R> DataArguments.CasesMatchers.TotalMatcher_DataArgument.dataArgument_
(R r) AlgebraicDataType.fields()
static List
<DataArgument> DataConstructors.getArguments
(DataConstructor dataConstructor) static List
<DataArgument> AlgebraicDataTypes.getFields
(AlgebraicDataType algebraicDataType) (package private) static Function
<DataArgument, DataArgument> DataArguments.modFieldName0
(Function<String, String> fieldNameMod) (package private) static Function
<DataArgument, DataArgument> DataArguments.modFieldName0
(Function<String, String> fieldNameMod) (package private) static Function
<DataArgument, DataArgument> DataArguments.modType0
(Function<TypeMirror, TypeMirror> typeMod) (package private) static Function
<DataArgument, DataArgument> DataArguments.modType0
(Function<TypeMirror, TypeMirror> typeMod) (package private) static Function
<DataArgument, DataArgument> DataArguments.setFieldName0
(String newFieldName) (package private) static Function
<DataArgument, DataArgument> DataArguments.setFieldName0
(String newFieldName) (package private) static Function
<DataArgument, DataArgument> DataArguments.setType0
(TypeMirror newType) (package private) static Function
<DataArgument, DataArgument> DataArguments.setType0
(TypeMirror newType) Methods in org.derive4j.processor.api.model with parameters of type DataArgumentModifier and TypeMethodDescriptionstatic String
DataArguments.getFieldName
(DataArgument dataArgument) static TypeMirror
DataArguments.getType
(DataArgument dataArgument) static Function
<TypeRestriction, TypeRestriction> TypeRestrictions.setTypeEq
(DataArgument newTypeEq) TypeRestriction.Case.typeRestriction
(TypeVariable restrictedTypeVariable, TypeMirror refinementType, DataArgument typeEq) static TypeRestriction
TypeRestriction.typeRestriction
(TypeVariable restrictedTypeVariable, TypeMirror type, DataArgument typeEq) static TypeRestriction
TypeRestrictions.typeRestriction
(TypeVariable restrictedTypeVariable, TypeMirror refinementType, DataArgument typeEq) Method parameters in org.derive4j.processor.api.model with type arguments of type DataArgumentModifier 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) static DataArgument
DataArguments.lazy
(Supplier<DataArgument> dataArgument) static Function
<DataConstructor, DataConstructor> DataConstructors.modArguments
(Function<List<DataArgument>, List<DataArgument>> argumentsMod) static Function
<DataConstructor, DataConstructor> DataConstructors.modArguments
(Function<List<DataArgument>, List<DataArgument>> argumentsMod) AlgebraicDataTypes.modFields
(Function<List<DataArgument>, List<DataArgument>> fieldsMod) AlgebraicDataTypes.modFields
(Function<List<DataArgument>, List<DataArgument>> fieldsMod) static Function
<TypeRestriction, TypeRestriction> TypeRestrictions.modTypeEq
(Function<DataArgument, DataArgument> typeEqMod) static Function
<TypeRestriction, TypeRestriction> TypeRestrictions.modTypeEq
(Function<DataArgument, DataArgument> typeEqMod) static Function
<DataConstructor, DataConstructor> DataConstructors.setArguments
(List<DataArgument> newArguments) AlgebraicDataTypes.setFields
(List<DataArgument> newFields) Constructors in org.derive4j.processor.api.model with parameters of type DataArgumentModifierConstructorDescription(package private)
TypeRestriction_
(TypeVariable restrictedTypeVariable, TypeMirror refinementType, DataArgument typeEq) Constructor parameters in org.derive4j.processor.api.model with type arguments of type DataArgumentModifierConstructorDescription(package private)
Adt
(DeriveConfig deriveConfig, TypeConstructor typeConstructor, MatchMethod matchMethod, DataConstruction dataConstruction, List<DataArgument> fields) (package private)
Lazy
(Supplier<DataArgument> dataArgument)