Package org.derive4j.processor.api
Class MessageLocalizations.CasesMatchers.PartialMatcher<R>
java.lang.Object
org.derive4j.processor.api.MessageLocalizations.CasesMatchers.PartialMatcher<R>
- Direct Known Subclasses:
MessageLocalizations.CasesMatchers.PartialMatcher_OnAnnotationValue
,MessageLocalizations.CasesMatchers.TotalMatcher_OnAnnotationValue
- Enclosing class:
MessageLocalizations.CasesMatchers
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MessageLocalizations.OnAnnotationMapper
<R> private final MessageLocalizations.OnAnnotationValueMapper
<R> -
Constructor Summary
ConstructorsConstructorDescriptionPartialMatcher
(Function<Element, R> onElement, MessageLocalizations.OnAnnotationMapper<R> onAnnotation, MessageLocalizations.OnAnnotationValueMapper<R> onAnnotationValue) -
Method Summary
Modifier and TypeMethodDescriptionfinal Function
<MessageLocalization, R> final Function
<MessageLocalization, R> otherwise_
(R r) final Function
<MessageLocalization, Optional<R>>
-
Field Details
-
onElement
-
onAnnotation
-
onAnnotationValue
-
-
Constructor Details
-
PartialMatcher
PartialMatcher(Function<Element, R> onElement, MessageLocalizations.OnAnnotationMapper<R> onAnnotation, MessageLocalizations.OnAnnotationValueMapper<R> onAnnotationValue)
-
-
Method Details
-
otherwise
-
otherwise_
-
otherwiseEmpty
-