@PublicApi public class InterfaceTypeExtensionDefinition extends InterfaceTypeDefinition
Modifier and Type | Class and Description |
---|---|
static class |
InterfaceTypeExtensionDefinition.Builder |
CHILD_DEFINITIONS, CHILD_DIRECTIVES, CHILD_IMPLEMENTZ
description
Modifier | Constructor and Description |
---|---|
protected |
InterfaceTypeExtensionDefinition(java.lang.String name,
java.util.List<Type> implementz,
java.util.List<FieldDefinition> definitions,
java.util.List<Directive> directives,
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 |
---|---|
InterfaceTypeExtensionDefinition |
deepCopy() |
static InterfaceTypeExtensionDefinition.Builder |
newInterfaceTypeExtensionDefinition() |
java.lang.String |
toString() |
InterfaceTypeExtensionDefinition |
transformExtension(java.util.function.Consumer<InterfaceTypeExtensionDefinition.Builder> builderConsumer) |
InterfaceTypeExtensionDefinition |
withNewChildren(NodeChildrenContainer newChildren)
Replaces the specified children and returns a new Node.
|
accept, getChildren, getDirectives, getFieldDefinitions, getImplements, getName, getNamedChildren, isEqualTo, newInterfaceTypeDefinition, transform
getDescription
deepCopy, deepCopy, getAdditionalData, getComments, getIgnoredChars, getSourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAdditionalData, getComments, getIgnoredChars, getSourceLocation
getDirectives, getDirectivesByName, hasDirective
protected InterfaceTypeExtensionDefinition(java.lang.String name, java.util.List<Type> implementz, java.util.List<FieldDefinition> definitions, java.util.List<Directive> directives, Description description, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
public InterfaceTypeExtensionDefinition deepCopy()
deepCopy
in interface Node<InterfaceTypeDefinition>
deepCopy
in class InterfaceTypeDefinition
public java.lang.String toString()
toString
in class InterfaceTypeDefinition
public static InterfaceTypeExtensionDefinition.Builder newInterfaceTypeExtensionDefinition()
public InterfaceTypeExtensionDefinition withNewChildren(NodeChildrenContainer newChildren)
Node
withNewChildren
in interface Node<InterfaceTypeDefinition>
withNewChildren
in class InterfaceTypeDefinition
newChildren
- must be empty for Nodes without childrenpublic InterfaceTypeExtensionDefinition transformExtension(java.util.function.Consumer<InterfaceTypeExtensionDefinition.Builder> builderConsumer)