@HashCodeAndEqualsPlugin.Enhance protected static class AgentBuilder.Transformer.ForAdvice.LazyDynamicType extends DynamicType.AbstractBase
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.SimpleMETA_INF_VERSIONS| Modifier | Constructor and Description |
|---|---|
protected |
LazyDynamicType(TypeDescription typeDescription,
ClassFileLocator classFileLocator)
Creates a lazy dynamic type.
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends DynamicType> |
getAuxiliaries()
Returns all auxiliary types of this dynamic type.
|
byte[] |
getBytes()
Returns a byte array representing this dynamic type.
|
LoadedTypeInitializer |
getLoadedTypeInitializer()
Returns the loaded type initializer of this dynamic type.
|
TypeDescription |
getTypeDescription()
Returns a description of this dynamic type.
|
close, getAllTypeDescriptions, getAllTypes, getAuxiliaryTypeDescriptions, getAuxiliaryTypes, getLoadedTypeInitializers, hasAliveLoadedTypeInitializers, inject, inject, locate, saveIn, toJar, toJarprotected LazyDynamicType(TypeDescription typeDescription, ClassFileLocator classFileLocator)
typeDescription - A description of the class to inject.classFileLocator - The class file locator to use.public TypeDescription getTypeDescription()
Returns a description of this dynamic type.
Note: This description will most likely differ from the binary representation of this type. Normally, annotations and intercepted methods are not added to this type description.
public byte[] getBytes()
public List<? extends DynamicType> getAuxiliaries()
public LoadedTypeInitializer getLoadedTypeInitializer()
Copyright © 2014–2025. All rights reserved.