Interface Generator<Context extends GeneratorContext<Context>,T>
-
- All Known Implementing Classes:
BinaryGenerator
,BoolGenerator
,ByteGenerator
,ByteRangeGenerator
,DoubleGenerator
,DoubleRangeGenerator
,EnumGenerator
,EnumNameGenerator
,EnumValueGenerator
,IntGenerator
,IntRangeGenerator
,ListGenerator
,LongGenerator
,LongRangeGenerator
,MapGenerator
,MessageGenerator
,OneOfGenerator
,SetGenerator
,ShortGenerator
,ShortRangeGenerator
,StringGenerator
,VoidGenerator
- 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 Generator<Context extends GeneratorContext<Context>,T>
Basic generator interface. Each instance of this interface will always generate the same class of value, e.g. one instance for enum value, one for int etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
generate(Context ctx)
-