Package | Description |
---|---|
net.morimekta.providence | |
net.morimekta.providence.descriptor | |
net.morimekta.providence.util |
Modifier and Type | Class and Description |
---|---|
class |
PApplicationExceptionType
General type of exception on the application level.
|
class |
PServiceCallType
The service call type is a base distinction of what the message means, and
lets the server or client select the proper message to be serialized or
deserialized from the service method descriptor.
|
Modifier and Type | Class and Description |
---|---|
class |
PEnumDescriptor<T extends PEnumValue<T>>
The definition of a thrift enum.
|
class |
PEnumDescriptorProvider<E extends PEnumValue<E>>
Provider for enum type descriptor.
|
Modifier and Type | Method and Description |
---|---|
abstract T[] |
PEnumDescriptor.getValues() |
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.