Interface PropertyCodeGenerator.Factory
- All Known Implementing Classes:
BiMapProperty.Factory,BuildableListProperty.Factory,BuildableProperty.Factory,DefaultProperty.Factory,ListMultimapProperty.Factory,ListProperty.Factory,MapProperty.Factory,MultisetProperty.Factory,NullableProperty.Factory,OptionalProperty.Factory,PrimitiveOptionalProperty.Factory,SetMultimapProperty.Factory,SetProperty.Factory,SortedSetProperty.Factory
- Enclosing class:
PropertyCodeGenerator
public static interface PropertyCodeGenerator.Factory
Factory interface for
PropertyCodeGenerator.-
Method Summary
Modifier and TypeMethodDescriptionOptional<? extends PropertyCodeGenerator> create(PropertyCodeGenerator.Config config) Create a newPropertyCodeGeneratorfor the property described inconfig.
-
Method Details
-
create
Create a newPropertyCodeGeneratorfor the property described inconfig.- Returns:
- A new
PropertyCodeGenerator, orOptional.empty()if the factory does not support this type of property.
-