T
- The most specific known loaded type that is implemented by this dynamic type, usually the
type itself, an interface or the direct super class.public static interface DynamicType.Loaded<T> extends DynamicType
DynamicType.Builder<T>, DynamicType.Default, DynamicType.Loaded<T>, DynamicType.Unloaded<T>
Modifier and Type | Method and Description |
---|---|
Class<? extends T> |
getLoaded()
Returns the loaded main class.
|
Map<TypeDescription,Class<?>> |
getLoadedAuxiliaryTypes()
Returns a map of all loaded auxiliary types to this dynamic type.
|
getAllTypes, getAuxiliaryTypes, getBytes, getLoadedTypeInitializers, getTypeDescription, hasAliveLoadedTypeInitializers, inject, inject, saveIn, toJar, toJar
Class<? extends T> getLoaded()
Map<TypeDescription,Class<?>> getLoadedAuxiliaryTypes()
Returns a map of all loaded auxiliary types to this dynamic type.
Note: The type descriptions will most likely differ from the binary representation of this type. Normally, annotations and intercepted methods are not added to the type descriptions of auxiliary types.
Copyright © 2014–2020. All rights reserved.