Package org.derive4j.processor.api.model
Class MatchMethods
java.lang.Object
org.derive4j.processor.api.model.MatchMethods
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
private static final class
private static final class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncases()
static ExecutableElement
getElement
(MatchMethod matchMethod) static TypeVariable
getReturnTypeVariable
(MatchMethod matchMethod) static MatchMethod
lazy
(Supplier<MatchMethod> matchMethod) static MatchMethod
matchMethod
(ExecutableElement element, TypeVariable returnTypeVariable) static Function
<MatchMethod, MatchMethod> modElement
(Function<ExecutableElement, ExecutableElement> elementMod) static Function
<MatchMethod, MatchMethod> modReturnTypeVariable
(Function<TypeVariable, TypeVariable> returnTypeVariableMod) static Function
<MatchMethod, MatchMethod> setElement
(ExecutableElement newElement) static Function
<MatchMethod, MatchMethod> setReturnTypeVariable
(TypeVariable newReturnTypeVariable)
-
Constructor Details
-
MatchMethods
private MatchMethods()
-
-
Method Details
-
matchMethod
-
lazy
-
cases
-
getElement
-
getReturnTypeVariable
-
setElement
-
modElement
public static Function<MatchMethod,MatchMethod> modElement(Function<ExecutableElement, ExecutableElement> elementMod) -
setReturnTypeVariable
public static Function<MatchMethod,MatchMethod> setReturnTypeVariable(TypeVariable newReturnTypeVariable) -
modReturnTypeVariable
public static Function<MatchMethod,MatchMethod> modReturnTypeVariable(Function<TypeVariable, TypeVariable> returnTypeVariableMod)
-