public class CInterfaceDescriptor extends net.morimekta.providence.descriptor.PInterfaceDescriptor<CInterface> implements CMessageDescriptor
| Constructor and Description |
|---|
CInterfaceDescriptor(String comment,
String packageName,
String name,
List<CField<CInterface>> fields,
Map<String,String> annotations) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPossibleType(net.morimekta.providence.descriptor.PMessageDescriptor<?> descriptor) |
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.
|
CInterfaceDescriptor |
getImplementing() |
List<net.morimekta.providence.descriptor.PMessageDescriptor<?>> |
getPossibleTypes() |
boolean |
hasAnnotation(String name)
Get the given annotation value.
|
builder, findFieldById, findFieldByName, findFieldByPojoName, getFields, getVariant, isAutoType, isInnerTypeequals, fieldForId, fieldForName, fieldForPojoName, getBuilderSupplier, getType, hashCode, isSimplegetDefaultValue, getName, getProgramName, getQualifiedName, getTypeName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitfieldForId, fieldForName, findFieldById, findFieldByName, getFields, getVariant, isSimplegetAnnotationValue, hasAnnotationpublic void addPossibleType(net.morimekta.providence.descriptor.PMessageDescriptor<?> descriptor)
public List<net.morimekta.providence.descriptor.PMessageDescriptor<?>> getPossibleTypes()
getPossibleTypes in class net.morimekta.providence.descriptor.PInterfaceDescriptor<CInterface>public final String getDocumentation()
CAnnotatedDescriptorgetDocumentation in interface CAnnotatedDescriptor@Nullable public CInterfaceDescriptor getImplementing()
getImplementing in interface CMessageDescriptorgetImplementing in class net.morimekta.providence.descriptor.PMessageDescriptor<CInterface>@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.Copyright © 2015–2020 morimekta.net. All rights reserved.