@PublicApi public class EnumTypeExtensionDefinition extends EnumTypeDefinition
Modifier and Type | Class and Description |
---|---|
static class |
EnumTypeExtensionDefinition.Builder |
CHILD_DIRECTIVES, CHILD_ENUM_VALUE_DEFINITIONS
Modifier | Constructor and Description |
---|---|
protected |
EnumTypeExtensionDefinition(String name,
List<EnumValueDefinition> enumValueDefinitions,
List<Directive> directives,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
Modifier and Type | Method and Description |
---|---|
EnumTypeExtensionDefinition |
deepCopy() |
static EnumTypeExtensionDefinition.Builder |
newEnumTypeExtensionDefinition() |
String |
toString() |
EnumTypeExtensionDefinition |
transformExtension(Consumer<EnumTypeExtensionDefinition.Builder> builderConsumer) |
accept, getChildren, getDescription, getDirectives, getEnumValueDefinitions, getName, getNamedChildren, isEqualTo, newEnumTypeDefinition, transform, withNewChildren
deepCopy, deepCopy, getComments, getIgnoredChars, getSourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDirective, getDirectivesByName
getComments, getIgnoredChars, getSourceLocation
protected EnumTypeExtensionDefinition(String name, List<EnumValueDefinition> enumValueDefinitions, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars)
public EnumTypeExtensionDefinition deepCopy()
deepCopy
in interface Node<EnumTypeDefinition>
deepCopy
in class EnumTypeDefinition
public String toString()
toString
in class EnumTypeDefinition
public static EnumTypeExtensionDefinition.Builder newEnumTypeExtensionDefinition()
public EnumTypeExtensionDefinition transformExtension(Consumer<EnumTypeExtensionDefinition.Builder> builderConsumer)
Copyright © 2019. All rights reserved.