| 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. | 
| net.bytebuddy.dynamic.loading | This package contains classes that are responsible for class loading of classes that are represented by
  bytearrays. | 
| Modifier and Type | Method and Description | 
|---|---|
| <S extends ClassLoader> | TypeResolutionStrategy.Resolved. initialize(DynamicType dynamicType,
          S classLoader,
          ClassLoadingStrategy<? super S> classLoadingStrategy)Loads and initializes a dynamic type. | 
| <S extends ClassLoader> | TypeResolutionStrategy.Passive. initialize(DynamicType dynamicType,
          S classLoader,
          ClassLoadingStrategy<? super S> classLoadingStrategy)Loads and initializes a dynamic type. | 
| <S extends ClassLoader> | TypeResolutionStrategy.Active.Resolved. initialize(DynamicType dynamicType,
          S classLoader,
          ClassLoadingStrategy<? super S> classLoadingStrategy)Loads and initializes a dynamic type. | 
| <S extends ClassLoader> | TypeResolutionStrategy.Lazy. initialize(DynamicType dynamicType,
          S classLoader,
          ClassLoadingStrategy<? super S> classLoadingStrategy)Loads and initializes a dynamic type. | 
| <S extends ClassLoader> | TypeResolutionStrategy.Disabled. initialize(DynamicType dynamicType,
          S classLoader,
          ClassLoadingStrategy<? super S> classLoadingStrategy)Loads and initializes a dynamic type. | 
| <S extends ClassLoader> | DynamicType.Unloaded. load(S classLoader,
    ClassLoadingStrategy<? super S> classLoadingStrategy)
 Attempts to load this dynamic type including all of its auxiliary types, if any. | 
| <S extends ClassLoader> | DynamicType.Default.Unloaded. load(S classLoader,
    ClassLoadingStrategy<? super S> classLoadingStrategy)
 Attempts to load this dynamic type including all of its auxiliary types, if any. | 
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | ClassLoadingStrategy.Configurable<S extends ClassLoader>A  ClassLoadingStrategythat allows configuring the strategy's behavior. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ClassLoadingStrategy.DefaultThis class contains implementations of default class loading strategies. | 
| protected static class  | ClassLoadingStrategy.Default.InjectionDispatcher
 A class loading strategy which applies a class loader injection while applying a given  ProtectionDomainon class injection. | 
| protected static class  | ClassLoadingStrategy.Default.WrappingDispatcherA class loading strategy which creates a wrapping class loader while applying a given
  ProtectionDomainon class loading. | 
| static class  | ClassLoadingStrategy.ForBootstrapInjectionA class loading strategy which allows class injection into the bootstrap class loader if
 appropriate. | 
| static class  | ClassLoadingStrategy.ForJnaInjectionA class loading strategy that injects a class using JNA via the JNI DefineClass method. | 
| static class  | ClassLoadingStrategy.ForUnsafeInjectionA class loading strategy that injects a class using  sun.misc.Unsafeorjdk.internal.misc.Unsafe. | 
| static class  | ClassLoadingStrategy.UsingLookupA class loading strategy that uses a  java.lang.invoke.MethodHandles$Lookupinstance for defining types. | 
| class  | ClassReloadingStrategy
 The class reloading strategy allows to redefine loaded  Classes. | 
| static class  | InjectionClassLoader.StrategyA class loading strategy for adding a type to an injection class loader. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ClassLoadingStrategy<ClassLoader> | ClassLoadingStrategy.UsingLookup. of(Object lookup)Creates a new class loading strategy that uses a  java.lang.invoke.MethodHandles$Lookupinstance. | 
| static ClassLoadingStrategy<ClassLoader> | ClassLoadingStrategy.UsingLookup. withFallback(Callable<?> lookup)Resolves a class loading strategy using a lookup if available on the current JVM. | 
| static ClassLoadingStrategy<ClassLoader> | ClassLoadingStrategy.UsingLookup. withFallback(Callable<?> lookup,
            boolean wrapper)Resolves a class loading strategy using a lookup if available on the current JVM. | 
Copyright © 2014–2023. All rights reserved.