@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(java.lang.String name,
java.util.List<EnumValueDefinition> enumValueDefinitions,
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 |
---|---|
EnumTypeExtensionDefinition |
deepCopy() |
static EnumTypeExtensionDefinition.Builder |
newEnumTypeExtensionDefinition() |
java.lang.String |
toString() |
EnumTypeExtensionDefinition |
transformExtension(java.util.function.Consumer<EnumTypeExtensionDefinition.Builder> builderConsumer) |
accept, getChildren, getDescription, getDirectives, getEnumValueDefinitions, getName, getNamedChildren, isEqualTo, newEnumTypeDefinition, transform, withNewChildren
deepCopy, deepCopy, getAdditionalData, getComments, getIgnoredChars, getSourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAdditionalData, getComments, getIgnoredChars, getSourceLocation
getDirective, getDirectivesByName
protected EnumTypeExtensionDefinition(java.lang.String name, java.util.List<EnumValueDefinition> enumValueDefinitions, 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 EnumTypeExtensionDefinition deepCopy()
deepCopy
in interface Node<EnumTypeDefinition>
deepCopy
in class EnumTypeDefinition
public java.lang.String toString()
toString
in class EnumTypeDefinition
public static EnumTypeExtensionDefinition.Builder newEnumTypeExtensionDefinition()
public EnumTypeExtensionDefinition transformExtension(java.util.function.Consumer<EnumTypeExtensionDefinition.Builder> builderConsumer)