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
public static class Datatype.Builder extends Datatype_Builder
Builder forDatatype.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Datatypebuild()Returns a newly-builtDatatypebased on the content of theBuilder.Datatype.BuildersetValueTypeVisibility(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
-
-
-
-
Method Detail
-
setValueTypeVisibility
public Datatype.Builder setValueTypeVisibility(Datatype.Visibility visibility)
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:
java.lang.NullPointerException- ifvisibilityis null
-
build
public Datatype build()
Returns a newly-builtDatatypebased on the content of theBuilder.- Overrides:
buildin classDatatype_Builder
-
-