Package org.derive4j.processor.api
Class MessageLocalizations.CaseOfMatchers.PartialMatcher<R>
- java.lang.Object
-
- org.derive4j.processor.api.MessageLocalizations.CaseOfMatchers.PartialMatcher<R>
-
- Direct Known Subclasses:
MessageLocalizations.CaseOfMatchers.PartialMatcher_OnAnnotationValue,MessageLocalizations.CaseOfMatchers.TotalMatcher_OnAnnotationValue
- Enclosing class:
- MessageLocalizations.CaseOfMatchers
public static class MessageLocalizations.CaseOfMatchers.PartialMatcher<R> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private MessageLocalization_messageLocalizationprivate MessageLocalizations.OnAnnotationMapper<R>onAnnotationprivate MessageLocalizations.OnAnnotationValueMapper<R>onAnnotationValueprivate java.util.function.Function<javax.lang.model.element.Element,R>onElement
-
Constructor Summary
Constructors Constructor Description PartialMatcher(MessageLocalization _messageLocalization, java.util.function.Function<javax.lang.model.element.Element,R> onElement, MessageLocalizations.OnAnnotationMapper<R> onAnnotation, MessageLocalizations.OnAnnotationValueMapper<R> onAnnotationValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rotherwise(java.util.function.Supplier<R> otherwise)Rotherwise_(R r)java.util.Optional<R>otherwiseEmpty()
-
-
-
Field Detail
-
_messageLocalization
private final MessageLocalization _messageLocalization
-
onElement
private final java.util.function.Function<javax.lang.model.element.Element,R> onElement
-
onAnnotation
private final MessageLocalizations.OnAnnotationMapper<R> onAnnotation
-
onAnnotationValue
private final MessageLocalizations.OnAnnotationValueMapper<R> onAnnotationValue
-
-
Constructor Detail
-
PartialMatcher
PartialMatcher(MessageLocalization _messageLocalization, java.util.function.Function<javax.lang.model.element.Element,R> onElement, MessageLocalizations.OnAnnotationMapper<R> onAnnotation, MessageLocalizations.OnAnnotationValueMapper<R> onAnnotationValue)
-
-