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>
ClassFileLocator.Compound, ClassFileLocator.Filtering, ClassFileLocator.ForClassLoader, ClassFileLocator.ForFolder, ClassFileLocator.ForInstrumentation, ClassFileLocator.ForJarFile, ClassFileLocator.ForModule, ClassFileLocator.ForModuleFile, ClassFileLocator.ForUrl, ClassFileLocator.NoOp, ClassFileLocator.PackageDiscriminating, ClassFileLocator.Resolution, ClassFileLocator.Simple
CLASS_FILE_EXTENSION
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.
|
close, getAllTypes, getAuxiliaryTypes, getBytes, getLoadedTypeInitializers, getTypeDescription, hasAliveLoadedTypeInitializers, inject, inject, saveIn, toJar, toJar
locate
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.
Map<TypeDescription,Class<?>> getAllLoaded()
Copyright © 2014–2024. All rights reserved.