public class AnnotationLookup
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.Class<?> |
getValueType(java.lang.Class<? extends CoreAnnotation<?>> key)
Returns the runtime value type associated with the given key.
|
static java.lang.Class<? extends CoreAnnotation<?>> |
toCoreKey(java.lang.String stringKey)
Returns a CoreAnnotation class key for the given string
key if one exists; null otherwise.
|
public static java.lang.Class<? extends CoreAnnotation<?>> toCoreKey(java.lang.String stringKey)
stringKey
- String form of the keynull
if nothing matchespublic static java.lang.Class<?> getValueType(java.lang.Class<? extends CoreAnnotation<?>> key)
key
- The annotation key (non-null)