@PublicApi public class ScalarTypeExtensionDefinition extends ScalarTypeDefinition
| Modifier and Type | Class and Description |
|---|---|
static class |
ScalarTypeExtensionDefinition.Builder |
CHILD_DIRECTIVESdescription| Modifier | Constructor and Description |
|---|---|
protected |
ScalarTypeExtensionDefinition(java.lang.String name,
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 |
|---|---|
ScalarTypeExtensionDefinition |
deepCopy() |
static ScalarTypeExtensionDefinition.Builder |
newScalarTypeExtensionDefinition() |
java.lang.String |
toString() |
ScalarTypeExtensionDefinition |
transformExtension(java.util.function.Consumer<ScalarTypeExtensionDefinition.Builder> builderConsumer) |
ScalarTypeExtensionDefinition |
withNewChildren(NodeChildrenContainer newChildren)
Replaces the specified children and returns a new Node.
|
accept, getChildren, getDirectives, getName, getNamedChildren, isEqualTo, newScalarTypeDefinition, transformgetDescriptiondeepCopy, deepCopy, getAdditionalData, getComments, getIgnoredChars, getSourceLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAdditionalData, getComments, getIgnoredChars, getSourceLocationgetDirectives, getDirectivesByName, hasDirectiveprotected ScalarTypeExtensionDefinition(java.lang.String name,
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 ScalarTypeExtensionDefinition deepCopy()
deepCopy in interface Node<ScalarTypeDefinition>deepCopy in class ScalarTypeDefinitionpublic java.lang.String toString()
toString in class ScalarTypeDefinitionpublic static ScalarTypeExtensionDefinition.Builder newScalarTypeExtensionDefinition()
public ScalarTypeExtensionDefinition withNewChildren(NodeChildrenContainer newChildren)
NodewithNewChildren in interface Node<ScalarTypeDefinition>withNewChildren in class ScalarTypeDefinitionnewChildren - must be empty for Nodes without childrenpublic ScalarTypeExtensionDefinition transformExtension(java.util.function.Consumer<ScalarTypeExtensionDefinition.Builder> builderConsumer)