| Package | Description |
|---|---|
| net.morimekta.providence | |
| net.morimekta.providence.descriptor | |
| net.morimekta.providence.util |
| Modifier and Type | Field and Description |
|---|---|
static PEnumDescriptor<PApplicationExceptionType> |
PApplicationExceptionType.kDescriptor |
static PEnumDescriptor<PServiceCallType> |
PServiceCallType.kDescriptor |
| Modifier and Type | Method and Description |
|---|---|
PEnumDescriptor<PApplicationExceptionType> |
PApplicationExceptionType.descriptor() |
PEnumDescriptor |
PEnumValue.descriptor() |
PEnumDescriptor<PServiceCallType> |
PServiceCallType.descriptor() |
| Modifier and Type | Method and Description |
|---|---|
PEnumDescriptor<E> |
PEnumDescriptorProvider.descriptor() |
| Constructor and Description |
|---|
PEnumDescriptorProvider(PEnumDescriptor<E> type) |
| Modifier and Type | Method and Description |
|---|---|
default <E extends PEnumValue<E>> |
TypeRegistry.getEnumType(String typeName)
These extra casts needs to be there, otherwise we'd get this error:
incompatible types: inference variable T has incompatible upper bounds
net.morimekta.providence.descriptor.PDeclaredDescriptor<net.morimekta.providence.descriptor.PEnumDescriptor>,
net.morimekta.providence.descriptor.PEnumDescriptor
TODO: Figure out a way to fix the generic cast. |
Copyright © 2015–2018 morimekta.net. All rights reserved.