public interface CMessageDescriptor extends CAnnotatedDescriptor, net.morimekta.providence.descriptor.PDescriptor
PStructDescriptor. It is avoided in this case in
order to be able to have subclasses of PStructDescriptor and PUnionDescriptor to
implement an interface that already have the getFields() methods with the
CField contained field implementation.| Modifier and Type | Method and Description |
|---|---|
net.morimekta.providence.descriptor.PField<?> |
fieldForId(int id) |
net.morimekta.providence.descriptor.PField<?> |
fieldForName(String name) |
net.morimekta.providence.descriptor.PField<?> |
findFieldById(int id) |
net.morimekta.providence.descriptor.PField<?> |
findFieldByName(String name) |
net.morimekta.providence.descriptor.PField<?>[] |
getFields() |
CInterfaceDescriptor |
getImplementing() |
net.morimekta.providence.PMessageVariant |
getVariant() |
boolean |
isSimple() |
getAnnotations, getAnnotationValue, getAnnotationValue, getDocumentation, hasAnnotation, hasAnnotation@Nonnull net.morimekta.providence.descriptor.PField<?>[] getFields()
@Nullable net.morimekta.providence.descriptor.PField<?> findFieldByName(String name)
@Nullable net.morimekta.providence.descriptor.PField<?> findFieldById(int id)
@Nullable net.morimekta.providence.descriptor.PField<?> fieldForId(int id)
@Nonnull net.morimekta.providence.PMessageVariant getVariant()
@Nullable CInterfaceDescriptor getImplementing()
boolean isSimple()
Copyright © 2015–2020 morimekta.net. All rights reserved.