public static interface AnnotationParser.ClassLookup
| Modifier and Type | Field and Description |
|---|---|
static AnnotationParser.ClassLookup |
DEFAULT
The default singleton instance using
Class.forName(java.lang.String) |
| Modifier and Type | Method and Description |
|---|---|
default java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotationClass(Type type)
Lookup the provided
Type as an annotation and produce a Class instance. |
default java.lang.Class<?> |
getClass(Type type)
Lookup the provided ASM
Type and produce a Class instance. |
default <T extends java.lang.Enum<T>> |
getEnumClass(Type type)
Lookup the provided
Type as an enum and produce a Class instance. |
static final AnnotationParser.ClassLookup DEFAULT
Class.forName(java.lang.String)default java.lang.Class<?> getClass(Type type)
throws java.lang.ClassNotFoundException
Type and produce a Class instance.type - The type to lookup.java.lang.ClassNotFoundExceptiondefault <T extends java.lang.Enum<T>> java.lang.Class<T> getEnumClass(Type type)
throws java.lang.ClassNotFoundException
Type as an enum and produce a Class instance.type - The type to lookup.java.lang.ClassNotFoundExceptiondefault java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationClass(Type type)
throws java.lang.ClassNotFoundException
Type as an annotation and produce a Class instance.type - The type to lookup.java.lang.ClassNotFoundException