Class Datatype.Builder
java.lang.Object
org.inferred.freebuilder.processor.Datatype_Builder
org.inferred.freebuilder.processor.Datatype.Builder
- Direct Known Subclasses:
Datatype_Builder.Partial.PartialBuilder
- Enclosing class:
Datatype
Builder for
Datatype.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns a newly-builtDatatypebased on the content of theBuilder.setValueTypeVisibility(Datatype.Visibility visibility) Sets the value to be returned byDatatype.getValueTypeVisibility()to the most visible of the current value andvisibility.Methods inherited from class org.inferred.freebuilder.processor.Datatype_Builder
addAllGeneratedBuilderAnnotations, addAllGeneratedBuilderAnnotations, addAllGeneratedBuilderAnnotations, addAllNestedClasses, addAllNestedClasses, addAllNestedClasses, addAllValueTypeAnnotations, addAllValueTypeAnnotations, addAllValueTypeAnnotations, addGeneratedBuilderAnnotations, addGeneratedBuilderAnnotations, addNestedClasses, addNestedClasses, addValueTypeAnnotations, addValueTypeAnnotations, buildPartial, clear, clearBuilderFactory, clearGeneratedBuilderAnnotations, clearNestedClasses, clearRebuildableType, clearStandardMethodUnderrides, clearValueTypeAnnotations, from, getBuilder, getBuilderFactory, getBuildMethod, getBuildPartialMethod, getClearMethod, getGeneratedBuilder, getGeneratedBuilderAnnotations, getHasToBuilderMethod, getMergeFromBuilderMethod, getMergeFromValueMethod, getNestedClasses, getPartialType, getPropertyEnum, getRebuildableType, getStandardMethodUnderrides, getType, getValueType, getValueTypeAnnotations, getValueTypeVisibility, isBuilderSerializable, isExtensible, isInterfaceType, mapBuilder, mapBuilderFactory, mapBuilderSerializable, mapBuildMethod, mapBuildPartialMethod, mapClearMethod, mapExtensible, mapGeneratedBuilder, mapHasToBuilderMethod, mapInterfaceType, mapMergeFromBuilderMethod, mapMergeFromValueMethod, mapPartialType, mapPropertyEnum, mapRebuildableType, mapType, mapValueType, mapValueTypeVisibility, mergeFrom, mergeFrom, mutateGeneratedBuilderAnnotations, mutateNestedClasses, mutateStandardMethodUnderrides, mutateValueTypeAnnotations, putAllStandardMethodUnderrides, putStandardMethodUnderrides, removeStandardMethodUnderrides, setBuilder, setBuilderFactory, setBuilderFactory, setBuilderSerializable, setBuildMethod, setBuildPartialMethod, setClearMethod, setExtensible, setGeneratedBuilder, setHasToBuilderMethod, setInterfaceType, setMergeFromBuilderMethod, setMergeFromValueMethod, setNullableBuilderFactory, setNullableRebuildableType, setPartialType, setPropertyEnum, setRebuildableType, setRebuildableType, setType, setValueType
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setValueTypeVisibility
Sets the value to be returned byDatatype.getValueTypeVisibility()to the most visible of the current value andvisibility. Will not decrease visibility.- Overrides:
setValueTypeVisibilityin classDatatype_Builder- Returns:
- this
Builderobject - Throws:
NullPointerException- ifvisibilityis null
-
build
Returns a newly-builtDatatypebased on the content of theBuilder.- Overrides:
buildin classDatatype_Builder
-