public static interface TypeDescription.Generic.AnnotationReader.Dispatcher
| Modifier and Type | Interface and Description |
|---|---|
static class |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForLegacyVm
A dispatcher for
TypeDescription.Generic.AnnotationReaders on a legacy VM that does not support type annotations. |
static class |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForModernVm
A dispatcher for a modern JVM that supports type annotations.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription.Generic.AnnotationReader |
resolve(Field field)
Resolves a loaded field's type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
resolveExceptionType(AccessibleObject executable,
int index)
Resolves a loaded executable's exception type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
resolveInterface(Class<?> type,
int index)
Resolves a loaded type's interface type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
resolveParameterType(AccessibleObject executable,
int index)
Resolves a loaded executable's type argument type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
resolveReturnType(Method method)
Resolves a loaded method's return type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
resolveSuperClass(Class<?> type)
Resolves a loaded type's super class's type annotations.
|
TypeDescription.Generic.AnnotationReader |
resolveTypeVariable(TypeVariable<?> typeVariable)
Resolves a formal type variable's type annotations.
|
TypeDescription.Generic.AnnotationReader resolveTypeVariable(TypeVariable<?> typeVariable)
typeVariable - The type variable to represent.TypeDescription.Generic.AnnotationReader resolveSuperClass(Class<?> type)
type - The type to represent.TypeDescription.Generic.AnnotationReader resolveInterface(Class<?> type, int index)
type - The type to represent.index - The index of the interface.TypeDescription.Generic.AnnotationReader resolve(Field field)
field - The field to represent.TypeDescription.Generic.AnnotationReader resolveReturnType(Method method)
method - The method to represent.TypeDescription.Generic.AnnotationReader resolveParameterType(AccessibleObject executable, int index)
executable - The executable to represent.index - The type argument's index.TypeDescription.Generic.AnnotationReader resolveExceptionType(AccessibleObject executable, int index)
executable - The executable to represent.index - The type argument's index.Copyright © 2014–2016. All rights reserved.