Package | Description |
---|---|
net.bytebuddy.dynamic |
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
|
Modifier and Type | Class and Description |
---|---|
static class |
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Default
A default implementation of a class loading delegate.
|
static class |
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Explicit
A class loading delegate that allows the location of explicitly registered classes that cannot
be located by a class loader directly.
|
static class |
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.ForDelegatingClassLoader
A class loading delegate that accounts for a
sun.reflect.DelegatingClassLoader which
cannot load its own classes by name. |
Modifier and Type | Method and Description |
---|---|
static ClassFileLocator.ForInstrumentation.ClassLoadingDelegate |
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Explicit.of(Class<?> type)
Creates an explicit class loading delegate for the given type.
|
static ClassFileLocator.ForInstrumentation.ClassLoadingDelegate |
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Default.of(ClassLoader classLoader)
Creates a class loading delegate for the given class loader.
|
Constructor and Description |
---|
Explicit(ClassFileLocator.ForInstrumentation.ClassLoadingDelegate fallbackDelegate,
Collection<? extends Class<?>> types)
Creates a new class loading delegate with a possibility of looking up explicitly
registered classes.
|
ForInstrumentation(Instrumentation instrumentation,
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate classLoadingDelegate)
Creates an agent-based class file locator.
|
Copyright © 2014–2024. All rights reserved.