public final class Descriptor extends AnnotatedDescriptorImpl implements GenericDescriptor
Modifier and Type | Class and Description |
---|---|
static class |
Descriptor.Builder |
annotations, documentation, fullName, name, parsedAnnotations
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
FieldDescriptor |
findFieldByName(String name) |
FieldDescriptor |
findFieldByNumber(int number) |
protected AnnotationConfig<Descriptor> |
getAnnotationConfig(String annotationName)
Subclasses are responsible for fetching the AnnotationConfig from the appropriate place.
|
Descriptor |
getContainingType() |
List<EnumDescriptor> |
getEnumTypes() |
List<FieldDescriptor> |
getFields() |
FileDescriptor |
getFileDescriptor() |
List<Descriptor> |
getNestedTypes() |
List<Option> |
getOptions() |
Integer |
getTypeId() |
int |
hashCode() |
getAnnotations, getDocumentation, getFullName, getName, getProcessedAnnotation
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAnnotations, getDocumentation, getFullName, getName, getProcessedAnnotation
public FileDescriptor getFileDescriptor()
getFileDescriptor
in interface AnnotatedDescriptor
public List<FieldDescriptor> getFields()
public List<Descriptor> getNestedTypes()
public List<EnumDescriptor> getEnumTypes()
public FieldDescriptor findFieldByNumber(int number)
public FieldDescriptor findFieldByName(String name)
public Integer getTypeId()
getTypeId
in interface GenericDescriptor
public Descriptor getContainingType()
getContainingType
in interface GenericDescriptor
protected AnnotationConfig<Descriptor> getAnnotationConfig(String annotationName)
AnnotatedDescriptorImpl
getAnnotationConfig
in class AnnotatedDescriptorImpl
Copyright © 2021 JBoss, a division of Red Hat. All rights reserved.