public static final class NonNullType.Builder extends java.lang.Object implements NodeBuilder
Modifier and Type | Method and Description |
---|---|
NonNullType.Builder |
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData) |
NonNullType.Builder |
additionalData(java.lang.String key,
java.lang.String value) |
NonNullType |
build() |
NonNullType.Builder |
comments(java.util.List<Comment> comments) |
NonNullType.Builder |
ignoredChars(IgnoredChars ignoredChars) |
NonNullType.Builder |
sourceLocation(SourceLocation sourceLocation) |
NonNullType.Builder |
type(ListType type) |
NonNullType.Builder |
type(Type type) |
NonNullType.Builder |
type(TypeName type) |
public NonNullType.Builder sourceLocation(SourceLocation sourceLocation)
sourceLocation
in interface NodeBuilder
public NonNullType.Builder type(ListType type)
public NonNullType.Builder type(TypeName type)
public NonNullType.Builder type(Type type)
public NonNullType.Builder comments(java.util.List<Comment> comments)
comments
in interface NodeBuilder
public NonNullType.Builder ignoredChars(IgnoredChars ignoredChars)
ignoredChars
in interface NodeBuilder
public NonNullType.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
additionalData
in interface NodeBuilder
public NonNullType.Builder additionalData(java.lang.String key, java.lang.String value)
additionalData
in interface NodeBuilder
public NonNullType build()