| Package | Description |
|---|---|
| net.morimekta.providence.types |
| Modifier and Type | Field and Description |
|---|---|
TypeReference |
TypeReference.keyType |
TypeReference |
TypeReference.valueType |
| Modifier and Type | Method and Description |
|---|---|
protected TypeReference |
TypeRegistry.finalTypeReference(TypeReference reference)
Get the final typename of the given identifier within the context.
|
static TypeReference |
TypeReference.parseType(String globalName)
Create a type reference from a global reference name.
|
static TypeReference |
TypeReference.parseType(String programContext,
String typeName)
Create a type reference from a program context.
|
static TypeReference |
TypeReference.ref(String programContext,
String typeName)
Create a simple type reference.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<TypeReference> |
SimpleTypeRegistry.getTypedef(TypeReference reference) |
abstract Optional<TypeReference> |
TypeRegistry.getTypedef(TypeReference reference)
Get a type-definition for the given reference.
|
| Modifier and Type | Method and Description |
|---|---|
protected TypeReference |
TypeRegistry.finalTypeReference(TypeReference reference)
Get the final typename of the given identifier within the context.
|
<T> Optional<T> |
SimpleTypeRegistry.getConstantValue(TypeReference reference) |
abstract <T> Optional<T> |
TypeRegistry.getConstantValue(TypeReference reference)
This is to check to find a constant given the const name and program context.
|
Optional<PDeclaredDescriptor<?>> |
SimpleTypeRegistry.getDeclaredType(TypeReference reference) |
abstract Optional<PDeclaredDescriptor<?>> |
TypeRegistry.getDeclaredType(TypeReference reference)
Get the declared type with the given name and program context.
|
Optional<PService> |
SimpleTypeRegistry.getService(TypeReference reference) |
abstract Optional<PService> |
TypeRegistry.getService(TypeReference reference)
Get a service definition from the name and program context.
|
PServiceProvider |
TypeRegistry.getServiceProvider(TypeReference reference) |
Optional<TypeReference> |
SimpleTypeRegistry.getTypedef(TypeReference reference) |
abstract Optional<TypeReference> |
TypeRegistry.getTypedef(TypeReference reference)
Get a type-definition for the given reference.
|
PDescriptorProvider |
TypeRegistry.getTypeProvider(TypeReference reference)
Get a type provider for reference.
|
PDescriptorProvider |
TypeRegistry.getTypeProvider(TypeReference reference,
Map<String,String> annotations) |
void |
SimpleTypeRegistry.registerConstant(TypeReference reference,
PValueProvider value) |
abstract void |
WritableTypeRegistry.registerConstant(TypeReference reference,
PValueProvider<?> value)
Register a constant value.
|
abstract void |
WritableTypeRegistry.registerTypedef(TypeReference reference,
TypeReference target)
Registers a typedef definition.
|
void |
SimpleTypeRegistry.registerTypedef(TypeReference reference,
TypeReference target) |
PDeclaredDescriptor |
TypeRegistry.requireDeclaredType(TypeReference reference)
Get the declared type with the given name and program context.
|
<E extends PEnumValue<E>> |
TypeRegistry.requireEnumType(TypeReference reference)
Get the declared enum type.
|
<M extends PMessage<M>> |
TypeRegistry.requireMessageType(TypeReference reference)
Get the declared message type.
|
PService |
TypeRegistry.requireService(TypeReference reference)
Get the declared type with the given name and program context.
|
Copyright © 2015–2020 morimekta.net. All rights reserved.