Package net.bytebuddy.dynamic.loading
@ByDefault
package net.bytebuddy.dynamic.loading
This package contains classes that are responsible for class loading of classes that are represented by
byte arrays.-
ClassDescriptionA
ClassLoaderthat is capable of loading explicitly defined classes.AByteArrayClassLoaderwhich applies child-first semantics for the given type definitions.An enumeration that prepends an element to another enumeration and skips the last element of the provided enumeration.An enumeration without any elements.A package lookup strategy for locating a package by name.A creation action for a package lookup strategy.A package lookup strategy for Java 9 or newer.A package lookup strategy for a VM prior to Java 9.A persistence handler decides on whether the byte array that represents a loaded class is exposed by theClassLoader.getResourceAsStream(String)method.An action to define a URL that represents a class file.A stream handler that returns the given binary representation.A URL connection for a given byte array.A dispatcher for interacting withURL.An enumeration that contains a single element.An engine for receiving a class loading lock when loading a class.A creation action for a synchronization strategy.A synchronization engine for a VM that is aware of parallel-capable class loaders.A synchronization engine for a VM that is aware of parallel-capable class loaders using method handles to respect module boundaries.A synchronization engine for a VM that is not aware of parallel-capable class loaders.An uninitialized synchronization strategy.A post processor for class files.A class file post processor that delegates to anClassFileTransformer.A permission collection that implies all permissions.A non-operation class file post processor.A class injector is capable of injecting classes into aClassLoaderwithout requiring the class loader to being able to explicitly look up these classes.An abstract base implementation of a class injector.A class injector using aInstrumentationto append to either the boot classpath or the system class path.A dispatcher to interact with the instrumentation API.A representation of the target to which Java classes should be appended to.A class injector using JNA to invoke JNI's define class utility for defining a class.A dispatcher for JNA class injection.An action for creating a JNA dispatcher.An enabled dispatcher for JNA-based class injection.A JNA dispatcher for the JVM's JVM_DefineClass method.An unavailable dispatcher for JNA-based class injection.A mapper for 32-bit Windows functions where names are defined with different convention.A class injector that uses ajava.lang.invoke.MethodHandles$Lookupobject for defining a class.A dispatcher forjava.lang.invoke.MethodHandles.A dispatcher forjava.lang.invoke.MethodHandles$Lookup.A class injector that uses reflective method calls.A dispatcher for accessing aClassLoaderreflectively.A creation action for a dispatcher.A class injection dispatcher that is using reflection on theClassLoadermethods.A resolved class dispatcher for a class injector on a VM running at least Java 7.A resolved class dispatcher for a class injector prior to Java 7.Initializes a dispatcher to make non-accessible APIs accessible.Represents an unsuccessfully loaded method lookup.Represents an unsuccessfully loaded method lookup.An indirect dispatcher that uses a redirection accessor class that was injected into the bootstrap class loader.A dispatcher implementation that usessun.misc.Unsafe#putBooleanto set theAccessibleObjectfield for making methods accessible.A resolved class dispatcher using unsafe field injection for a class injector on a VM running at least Java 7.A resolved class dispatcher using unsafe field injection for a class injector prior to Java 7.A proxy ofjava.lang.System.A class injector that usessun.misc.Unsafeorjdk.internal.misc.Unsafeto inject classes.A dispatcher for usingsun.misc.Unsafeorjdk.internal.misc.Unsafe.A privileged action for creating a dispatcher.An enabled dispatcher.A class injection dispatcher that is not yet initialized.A disabled dispatcher.A factory for creating aClassInjectorthat usessun.misc.Unsafeif available but attempts a fallback to usingjdk.internal.misc.Unsafeif thejdk.internalmodule is not resolved or unavailable.An access resolver that invokesAccessibleObject.setAccessible(boolean)totruein a given privilege scope.A default access resolver that uses Byte Buddy's privilege scope.A proxy ofjava.lang.System.A class loader decorator allows for the decoration of class loaders that are created by aClassLoadingStrategy.A factory for creating class loader decorators.A no-operation factory that creates no-operation class loader decorators.A no-operation implementation of a class loader decorator that always returns the same class loader without applying any decoration.ClassLoadingStrategy<T extends ClassLoader>A strategy for loading a collection of types.ClassLoadingStrategy.Configurable<S extends ClassLoader>AClassLoadingStrategythat allows configuring the strategy's behavior.This class contains implementations of default class loading strategies.A class loading strategy which applies a class loader injection while applying a givenProtectionDomainon class injection.A class loading strategy which creates a wrapping class loader while applying a givenProtectionDomainon class loading.A class loading strategy which allows class injection into the bootstrap class loader if appropriate.A class loading strategy that injects a class using JNA via the JNI DefineClass method.A class loading strategy that injects a class usingsun.misc.Unsafeorjdk.internal.misc.Unsafe.A class loading strategy that uses ajava.lang.invoke.MethodHandles$Lookupinstance for defining types.The class reloading strategy allows to redefine loadedClasses.A strategy to apply for injecting classes into the bootstrap class loader.A disabled bootstrap injection strategy.An enabled bootstrap class loader injection strategy.A dispatcher to interact with the instrumentation API.A strategy which performs the actual redefinition of aClass.A class file transformer that applies a givenClassDefinition.A transformer that indicates that a class file should not be transformed.An injection class loader allows for the injection of a class after the class loader was created.A class loading strategy for adding a type to an injection class loader.A simple implementation of aClassLoaderDecoratorthat creates module layers for dynamically generated types using the Java Module System.An abstract implementation of a module finder that can locate specific modules.An abstract implementation of a module reader that provides access to dynamically generated types.A proxy for thejava.lang.module.Configurationtype.A factory for creating a single module from amodule-infoclass file, if available.A proxy for thejava.lang.module.ModuleDescriptortype.A proxy for thejava.lang.module.ModuleFindertype.A proxy for thejava.lang.ModuleLayertype.A proxy for thejava.lang.ModuleLayer.Controllertype.A proxy for thejava.util.Optionaltype.A proxy for thejava.nio.file.Pathtype.A proxy for the dynamically generatedSimpleModuleFindertype.An action to createnet.bytebuddy.dynamic.loading.SimpleModuleFinder.A proxy for the dynamically generatedSimpleModuleReferencetype.An action to createnet.bytebuddy.dynamic.loading.SimpleModuleReference.A proxy for thejava.util.stream.Streamtype.ThisClassLoaderis capable of loading classes from multiple parents.A builder to collect class loader and that creates aMultipleParentClassLoaderonly if multiple or noClassLoaders are found in the process.A compound URL enumeration.A package definer is responsible for defining a package's properties when a class of a new package is loaded.A definition of a package.A simple package definition where any property is represented by a value.A package definer that defines packages without any meta data.A canonical implementation of an undefined package.A package definer that reads a class loader's manifest file.A locator for a seal base URL.A seal base locator that seals all packages with a fixed URL.A seal base locator that imitates the behavior of aURLClassLoader, i.e.A seal base locator that never seals a package.A package definer that does not define any package.A package definer that only defines packages without any meta data.