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