Interface MessageFieldGenerator<M extends net.morimekta.providence.PMessage<M>,MB extends net.morimekta.providence.PMessageOrBuilder<M>,C extends GeneratorContext<C>,T>
-
- Type Parameters:
M- The message type.MB- The message or builder interface.C- The context implementation type.T- The value type.
- All Known Implementing Classes:
MessageFieldGenerator.Conditional,MessageFieldGenerator.Wrapper
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MessageFieldGenerator<M extends net.morimekta.providence.PMessage<M>,MB extends net.morimekta.providence.PMessageOrBuilder<M>,C extends GeneratorContext<C>,T>Basic generator interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMessageFieldGenerator.Conditional<M extends net.morimekta.providence.PMessage<M>,MB extends net.morimekta.providence.PMessageOrBuilder<M>,C extends GeneratorContext<C>,T>Conditional field value generator.static classMessageFieldGenerator.Wrapper<M extends net.morimekta.providence.PMessage<M>,MB extends net.morimekta.providence.PMessageOrBuilder<M>,C extends GeneratorContext<C>,T>Simple class that wraps a standard value generator.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tgenerate(MB message, C generator)
-