@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(String name,
List<Directive> directives,
List<Type> memberTypes,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
Modifier and Type | Method and Description |
---|---|
UnionTypeExtensionDefinition |
deepCopy() |
static UnionTypeExtensionDefinition.Builder |
newUnionTypeExtensionDefinition() |
String |
toString() |
UnionTypeExtensionDefinition |
transformExtension(Consumer<UnionTypeExtensionDefinition.Builder> builderConsumer) |
accept, getChildren, getDescription, getDirectives, getMemberTypes, getName, getNamedChildren, isEqualTo, newUnionTypeDefinition, transform, withNewChildren
deepCopy, deepCopy, getComments, getIgnoredChars, getSourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDirective, getDirectivesByName
getComments, getIgnoredChars, getSourceLocation
protected UnionTypeExtensionDefinition(String name, List<Directive> directives, List<Type> memberTypes, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars)
public UnionTypeExtensionDefinition deepCopy()
deepCopy
in interface Node<UnionTypeDefinition>
deepCopy
in class UnionTypeDefinition
public String toString()
toString
in class UnionTypeDefinition
public static UnionTypeExtensionDefinition.Builder newUnionTypeExtensionDefinition()
public UnionTypeExtensionDefinition transformExtension(Consumer<UnionTypeExtensionDefinition.Builder> builderConsumer)
Copyright © 2019. All rights reserved.