Class BuildableProperty.Factory
- java.lang.Object
-
- org.inferred.freebuilder.processor.property.BuildableProperty.Factory
-
- All Implemented Interfaces:
PropertyCodeGenerator.Factory
- Enclosing class:
- BuildableProperty
static class BuildableProperty.Factory extends java.lang.Object implements PropertyCodeGenerator.Factory
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<BuildableProperty>create(PropertyCodeGenerator.Config config)Create a newPropertyCodeGeneratorfor the property described inconfig.
-
-
-
Method Detail
-
create
public java.util.Optional<BuildableProperty> create(PropertyCodeGenerator.Config config)
Description copied from interface:PropertyCodeGenerator.FactoryCreate a newPropertyCodeGeneratorfor the property described inconfig.- Specified by:
createin interfacePropertyCodeGenerator.Factory- Returns:
- A new
PropertyCodeGenerator, orOptional.empty()if the factory does not support this type of property.
-
-