public class CExceptionDescriptor extends net.morimekta.providence.descriptor.PExceptionDescriptor<CException> implements CMessageDescriptor
| Constructor and Description |
|---|
CExceptionDescriptor(String comment,
String packageName,
String name,
List<CField<CException>> fields,
Map<String,String> annotations) |
| Modifier and Type | Method and Description |
|---|---|
CField<CException> |
findFieldById(int id) |
CField<CException> |
findFieldByName(String name) |
CField<CException> |
findFieldByPojoName(String pojoName) |
Set<String> |
getAnnotations()
Get set of available annotations.
|
String |
getAnnotationValue(String name)
Get the given annotation value.
|
String |
getDocumentation()
The type comment is the last block of comment written before the type
declaration.
|
CField<CException>[] |
getFields() |
CInterfaceDescriptor |
getImplementing() |
boolean |
hasAnnotation(String name)
Get the given annotation value.
|
boolean |
isSimple() |
getVariant, isAutoType, isInnerTypebuilder, equals, fieldForId, fieldForName, fieldForPojoName, getBuilderSupplier, getType, hashCodegetDefaultValue, getName, getProgramName, getQualifiedName, getTypeName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitfieldForId, fieldForName, getVariantgetAnnotationValue, hasAnnotationpublic final String getDocumentation()
CAnnotatedDescriptorgetDocumentation in interface CAnnotatedDescriptor@Nonnull public CField<CException>[] getFields()
getFields in interface CMessageDescriptorgetFields in class net.morimekta.providence.descriptor.PMessageDescriptor<CException>public CField<CException> findFieldByName(String name)
findFieldByName in interface CMessageDescriptorfindFieldByName in class net.morimekta.providence.descriptor.PMessageDescriptor<CException>public CField<CException> findFieldByPojoName(String pojoName)
findFieldByPojoName in class net.morimekta.providence.descriptor.PMessageDescriptor<CException>public CField<CException> findFieldById(int id)
findFieldById in interface CMessageDescriptorfindFieldById in class net.morimekta.providence.descriptor.PMessageDescriptor<CException>@Nullable public CInterfaceDescriptor getImplementing()
getImplementing in interface CMessageDescriptorgetImplementing in class net.morimekta.providence.descriptor.PMessageDescriptor<CException>@Nonnull public Set<String> getAnnotations()
CAnnotatedDescriptorgetAnnotations in interface CAnnotatedDescriptorpublic boolean hasAnnotation(@Nonnull String name)
CAnnotatedDescriptorhasAnnotation in interface CAnnotatedDescriptorname - Name of annotation.public String getAnnotationValue(@Nonnull String name)
CAnnotatedDescriptorgetAnnotationValue in interface CAnnotatedDescriptorname - Name of annotation.public boolean isSimple()
isSimple in interface CMessageDescriptorisSimple in class net.morimekta.providence.descriptor.PMessageDescriptor<CException>Copyright © 2015–2020 morimekta.net. All rights reserved.