Class BuildableListProperty.Factory
java.lang.Object
org.inferred.freebuilder.processor.property.BuildableListProperty.Factory
- All Implemented Interfaces:
PropertyCodeGenerator.Factory
- Enclosing class:
BuildableListProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(PropertyCodeGenerator.Config config) Create a newPropertyCodeGeneratorfor the property described inconfig.private static booleanprivate static booleanhasBuilderVarargsAddMethodOverride(PropertyCodeGenerator.Config config, Type builderType) private static booleanhasValueInstanceVarargsAddMethodOverride(PropertyCodeGenerator.Config config, TypeMirror elementType)
-
Constructor Details
-
Factory
Factory()
-
-
Method Details
-
create
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.
-
disablingGetterExists
-
hasValueInstanceVarargsAddMethodOverride
private static boolean hasValueInstanceVarargsAddMethodOverride(PropertyCodeGenerator.Config config, TypeMirror elementType) -
hasBuilderVarargsAddMethodOverride
private static boolean hasBuilderVarargsAddMethodOverride(PropertyCodeGenerator.Config config, Type builderType)
-