@PublicApi public class InterfaceTypeExtensionDefinition extends InterfaceTypeDefinition
| Modifier and Type | Class and Description |
|---|---|
static class |
InterfaceTypeExtensionDefinition.Builder |
CHILD_DEFINITIONS, CHILD_DIRECTIVES, CHILD_IMPLEMENTZdescription| 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, transformgetDescriptiondeepCopy, deepCopy, getAdditionalData, getComments, getIgnoredChars, getSourceLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAdditionalData, getComments, getIgnoredChars, getSourceLocationgetDirectives, getDirectivesByName, hasDirectiveprotected 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 InterfaceTypeDefinitionpublic java.lang.String toString()
toString in class InterfaceTypeDefinitionpublic static InterfaceTypeExtensionDefinition.Builder newInterfaceTypeExtensionDefinition()
public InterfaceTypeExtensionDefinition withNewChildren(NodeChildrenContainer newChildren)
NodewithNewChildren in interface Node<InterfaceTypeDefinition>withNewChildren in class InterfaceTypeDefinitionnewChildren - must be empty for Nodes without childrenpublic InterfaceTypeExtensionDefinition transformExtension(java.util.function.Consumer<InterfaceTypeExtensionDefinition.Builder> builderConsumer)