Class DataConstructors.Constructor
java.lang.Object
org.derive4j.processor.api.model.DataConstructor
org.derive4j.processor.api.model.DataConstructors.Constructor
- Enclosing class:
DataConstructors
-
Nested Class Summary
Nested classes/interfaces inherited from class DataConstructor
DataConstructor.Case<R> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<DataArgument> private final DataDeconstructorprivate final intprivate final Stringprivate final DeclaredTypeprivate final List<TypeRestriction> private final List<TypeVariable> -
Constructor Summary
ConstructorsConstructorDescriptionConstructor(String name, int index, List<TypeVariable> typeVariables, List<DataArgument> arguments, List<TypeRestriction> typeRestrictions, DeclaredType returnedType, DataDeconstructor deconstructor) -
Method Summary
Methods inherited from class DataConstructor
arguments, deconstructor, index, name, returnedType, typeRestrictions, typeVariables
-
Field Details
-
name
-
index
private final int index -
typeVariables
-
arguments
-
typeRestrictions
-
returnedType
-
deconstructor
-
-
Constructor Details
-
Constructor
Constructor(String name, int index, List<TypeVariable> typeVariables, List<DataArgument> arguments, List<TypeRestriction> typeRestrictions, DeclaredType returnedType, DataDeconstructor deconstructor)
-
-
Method Details
-
match
- Specified by:
matchin classDataConstructor
-