Uses of Class
net.morimekta.providence.types.TypeReference
-
Packages that use TypeReference Package Description net.morimekta.providence.reflect net.morimekta.providence.reflect.util net.morimekta.providence.types -
-
Uses of TypeReference in net.morimekta.providence.reflect
Methods in net.morimekta.providence.reflect that return types with arguments of type TypeReference Modifier and Type Method Description java.util.Optional<TypeReference>
GlobalRegistry. getTypedef(TypeReference reference)
java.util.Optional<TypeReference>
ProgramRegistry. getTypedef(TypeReference reference)
Methods in net.morimekta.providence.reflect with parameters of type TypeReference Modifier and Type Method Description <T> java.util.Optional<T>
GlobalRegistry. getConstantValue(TypeReference reference)
<T> java.util.Optional<T>
ProgramRegistry. getConstantValue(TypeReference reference)
java.util.Optional<PDeclaredDescriptor<?>>
GlobalRegistry. getDeclaredType(TypeReference reference)
java.util.Optional<PDeclaredDescriptor<?>>
ProgramRegistry. getDeclaredType(TypeReference reference)
java.util.Optional<PService>
GlobalRegistry. getService(TypeReference reference)
java.util.Optional<PService>
ProgramRegistry. getService(TypeReference reference)
java.util.Optional<TypeReference>
GlobalRegistry. getTypedef(TypeReference reference)
java.util.Optional<TypeReference>
ProgramRegistry. getTypedef(TypeReference reference)
void
ProgramRegistry. registerConstant(TypeReference reference, PValueProvider value)
void
ProgramRegistry. registerTypedef(TypeReference reference, TypeReference target)
-
Uses of TypeReference in net.morimekta.providence.reflect.util
Constructors in net.morimekta.providence.reflect.util with parameters of type TypeReference Constructor Description ConstValueProvider(TypeRegistry registry, java.lang.String programName, TypeReference constType, java.util.List<ThriftToken> constTokens)
-
Uses of TypeReference in net.morimekta.providence.types
Fields in net.morimekta.providence.types declared as TypeReference Modifier and Type Field Description TypeReference
TypeReference. keyType
TypeReference
TypeReference. valueType
Methods in net.morimekta.providence.types that return TypeReference Modifier and Type Method Description protected TypeReference
TypeRegistry. finalTypeReference(TypeReference reference)
Get the final typename of the given identifier within the context.static TypeReference
TypeReference. parseType(java.lang.String globalName)
Create a type reference from a global reference name.static TypeReference
TypeReference. parseType(java.lang.String programContext, java.lang.String typeName)
Create a type reference from a program context.static TypeReference
TypeReference. ref(java.lang.String programContext, java.lang.String typeName)
Create a simple type reference.Methods in net.morimekta.providence.types that return types with arguments of type TypeReference Modifier and Type Method Description java.util.Optional<TypeReference>
SimpleTypeRegistry. getTypedef(TypeReference reference)
abstract java.util.Optional<TypeReference>
TypeRegistry. getTypedef(TypeReference reference)
Get a type-definition for the given reference.Methods in net.morimekta.providence.types with parameters of type TypeReference Modifier and Type Method Description protected TypeReference
TypeRegistry. finalTypeReference(TypeReference reference)
Get the final typename of the given identifier within the context.<T> java.util.Optional<T>
SimpleTypeRegistry. getConstantValue(TypeReference reference)
abstract <T> java.util.Optional<T>
TypeRegistry. getConstantValue(TypeReference reference)
This is to check to find a constant given the const name and program context.java.util.Optional<PDeclaredDescriptor<?>>
SimpleTypeRegistry. getDeclaredType(TypeReference reference)
abstract java.util.Optional<PDeclaredDescriptor<?>>
TypeRegistry. getDeclaredType(TypeReference reference)
Get the declared type with the given name and program context.java.util.Optional<PService>
SimpleTypeRegistry. getService(TypeReference reference)
abstract java.util.Optional<PService>
TypeRegistry. getService(TypeReference reference)
Get a service definition from the name and program context.PServiceProvider
TypeRegistry. getServiceProvider(TypeReference reference)
java.util.Optional<TypeReference>
SimpleTypeRegistry. getTypedef(TypeReference reference)
abstract java.util.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, java.util.Map<java.lang.String,java.lang.String> annotations)
void
SimpleTypeRegistry. registerConstant(TypeReference reference, PValueProvider value)
abstract void
WritableTypeRegistry. registerConstant(TypeReference reference, PValueProvider value)
Register a constant value.void
SimpleTypeRegistry. registerTypedef(TypeReference reference, TypeReference target)
abstract void
WritableTypeRegistry. registerTypedef(TypeReference reference, TypeReference target)
Registers a typedef definition.PDeclaredDescriptor
TypeRegistry. requireDeclaredType(TypeReference reference)
Get the declared type with the given name and program context.<E extends PEnumValue<E>>
PEnumDescriptor<E>TypeRegistry. requireEnumType(TypeReference reference)
Get the declared enum type.<M extends PMessage<M>>
PMessageDescriptor<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.
-