Package org.derive4j.processor.api.model
Class DataDeconstructors.Deconstructor
- java.lang.Object
-
- org.derive4j.processor.api.model.DataDeconstructor
-
- org.derive4j.processor.api.model.DataDeconstructors.Deconstructor
-
- Enclosing class:
- DataDeconstructors
private static final class DataDeconstructors.Deconstructor extends DataDeconstructor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.derive4j.processor.api.model.DataDeconstructor
DataDeconstructor.Case<R>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<javax.lang.model.type.TypeVariable>
argumentTypeVariables
private javax.lang.model.element.ExecutableElement
method
private javax.lang.model.type.ExecutableType
methodType
private javax.lang.model.type.TypeVariable
returnTypeVariable
private javax.lang.model.type.ExecutableType
visitorMethodType
private javax.lang.model.element.VariableElement
visitorParam
private javax.lang.model.type.DeclaredType
visitorType
-
Constructor Summary
Constructors Constructor Description Deconstructor(javax.lang.model.element.VariableElement visitorParam, javax.lang.model.type.DeclaredType visitorType, javax.lang.model.type.ExecutableType methodType, javax.lang.model.type.ExecutableType visitorMethodType, javax.lang.model.element.ExecutableElement method, java.util.List<javax.lang.model.type.TypeVariable> argumentTypeVariables, javax.lang.model.type.TypeVariable returnTypeVariable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
match(DataDeconstructor.Case<R> deconstructor)
-
Methods inherited from class org.derive4j.processor.api.model.DataDeconstructor
argumentTypeVariables, method, methodType, returnTypeVariable, visitorMethodType, visitorParam, visitorType
-
-
-
-
Field Detail
-
visitorParam
private final javax.lang.model.element.VariableElement visitorParam
-
visitorType
private final javax.lang.model.type.DeclaredType visitorType
-
methodType
private final javax.lang.model.type.ExecutableType methodType
-
visitorMethodType
private final javax.lang.model.type.ExecutableType visitorMethodType
-
method
private final javax.lang.model.element.ExecutableElement method
-
argumentTypeVariables
private final java.util.List<javax.lang.model.type.TypeVariable> argumentTypeVariables
-
returnTypeVariable
private final javax.lang.model.type.TypeVariable returnTypeVariable
-
-
Constructor Detail
-
Deconstructor
Deconstructor(javax.lang.model.element.VariableElement visitorParam, javax.lang.model.type.DeclaredType visitorType, javax.lang.model.type.ExecutableType methodType, javax.lang.model.type.ExecutableType visitorMethodType, javax.lang.model.element.ExecutableElement method, java.util.List<javax.lang.model.type.TypeVariable> argumentTypeVariables, javax.lang.model.type.TypeVariable returnTypeVariable)
-
-
Method Detail
-
match
public <R> R match(DataDeconstructor.Case<R> deconstructor)
- Specified by:
match
in classDataDeconstructor
-
-