Package org.derive4j.processor.api
Class SamInterfaces
java.lang.Object
org.derive4j.processor.api.SamInterfaces
-
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
getSam
(SamInterface samInterface) static TypeElement
getSamClass
(SamInterface samInterface) static SamInterface
lazy
(Supplier<SamInterface> samInterface) static Function
<SamInterface, SamInterface> modSam
(Function<ExecutableElement, ExecutableElement> samMod) static Function
<SamInterface, SamInterface> modSamClass
(Function<TypeElement, TypeElement> samClassMod) static SamInterface
SamInterface
(TypeElement samClass, ExecutableElement sam) static Function
<SamInterface, SamInterface> setSam
(ExecutableElement newSam) static Function
<SamInterface, SamInterface> setSamClass
(TypeElement newSamClass)
-
Constructor Details
-
SamInterfaces
private SamInterfaces()
-
-
Method Details
-
SamInterface
-
lazy
-
cases
-
getSamClass
-
getSam
-
setSamClass
-
modSamClass
public static Function<SamInterface,SamInterface> modSamClass(Function<TypeElement, TypeElement> samClassMod) -
setSam
-
modSam
public static Function<SamInterface,SamInterface> modSam(Function<ExecutableElement, ExecutableElement> samMod)
-