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 |
|---|---|
Class<?> |
getNestHost(Class<?> type)
Returns the specified class's nest host.
|
Class<?>[] |
getNestMembers(Class<?> type)
Returns the nest members of the other class.
|
boolean |
isNestmateOf(Class<?> type,
Class<?> candidate)
Returns
true if the specified type is a nest mate of the other type. |
Class<?> getNestHost(Class<?> type)
type - The class for which to locate the nest host.Class<?>[] getNestMembers(Class<?> type)
type - The type to get the nest members for.boolean isNestmateOf(Class<?> type, 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.Copyright © 2014–2019. All rights reserved.