Class MatchMethods
java.lang.Object
org.derive4j.processor.api.model.MatchMethods
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprivate static final classprivate static final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncases()static ExecutableElementgetElement(MatchMethod matchMethod) static TypeVariablegetReturnTypeVariable(MatchMethod matchMethod) static MatchMethodlazy(Supplier<MatchMethod> matchMethod) static MatchMethodmatchMethod(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)
-