public final class EnumDescriptor extends AnnotatedDescriptorImpl implements GenericDescriptor
| Modifier and Type | Class and Description |
|---|---|
static class |
EnumDescriptor.Builder |
annotations, documentation, fullName, name, parsedAnnotations| Modifier and Type | Method and Description |
|---|---|
EnumValueDescriptor |
findValueByName(String name) |
EnumValueDescriptor |
findValueByNumber(int number) |
protected AnnotationConfig<EnumDescriptor> |
getAnnotationConfig(String annotationName)
Subclasses are responsible for fetching the AnnotationConfig from the appropriate place.
|
Descriptor |
getContainingType() |
FileDescriptor |
getFileDescriptor() |
List<Option> |
getOptions() |
Integer |
getTypeId() |
List<EnumValueDescriptor> |
getValues() |
getAnnotations, getDocumentation, getFullName, getName, getProcessedAnnotationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotations, getDocumentation, getFullName, getName, getProcessedAnnotationprotected AnnotationConfig<EnumDescriptor> getAnnotationConfig(String annotationName)
AnnotatedDescriptorImplgetAnnotationConfig in class AnnotatedDescriptorImplpublic FileDescriptor getFileDescriptor()
getFileDescriptor in interface AnnotatedDescriptorpublic Integer getTypeId()
getTypeId in interface GenericDescriptorpublic Descriptor getContainingType()
getContainingType in interface GenericDescriptorpublic List<EnumValueDescriptor> getValues()
public EnumValueDescriptor findValueByNumber(int number)
public EnumValueDescriptor findValueByName(String name)
Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.