Package org.derive4j.processor.api.model
Class MatchMethods
- java.lang.Object
-
- org.derive4j.processor.api.model.MatchMethods
-
public final class MatchMethods extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MatchMethods.CasesMatchers
private static class
MatchMethods.Lazy
private static class
MatchMethods.MatchMethod_
-
Constructor Summary
Constructors Modifier Constructor Description private
MatchMethods()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MatchMethods.CasesMatchers.TotalMatcher_MatchMethod
cases()
static javax.lang.model.element.ExecutableElement
getElement(MatchMethod matchMethod)
static javax.lang.model.type.TypeVariable
getReturnTypeVariable(MatchMethod matchMethod)
static MatchMethod
lazy(java.util.function.Supplier<MatchMethod> matchMethod)
static MatchMethod
matchMethod(javax.lang.model.element.ExecutableElement element, javax.lang.model.type.TypeVariable returnTypeVariable)
static java.util.function.Function<MatchMethod,MatchMethod>
modElement(java.util.function.Function<javax.lang.model.element.ExecutableElement,javax.lang.model.element.ExecutableElement> elementMod)
static java.util.function.Function<MatchMethod,MatchMethod>
modReturnTypeVariable(java.util.function.Function<javax.lang.model.type.TypeVariable,javax.lang.model.type.TypeVariable> returnTypeVariableMod)
static java.util.function.Function<MatchMethod,MatchMethod>
setElement(javax.lang.model.element.ExecutableElement newElement)
static java.util.function.Function<MatchMethod,MatchMethod>
setReturnTypeVariable(javax.lang.model.type.TypeVariable newReturnTypeVariable)
-
-
-
Method Detail
-
matchMethod
public static MatchMethod matchMethod(javax.lang.model.element.ExecutableElement element, javax.lang.model.type.TypeVariable returnTypeVariable)
-
lazy
public static MatchMethod lazy(java.util.function.Supplier<MatchMethod> matchMethod)
-
cases
public static MatchMethods.CasesMatchers.TotalMatcher_MatchMethod cases()
-
getElement
public static javax.lang.model.element.ExecutableElement getElement(MatchMethod matchMethod)
-
getReturnTypeVariable
public static javax.lang.model.type.TypeVariable getReturnTypeVariable(MatchMethod matchMethod)
-
setElement
public static java.util.function.Function<MatchMethod,MatchMethod> setElement(javax.lang.model.element.ExecutableElement newElement)
-
modElement
public static java.util.function.Function<MatchMethod,MatchMethod> modElement(java.util.function.Function<javax.lang.model.element.ExecutableElement,javax.lang.model.element.ExecutableElement> elementMod)
-
setReturnTypeVariable
public static java.util.function.Function<MatchMethod,MatchMethod> setReturnTypeVariable(javax.lang.model.type.TypeVariable newReturnTypeVariable)
-
modReturnTypeVariable
public static java.util.function.Function<MatchMethod,MatchMethod> modReturnTypeVariable(java.util.function.Function<javax.lang.model.type.TypeVariable,javax.lang.model.type.TypeVariable> returnTypeVariableMod)
-
-