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.ForJava16CapableVm
A dispatcher for a Java 16-capable VM.
|
static class |
TypeDescription.ForLoadedType.Dispatcher.ForLegacyVm
A dispatcher for a legacy VM.
|
Modifier and Type | Method and Description |
---|---|
String |
getInternalName(Object permittedSubclass)
Returns the internal name of a permitted subclass.
|
Class<?> |
getNestHost(Class<?> type)
Returns the specified class's nest host.
|
Class<?>[] |
getNestMembers(Class<?> type)
Returns the nest members of the other class.
|
Object[] |
getPermittedSubclasses(Class<?> type)
Returns the permitted subclasses of the supplied type.
|
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.Object[] getPermittedSubclasses(Class<?> type)
type
- The type for which to check the permitted subclasses.Copyright © 2014–2020. All rights reserved.