public class CExceptionDescriptor extends PExceptionDescriptor<CException,CField> implements CMessageDescriptor
| Constructor and Description |
|---|
CExceptionDescriptor(String comment,
String packageName,
String name,
List<CField> fields,
Map<String,String> annotations) |
| Modifier and Type | Method and Description |
|---|---|
CField |
findFieldById(int id) |
CField |
findFieldByName(String name) |
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[] |
getFields() |
boolean |
hasAnnotation(String name)
Get the given annotation value.
|
boolean |
isSimple() |
getVariantbuilder, equals, fieldForId, fieldForName, getBuilderSupplier, getField, getField, getType, hashCodegetDefaultValue, getName, getProgramName, getQualifiedName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitfieldForId, fieldForName, getVariantgetAnnotationValue, hasAnnotationgetDefaultValue, getName, getProgramName, getQualifiedName, getQualifiedName, getTypepublic final String getDocumentation()
CAnnotatedDescriptorgetDocumentation in interface CAnnotatedDescriptor@Nonnull public CField[] getFields()
getFields in interface CMessageDescriptorgetFields in class PMessageDescriptor<CException,CField>public CField findFieldByName(String name)
findFieldByName in interface CMessageDescriptorfindFieldByName in class PMessageDescriptor<CException,CField>public CField findFieldById(int id)
findFieldById in interface CMessageDescriptorfindFieldById in class PMessageDescriptor<CException,CField>@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 PMessageDescriptor<CException,CField>Copyright © 2015–2018 morimekta.net. All rights reserved.