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.@HashCodeAndEqualsPlugin.Enhance protected static class DynamicType.Default.Loaded<T> extends DynamicType.Default implements DynamicType.Loaded<T>
DynamicType.Default.Loaded<T>, DynamicType.Default.Unloaded<T>DynamicType.AbstractBase, DynamicType.Builder<T>, DynamicType.Default, DynamicType.Loaded<T>, DynamicType.Unloaded<T>ClassFileLocator.Compound, ClassFileLocator.Filtering, ClassFileLocator.ForClassLoader, ClassFileLocator.ForFolder, ClassFileLocator.ForInstrumentation, ClassFileLocator.ForJarFile, ClassFileLocator.ForModule, ClassFileLocator.ForModuleFile, ClassFileLocator.ForUrl, ClassFileLocator.MultiReleaseAware, ClassFileLocator.NoOp, ClassFileLocator.PackageDiscriminating, ClassFileLocator.Resolution, ClassFileLocator.SimpleauxiliaryTypes, binaryRepresentation, loadedTypeInitializer, typeDescriptionCLASS_FILE_EXTENSION, META_INF_VERSIONS| Modifier | Constructor and Description |
|---|---|
protected |
Loaded(TypeDescription typeDescription,
byte[] typeByte,
LoadedTypeInitializer loadedTypeInitializer,
List<? extends DynamicType> auxiliaryTypes,
Map<TypeDescription,Class<?>> loadedTypes)
Creates a new representation of a loaded dynamic type.
|
| Modifier and Type | Method and Description |
|---|---|
Map<TypeDescription,Class<?>> |
getAllLoaded()
Returns all loaded types that are implied by this dynamic type.
|
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.
|
getAuxiliaries, getBytes, getLoadedTypeInitializer, getTypeDescriptionclose, getAllTypeDescriptions, getAllTypes, getAuxiliaryTypeDescriptions, getAuxiliaryTypes, getLoadedTypeInitializers, hasAliveLoadedTypeInitializers, inject, inject, locate, saveIn, toJar, toJarclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getAllTypeDescriptions, getAllTypes, getAuxiliaries, getAuxiliaryTypeDescriptions, getAuxiliaryTypes, getBytes, getLoadedTypeInitializer, getLoadedTypeInitializers, getTypeDescription, hasAliveLoadedTypeInitializers, inject, inject, saveIn, toJar, toJarlocateprotected Loaded(TypeDescription typeDescription, byte[] typeByte, LoadedTypeInitializer loadedTypeInitializer, List<? extends DynamicType> auxiliaryTypes, Map<TypeDescription,Class<?>> loadedTypes)
typeDescription - A description of this dynamic type.typeByte - An array of byte of the binary representation of this dynamic type.loadedTypeInitializer - The type initializer of this dynamic type.auxiliaryTypes - The auxiliary types that are required for this dynamic type.loadedTypes - A map of loaded types for this dynamic type and all its auxiliary types.public Class<? extends T> getLoaded()
getLoaded in interface DynamicType.Loaded<T>public 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.
getLoadedAuxiliaryTypes in interface DynamicType.Loaded<T>public Map<TypeDescription,Class<?>> getAllLoaded()
getAllLoaded in interface DynamicType.Loaded<T>Copyright © 2014–2025. All rights reserved.