Package org.derive4j.processor.api.model
Class DataDeconstructors
- java.lang.Object
-
- org.derive4j.processor.api.model.DataDeconstructors
-
public final class DataDeconstructors extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataDeconstructors.CasesMatchersprivate static classDataDeconstructors.Deconstructorprivate static classDataDeconstructors.Lazy
-
Constructor Summary
Constructors Modifier Constructor Description privateDataDeconstructors()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataDeconstructors.CasesMatchers.TotalMatcher_Deconstructorcases()static DataDeconstructordeconstructor(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)static java.util.List<javax.lang.model.type.TypeVariable>getArgumentTypeVariables(DataDeconstructor dataDeconstructor)static javax.lang.model.element.ExecutableElementgetMethod(DataDeconstructor dataDeconstructor)static javax.lang.model.type.ExecutableTypegetMethodType(DataDeconstructor dataDeconstructor)static javax.lang.model.type.TypeVariablegetReturnTypeVariable(DataDeconstructor dataDeconstructor)static javax.lang.model.type.ExecutableTypegetVisitorMethodType(DataDeconstructor dataDeconstructor)static javax.lang.model.element.VariableElementgetVisitorParam(DataDeconstructor dataDeconstructor)static javax.lang.model.type.DeclaredTypegetVisitorType(DataDeconstructor dataDeconstructor)static DataDeconstructorlazy(java.util.function.Supplier<DataDeconstructor> dataDeconstructor)static java.util.function.Function<DataDeconstructor,DataDeconstructor>modArgumentTypeVariables(java.util.function.Function<java.util.List<javax.lang.model.type.TypeVariable>,java.util.List<javax.lang.model.type.TypeVariable>> argumentTypeVariablesMod)static java.util.function.Function<DataDeconstructor,DataDeconstructor>modMethod(java.util.function.Function<javax.lang.model.element.ExecutableElement,javax.lang.model.element.ExecutableElement> methodMod)static java.util.function.Function<DataDeconstructor,DataDeconstructor>modMethodType(java.util.function.Function<javax.lang.model.type.ExecutableType,javax.lang.model.type.ExecutableType> methodTypeMod)static java.util.function.Function<DataDeconstructor,DataDeconstructor>modReturnTypeVariable(java.util.function.Function<javax.lang.model.type.TypeVariable,javax.lang.model.type.TypeVariable> returnTypeVariableMod)static java.util.function.Function<DataDeconstructor,DataDeconstructor>modVisitorMethodType(java.util.function.Function<javax.lang.model.type.ExecutableType,javax.lang.model.type.ExecutableType> visitorMethodTypeMod)static java.util.function.Function<DataDeconstructor,DataDeconstructor>modVisitorParam(java.util.function.Function<javax.lang.model.element.VariableElement,javax.lang.model.element.VariableElement> visitorParamMod)static java.util.function.Function<DataDeconstructor,DataDeconstructor>modVisitorType(java.util.function.Function<javax.lang.model.type.DeclaredType,javax.lang.model.type.DeclaredType> visitorTypeMod)static java.util.function.Function<DataDeconstructor,DataDeconstructor>setArgumentTypeVariables(java.util.List<javax.lang.model.type.TypeVariable> newArgumentTypeVariables)static java.util.function.Function<DataDeconstructor,DataDeconstructor>setMethod(javax.lang.model.element.ExecutableElement newMethod)static java.util.function.Function<DataDeconstructor,DataDeconstructor>setMethodType(javax.lang.model.type.ExecutableType newMethodType)static java.util.function.Function<DataDeconstructor,DataDeconstructor>setReturnTypeVariable(javax.lang.model.type.TypeVariable newReturnTypeVariable)static java.util.function.Function<DataDeconstructor,DataDeconstructor>setVisitorMethodType(javax.lang.model.type.ExecutableType newVisitorMethodType)static java.util.function.Function<DataDeconstructor,DataDeconstructor>setVisitorParam(javax.lang.model.element.VariableElement newVisitorParam)static java.util.function.Function<DataDeconstructor,DataDeconstructor>setVisitorType(javax.lang.model.type.DeclaredType newVisitorType)
-
-
-
Method Detail
-
deconstructor
public static DataDeconstructor 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)
-
lazy
public static DataDeconstructor lazy(java.util.function.Supplier<DataDeconstructor> dataDeconstructor)
-
cases
public static DataDeconstructors.CasesMatchers.TotalMatcher_Deconstructor cases()
-
getVisitorParam
public static javax.lang.model.element.VariableElement getVisitorParam(DataDeconstructor dataDeconstructor)
-
getVisitorType
public static javax.lang.model.type.DeclaredType getVisitorType(DataDeconstructor dataDeconstructor)
-
getMethodType
public static javax.lang.model.type.ExecutableType getMethodType(DataDeconstructor dataDeconstructor)
-
getVisitorMethodType
public static javax.lang.model.type.ExecutableType getVisitorMethodType(DataDeconstructor dataDeconstructor)
-
getMethod
public static javax.lang.model.element.ExecutableElement getMethod(DataDeconstructor dataDeconstructor)
-
getArgumentTypeVariables
public static java.util.List<javax.lang.model.type.TypeVariable> getArgumentTypeVariables(DataDeconstructor dataDeconstructor)
-
getReturnTypeVariable
public static javax.lang.model.type.TypeVariable getReturnTypeVariable(DataDeconstructor dataDeconstructor)
-
setVisitorParam
public static java.util.function.Function<DataDeconstructor,DataDeconstructor> setVisitorParam(javax.lang.model.element.VariableElement newVisitorParam)
-
modVisitorParam
public static java.util.function.Function<DataDeconstructor,DataDeconstructor> modVisitorParam(java.util.function.Function<javax.lang.model.element.VariableElement,javax.lang.model.element.VariableElement> visitorParamMod)
-
setVisitorType
public static java.util.function.Function<DataDeconstructor,DataDeconstructor> setVisitorType(javax.lang.model.type.DeclaredType newVisitorType)
-
modVisitorType
public static java.util.function.Function<DataDeconstructor,DataDeconstructor> modVisitorType(java.util.function.Function<javax.lang.model.type.DeclaredType,javax.lang.model.type.DeclaredType> visitorTypeMod)
-
setMethodType
public static java.util.function.Function<DataDeconstructor,DataDeconstructor> setMethodType(javax.lang.model.type.ExecutableType newMethodType)
-
modMethodType
public static java.util.function.Function<DataDeconstructor,DataDeconstructor> modMethodType(java.util.function.Function<javax.lang.model.type.ExecutableType,javax.lang.model.type.ExecutableType> methodTypeMod)
-
setVisitorMethodType
public static java.util.function.Function<DataDeconstructor,DataDeconstructor> setVisitorMethodType(javax.lang.model.type.ExecutableType newVisitorMethodType)
-
modVisitorMethodType
public static java.util.function.Function<DataDeconstructor,DataDeconstructor> modVisitorMethodType(java.util.function.Function<javax.lang.model.type.ExecutableType,javax.lang.model.type.ExecutableType> visitorMethodTypeMod)
-
setMethod
public static java.util.function.Function<DataDeconstructor,DataDeconstructor> setMethod(javax.lang.model.element.ExecutableElement newMethod)
-
modMethod
public static java.util.function.Function<DataDeconstructor,DataDeconstructor> modMethod(java.util.function.Function<javax.lang.model.element.ExecutableElement,javax.lang.model.element.ExecutableElement> methodMod)
-
setArgumentTypeVariables
public static java.util.function.Function<DataDeconstructor,DataDeconstructor> setArgumentTypeVariables(java.util.List<javax.lang.model.type.TypeVariable> newArgumentTypeVariables)
-
modArgumentTypeVariables
public static java.util.function.Function<DataDeconstructor,DataDeconstructor> modArgumentTypeVariables(java.util.function.Function<java.util.List<javax.lang.model.type.TypeVariable>,java.util.List<javax.lang.model.type.TypeVariable>> argumentTypeVariablesMod)
-
setReturnTypeVariable
public static java.util.function.Function<DataDeconstructor,DataDeconstructor> setReturnTypeVariable(javax.lang.model.type.TypeVariable newReturnTypeVariable)
-
modReturnTypeVariable
public static java.util.function.Function<DataDeconstructor,DataDeconstructor> modReturnTypeVariable(java.util.function.Function<javax.lang.model.type.TypeVariable,javax.lang.model.type.TypeVariable> returnTypeVariableMod)
-
-