@PublicApi public class UnionTypeExtensionDefinition extends UnionTypeDefinition
Modifier and Type | Class and Description |
---|---|
static class |
UnionTypeExtensionDefinition.Builder |
CHILD_DIRECTIVES, CHILD_MEMBER_TYPES
Modifier | Constructor and Description |
---|---|
protected |
UnionTypeExtensionDefinition(java.lang.String name,
java.util.List<Directive> directives,
java.util.List<Type> memberTypes,
Description description,
SourceLocation sourceLocation,
java.util.List<Comment> comments,
IgnoredChars ignoredChars,
java.util.Map<java.lang.String,java.lang.String> additionalData) |
Modifier and Type | Method and Description |
---|---|
UnionTypeExtensionDefinition |
deepCopy() |
static UnionTypeExtensionDefinition.Builder |
newUnionTypeExtensionDefinition() |
java.lang.String |
toString() |
UnionTypeExtensionDefinition |
transformExtension(java.util.function.Consumer<UnionTypeExtensionDefinition.Builder> builderConsumer) |
accept, getChildren, getDescription, getDirectives, getMemberTypes, getName, getNamedChildren, isEqualTo, newUnionTypeDefinition, transform, withNewChildren
deepCopy, deepCopy, getAdditionalData, getComments, getIgnoredChars, getSourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAdditionalData, getComments, getIgnoredChars, getSourceLocation
getDirective, getDirectivesByName
protected UnionTypeExtensionDefinition(java.lang.String name, java.util.List<Directive> directives, java.util.List<Type> memberTypes, Description description, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
public UnionTypeExtensionDefinition deepCopy()
deepCopy
in interface Node<UnionTypeDefinition>
deepCopy
in class UnionTypeDefinition
public java.lang.String toString()
toString
in class UnionTypeDefinition
public static UnionTypeExtensionDefinition.Builder newUnionTypeExtensionDefinition()
public UnionTypeExtensionDefinition transformExtension(java.util.function.Consumer<UnionTypeExtensionDefinition.Builder> builderConsumer)