protected static interface TypeDescription.ForLoadedType.Dispatcher
Class that are not declared for Java 6.| Modifier and Type | Interface and Description |
|---|---|
static class |
TypeDescription.ForLoadedType.Dispatcher.CreationAction
An action to resolve the dispatcher for invoking methods of
Class reflectively. |
static class |
TypeDescription.ForLoadedType.Dispatcher.ForJava11CapableVm
A dispatcher for a Java 11-capable VM.
|
static class |
TypeDescription.ForLoadedType.Dispatcher.ForLegacyVm
A dispatcher for a legacy VM.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
getNestHost(java.lang.Class<?> type)
Returns the specified class's nest host.
|
java.lang.Class<?>[] |
getNestMembers(java.lang.Class<?> type)
Returns the nest members of the other class.
|
boolean |
isNestmateOf(java.lang.Class<?> type,
java.lang.Class<?> candidate)
Returns
true if the specified type is a nest mate of the other type. |
java.lang.Class<?> getNestHost(java.lang.Class<?> type)
type - The class for which to locate the nest host.java.lang.Class<?>[] getNestMembers(java.lang.Class<?> type)
type - The type to get the nest members for.boolean isNestmateOf(java.lang.Class<?> type,
java.lang.Class<?> candidate)
true if the specified type is a nest mate of the other type.type - The type to evaluate for being a nest mate of another type.candidate - The candidate type.true if the specified type is a nest mate of the other class.