Uses of Class
org.derive4j.processor.api.model.DataConstructor
Packages that use DataConstructor
Package
Description
-
Uses of DataConstructor in org.derive4j.processor
Methods in org.derive4j.processor that return types with arguments of type DataConstructorModifier and TypeMethodDescriptionprivate DeriveResult<DataConstructor> AdtParser.parseDataConstructor(DeclaredType adtDeclaredType, List<TypeVariable> adtTypeParameters, DataDeconstructor deconstructor, int index) Methods in org.derive4j.processor with parameters of type DataConstructorModifier and TypeMethodDescriptionprivate com.squareup.javapoet.TypeNameCataDerivator.cataMapperTypeName(AlgebraicDataType adt, DataConstructor dc) (package private) static com.squareup.javapoet.MethodSpec.BuilderPatternMatchingDerivator.constantMatchMethodBuilder(AlgebraicDataType adt, DataConstructor currentConstructor) private DerivedCodeSpecStrictConstructorDerivator.constructorSpec(AlgebraicDataType adt, DataConstructor constructor) private Optional<com.squareup.javapoet.MethodSpec> StrictConstructorDerivator.deriveEquals(AlgebraicDataType adt, DataConstructor constructor) private Optional<com.squareup.javapoet.MethodSpec> StrictConstructorDerivator.deriveHashCode(AlgebraicDataType adt, DataConstructor constructor) private Optional<com.squareup.javapoet.MethodSpec> StrictConstructorDerivator.deriveToString(AlgebraicDataType adt, DataConstructor constructor) private com.squareup.javapoet.CodeBlockTotalMatchingStepDerivator.functionDispatchImpl(AlgebraicDataType adt, List<DataConstructor> previousConstructors, DataConstructor currentConstructor) com.squareup.javapoet.CodeBlockDeriveUtilsImpl.lambdaImpl(DataConstructor constructor, com.squareup.javapoet.CodeBlock impl) com.squareup.javapoet.CodeBlockDeriveUtilsImpl.lambdaImpl(DataConstructor constructor, String suffix, com.squareup.javapoet.CodeBlock impl) MapperDerivator.mapperApplyMethod(DeriveConfig deriveConfig, DataConstructor dc) static StringMapperDerivator.mapperFieldName(DataConstructor dc) (package private) static StringMapperDerivator.mapperInterfaceName(DataConstructor dc) com.squareup.javapoet.TypeNameMapperDerivator.mapperTypeName(AlgebraicDataType adt, DataConstructor dc) com.squareup.javapoet.TypeNameMapperDerivator.mapperTypeName(AlgebraicDataType adt, DataConstructor dc, com.squareup.javapoet.TypeName returnType) com.squareup.javapoet.TypeNameMapperDerivator.mapperTypeName(AlgebraicDataType adt, DataConstructor dc, TypeMirror selfReferenceType, com.squareup.javapoet.TypeName returnType) private com.squareup.javapoet.TypeSpecMapperDerivator.mapperTypeSpec(DataConstructor dc) private Stream<com.squareup.javapoet.TypeVariableName> MapperDerivator.mapperVariables(DataConstructor dc) private static com.squareup.javapoet.CodeBlockTotalMatchingStepDerivator.oneConstructorImpl(DataConstructor currentConstructor, AlgebraicDataType adt) com.squareup.javapoet.CodeBlockDeriveUtilsImpl.parameterList(DataConstructor constructor) com.squareup.javapoet.CodeBlockDeriveUtilsImpl.parameterList(DataConstructor constructor, String suffix) private static StringPartialMatchingStepDerivator.partialMatchBuilderClassName(DataConstructor currentConstructor) (package private) com.squareup.javapoet.TypeSpecPartialMatchingStepDerivator.partialMatchingStepTypeSpec(AlgebraicDataType adt, List<DataConstructor> previousConstructors, DataConstructor currentConstructor, List<DataConstructor> nextConstructors) (package private) Stream<com.squareup.javapoet.MethodSpec.Builder> PartialMatchingStepDerivator.partialMatchMethodBuilder(AlgebraicDataType adt, List<DataConstructor> previousConstructors, int nbSkipConstructors, DataConstructor currentConstructor, com.squareup.javapoet.ParameterizedTypeName returnType) (package private) static booleanStrictConstructorDerivator.smartConstructor(DataConstructor constructor, DeriveConfig deriveConfig) (package private) com.squareup.javapoet.TypeSpecTotalMatchingStepDerivator.stepTypeSpec(AlgebraicDataType adt, List<DataConstructor> previousConstructors, DataConstructor currentConstructor, List<DataConstructor> nextConstructors) (package private) static StringTotalMatchingStepDerivator.totalMatchBuilderClassName(DataConstructor currentConstructor) com.squareup.javapoet.TypeNameMapperDerivator.visitorMapperTypeName(AlgebraicDataType adt, DataConstructor dc) private com.squareup.javapoet.CodeBlockTotalMatchingStepDerivator.vistorDispatchImpl(AlgebraicDataType adt, DeclaredType visitorType, VariableElement visitorParam, List<DataConstructor> previousConstructors, DataConstructor currentConstructor) Method parameters in org.derive4j.processor with type arguments of type DataConstructorModifier and TypeMethodDescriptionprivate DerivedCodeSpecCataDerivator.cataVisitor(AlgebraicDataType adt, DeclaredType visitorType, List<DataConstructor> constructors) private DerivedCodeSpecMapperDerivator.createVisitorFactoryAndMappers(AlgebraicDataType adt, DeclaredType acceptedVisitorType, List<DataConstructor> constructors) private DerivedCodeSpecFactoryDerivator.factory(AlgebraicDataType adt, DeclaredType visitorType, List<DataConstructor> constructors) private DeriveResult<DerivedCodeSpec> CataDerivator.functionDispatchImpl(AlgebraicDataType adt, List<DataConstructor> constructors) private com.squareup.javapoet.CodeBlockTotalMatchingStepDerivator.functionDispatchImpl(AlgebraicDataType adt, List<DataConstructor> previousConstructors, DataConstructor currentConstructor) private com.squareup.javapoet.CodeBlockOtherwiseMatchingStepDerivator.functionsDispatchEitherImpl(TypeElement f0, EitherModel eitherModel, com.squareup.javapoet.TypeName eitherTypeName, AlgebraicDataType adt, List<DataConstructor> constructors, String argName) private com.squareup.javapoet.CodeBlockOtherwiseMatchingStepDerivator.functionsDispatchImpl(TypeElement f0, AlgebraicDataType adt, List<DataConstructor> constructors) private static DerivedCodeSpecGettersDerivator.functionsDispatchOptionalGetterImpl(OptionModel optionModel, AlgebraicDataType adt, String arg, List<DataConstructor> constructors, DataArgument field, DeclaredType returnType) private com.squareup.javapoet.CodeBlockOtherwiseMatchingStepDerivator.functionsDispatchOptionImpl(OptionModel optionModel, AlgebraicDataType adt, List<DataConstructor> constructors) private static booleanGettersDerivator.isLens(DataArgument field, List<DataConstructor> constructors) private static com.squareup.javapoet.NameAllocatorCataDerivator.nameAllocator(AlgebraicDataType adt, List<DataConstructor> constructors) private static com.squareup.javapoet.CodeBlockGettersDerivator.optionalGetterLambdas(String arg, OptionModel optionModel, List<DataConstructor> constructors, DataArgument field) (package private) com.squareup.javapoet.TypeSpecPartialMatchingStepDerivator.partialMatchingStepTypeSpec(AlgebraicDataType adt, List<DataConstructor> previousConstructors, DataConstructor currentConstructor, List<DataConstructor> nextConstructors) (package private) Stream<com.squareup.javapoet.MethodSpec.Builder> PartialMatchingStepDerivator.partialMatchMethodBuilder(AlgebraicDataType adt, List<DataConstructor> previousConstructors, int nbSkipConstructors, DataConstructor currentConstructor, com.squareup.javapoet.ParameterizedTypeName returnType) (package private) com.squareup.javapoet.TypeSpecTotalMatchingStepDerivator.stepTypeSpec(AlgebraicDataType adt, List<DataConstructor> previousConstructors, DataConstructor currentConstructor, List<DataConstructor> nextConstructors) (package private) static com.squareup.javapoet.ParameterizedTypeNamePartialMatchingStepDerivator.superClass(AlgebraicDataType adt, PatternMatchingDerivator.MatchingKind matchingKind, List<DataConstructor> nextConstructors) private DeriveResult<DerivedCodeSpec> CataDerivator.visitorDispatchImpl(AlgebraicDataType adt, DeclaredType visitorType, List<DataConstructor> constructors) private DerivedCodeSpecGettersDerivator.visitorDispatchOptionalGetterImpl(OptionModel optionModel, AlgebraicDataType adt, DeclaredType visitorType, List<DataConstructor> constructors, String arg, DataArgument field, DeclaredType returnType) private com.squareup.javapoet.CodeBlockTotalMatchingStepDerivator.vistorDispatchImpl(AlgebraicDataType adt, DeclaredType visitorType, VariableElement visitorParam, List<DataConstructor> previousConstructors, DataConstructor currentConstructor) -
Uses of DataConstructor in org.derive4j.processor.api
Methods in org.derive4j.processor.api with parameters of type DataConstructorModifier and TypeMethodDescriptioncom.squareup.javapoet.CodeBlockDeriveUtils.lambdaImpl(DataConstructor constructor, com.squareup.javapoet.CodeBlock impl) com.squareup.javapoet.CodeBlockDeriveUtils.lambdaImpl(DataConstructor constructor, String suffix, com.squareup.javapoet.CodeBlock impl) com.squareup.javapoet.CodeBlockDeriveUtils.parameterList(DataConstructor constructor) com.squareup.javapoet.CodeBlockDeriveUtils.parameterList(DataConstructor constructor, String suffix) Method parameters in org.derive4j.processor.api with type arguments of type DataConstructorModifier and TypeMethodDescriptioncom.squareup.javapoet.CodeBlockInstanceUtils.matchImpl(Function<DataConstructor, com.squareup.javapoet.CodeBlock> lambdaImpl) -
Uses of DataConstructor in org.derive4j.processor.api.model
Subclasses of DataConstructor in org.derive4j.processor.api.modelModifier and TypeClassDescriptionprivate static final classprivate static final classFields in org.derive4j.processor.api.model declared as DataConstructorModifier and TypeFieldDescriptionprivate final DataConstructorDataConstructions.OneConstructor.constructorprivate DataConstructorDataConstructors.Lazy.evaluationFields in org.derive4j.processor.api.model with type parameters of type DataConstructorModifier and TypeFieldDescriptionprivate static final DataConstruction.Cases<Optional<DataConstructor>> DataConstructions.constructorGetterprivate final List<DataConstructor> MultipleConstructorsSupport.FunctionsDispatch.constructorsprivate final List<DataConstructor> MultipleConstructorsSupport.VisitorDispatch.constructorsprivate static final MultipleConstructors.Cases<List<DataConstructor>> MultipleConstructorsSupport.constructorsGetterprivate Supplier<DataConstructor> DataConstructors.Lazy.expressionprivate final Function<List<DataConstructor>, R> MultipleConstructorsSupport.CaseOfMatchers.PartialMatcher.functionsDispatchprivate final Function<List<DataConstructor>, R> MultipleConstructorsSupport.CasesMatchers.PartialMatcher.functionsDispatchprivate final Function<List<DataConstructor>, R> MultipleConstructorsSupport.LambdaCases.functionsDispatchprivate static final Function<DataConstruction, List<DataConstructor>> DataConstruction.getConstructorsprivate final Function<DataConstructor, R> DataConstructions.CaseOfMatchers.PartialMatcher.oneConstructorprivate final Function<DataConstructor, R> DataConstructions.CasesMatchers.PartialMatcher.oneConstructorprivate final Function<DataConstructor, R> DataConstructions.LambdaCases.oneConstructorMethods in org.derive4j.processor.api.model that return DataConstructorModifier and TypeMethodDescriptionprivate DataConstructorDataConstructors.Lazy._evaluate()static DataConstructorDataConstructors.constructor(String name, int index, List<TypeVariable> typeVariables, List<DataArgument> arguments, List<TypeRestriction> typeRestrictions, DeclaredType returnedType, DataDeconstructor deconstructor) static DataConstructorDataConstructors.lazy(Supplier<DataConstructor> dataConstructor) Methods in org.derive4j.processor.api.model that return types with arguments of type DataConstructorModifier and TypeMethodDescriptionfinal <R> Function<DataConstructor, R> DataConstructors.CasesMatchers.TotalMatcher_Constructor.constructor(DataConstructor.Case<R> constructor) final <R> Function<DataConstructor, R> DataConstructors.CasesMatchers.TotalMatcher_Constructor.constructor_(R r) DataConstruction.constructors()MultipleConstructors.constructors()static Optional<DataConstructor> DataConstructions.getConstructor(DataConstruction dataConstruction) static List<DataConstructor> MultipleConstructorsSupport.getConstructors(MultipleConstructors multipleConstructors) static Function<DataConstructor, DataConstructor> DataConstructors.modArguments(Function<List<DataArgument>, List<DataArgument>> argumentsMod) static Function<DataConstructor, DataConstructor> DataConstructors.modArguments(Function<List<DataArgument>, List<DataArgument>> argumentsMod) static Function<DataConstructor, DataConstructor> DataConstructors.modDeconstructor(Function<DataDeconstructor, DataDeconstructor> deconstructorMod) static Function<DataConstructor, DataConstructor> DataConstructors.modDeconstructor(Function<DataDeconstructor, DataDeconstructor> deconstructorMod) static Function<DataConstructor, DataConstructor> static Function<DataConstructor, DataConstructor> static Function<DataConstructor, DataConstructor> static Function<DataConstructor, DataConstructor> static Function<DataConstructor, DataConstructor> DataConstructors.modReturnedType(Function<DeclaredType, DeclaredType> returnedTypeMod) static Function<DataConstructor, DataConstructor> DataConstructors.modReturnedType(Function<DeclaredType, DeclaredType> returnedTypeMod) static Function<DataConstructor, DataConstructor> DataConstructors.modTypeRestrictions(Function<List<TypeRestriction>, List<TypeRestriction>> typeRestrictionsMod) static Function<DataConstructor, DataConstructor> DataConstructors.modTypeRestrictions(Function<List<TypeRestriction>, List<TypeRestriction>> typeRestrictionsMod) static Function<DataConstructor, DataConstructor> DataConstructors.modTypeVariables(Function<List<TypeVariable>, List<TypeVariable>> typeVariablesMod) static Function<DataConstructor, DataConstructor> DataConstructors.modTypeVariables(Function<List<TypeVariable>, List<TypeVariable>> typeVariablesMod) static Function<DataConstructor, DataConstructor> DataConstructors.setArguments(List<DataArgument> newArguments) static Function<DataConstructor, DataConstructor> DataConstructors.setArguments(List<DataArgument> newArguments) static Function<DataConstructor, DataConstructor> DataConstructors.setDeconstructor(DataDeconstructor newDeconstructor) static Function<DataConstructor, DataConstructor> DataConstructors.setDeconstructor(DataDeconstructor newDeconstructor) static Function<DataConstructor, DataConstructor> static Function<DataConstructor, DataConstructor> static Function<DataConstructor, DataConstructor> static Function<DataConstructor, DataConstructor> static Function<DataConstructor, DataConstructor> DataConstructors.setReturnedType(DeclaredType newReturnedType) static Function<DataConstructor, DataConstructor> DataConstructors.setReturnedType(DeclaredType newReturnedType) static Function<DataConstructor, DataConstructor> DataConstructors.setTypeRestrictions(List<TypeRestriction> newTypeRestrictions) static Function<DataConstructor, DataConstructor> DataConstructors.setTypeRestrictions(List<TypeRestriction> newTypeRestrictions) static Function<DataConstructor, DataConstructor> DataConstructors.setTypeVariables(List<TypeVariable> newTypeVariables) static Function<DataConstructor, DataConstructor> DataConstructors.setTypeVariables(List<TypeVariable> newTypeVariables) Methods in org.derive4j.processor.api.model with parameters of type DataConstructorModifier and TypeMethodDescriptionstatic List<DataArgument> DataConstructors.getArguments(DataConstructor dataConstructor) static DataDeconstructorDataConstructors.getDeconstructor(DataConstructor dataConstructor) static intDataConstructors.getIndex(DataConstructor dataConstructor) static StringDataConstructors.getName(DataConstructor dataConstructor) static DeclaredTypeDataConstructors.getReturnedType(DataConstructor dataConstructor) static List<TypeRestriction> DataConstructors.getTypeRestrictions(DataConstructor dataConstructor) static List<TypeVariable> DataConstructors.getTypeVariables(DataConstructor dataConstructor) DataConstruction.Cases.oneConstructor(DataConstructor constructor) static DataConstructionDataConstruction.oneConstructor(DataConstructor constructor) DataConstructions.LambdaCases.oneConstructor(DataConstructor constructor) static DataConstructionDataConstructions.oneConstructor(DataConstructor constructor) static Function<DataConstruction, DataConstruction> DataConstructions.setConstructor(DataConstructor newConstructor) Method parameters in org.derive4j.processor.api.model with type arguments of type DataConstructorModifier and TypeMethodDescriptionstatic <R> MultipleConstructors.Cases<R> MultipleConstructorsSupport.cases(MultipleConstructorsSupport.VisitorDispatchMapper<R> visitorDispatch, Function<List<DataConstructor>, R> functionsDispatch) MultipleConstructors.Cases.functionsDispatch(List<DataConstructor> constructors) static MultipleConstructorsMultipleConstructors.functionsDispatch(List<DataConstructor> constructors) final RMultipleConstructorsSupport.CaseOfMatchers.TotalMatcher_FunctionsDispatch.functionsDispatch(Function<List<DataConstructor>, R> functionsDispatch) MultipleConstructorsSupport.CaseOfMatchers.TotalMatcher_VisitorDispatch.functionsDispatch(Function<List<DataConstructor>, R> functionsDispatch) final Function<MultipleConstructors, R> MultipleConstructorsSupport.CasesMatchers.TotalMatcher_FunctionsDispatch.functionsDispatch(Function<List<DataConstructor>, R> functionsDispatch) MultipleConstructorsSupport.CasesMatchers.TotalMatcher_VisitorDispatch.functionsDispatch(Function<List<DataConstructor>, R> functionsDispatch) MultipleConstructorsSupport.LambdaCases.functionsDispatch(List<DataConstructor> constructors) (package private) static MultipleConstructorsMultipleConstructorsSupport.functionsDispatch0(List<DataConstructor> constructors) static DataConstructorDataConstructors.lazy(Supplier<DataConstructor> dataConstructor) static Function<DataConstruction, DataConstruction> DataConstructions.modConstructor(Function<DataConstructor, DataConstructor> constructorMod) static Function<DataConstruction, DataConstruction> DataConstructions.modConstructor(Function<DataConstructor, DataConstructor> constructorMod) (package private) static Function<MultipleConstructors, MultipleConstructors> MultipleConstructorsSupport.modConstructors0(Function<List<DataConstructor>, List<DataConstructor>> constructorsMod) (package private) static Function<MultipleConstructors, MultipleConstructors> MultipleConstructorsSupport.modConstructors0(Function<List<DataConstructor>, List<DataConstructor>> constructorsMod) DataConstructions.CaseOfMatchers.TotalMatcher_MultipleConstructors.oneConstructor(Function<DataConstructor, R> oneConstructor) DataConstructions.CaseOfMatchers.TotalMatcher_OneConstructor.oneConstructor(Function<DataConstructor, R> oneConstructor) DataConstructions.CasesMatchers.TotalMatcher_MultipleConstructors.oneConstructor(Function<DataConstructor, R> oneConstructor) DataConstructions.CasesMatchers.TotalMatcher_OneConstructor.oneConstructor(Function<DataConstructor, R> oneConstructor) (package private) static Function<MultipleConstructors, MultipleConstructors> MultipleConstructorsSupport.setConstructors0(List<DataConstructor> newConstructors) MultipleConstructors.Cases.visitorDispatch(VariableElement visitorParam, DeclaredType visitorType, List<DataConstructor> constructors) static MultipleConstructorsMultipleConstructors.visitorDispatch(VariableElement visitorParam, DeclaredType visitorType, List<DataConstructor> constructors) MultipleConstructorsSupport.LambdaCases.visitorDispatch(VariableElement visitorParam, DeclaredType visitorType, List<DataConstructor> constructors) MultipleConstructorsSupport.VisitorDispatchMapper.visitorDispatch(VariableElement visitorParam, DeclaredType visitorType, List<DataConstructor> constructors) (package private) static MultipleConstructorsMultipleConstructorsSupport.visitorDispatch0(VariableElement visitorParam, DeclaredType visitorType, List<DataConstructor> constructors) Constructors in org.derive4j.processor.api.model with parameters of type DataConstructorConstructor parameters in org.derive4j.processor.api.model with type arguments of type DataConstructorModifierConstructorDescription(package private)FunctionsDispatch(List<DataConstructor> constructors) (package private)LambdaCases(MultipleConstructorsSupport.VisitorDispatchMapper<R> visitorDispatch, Function<List<DataConstructor>, R> functionsDispatch) (package private)Lazy(Supplier<DataConstructor> dataConstructor) (package private)PartialMatcher(MultipleConstructors _multipleConstructors, MultipleConstructorsSupport.VisitorDispatchMapper<R> visitorDispatch, Function<List<DataConstructor>, R> functionsDispatch) (package private)PartialMatcher(MultipleConstructorsSupport.VisitorDispatchMapper<R> visitorDispatch, Function<List<DataConstructor>, R> functionsDispatch) (package private)VisitorDispatch(VariableElement visitorParam, DeclaredType visitorType, List<DataConstructor> constructors)