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
ClassLoader
that is capable of loading explicitly defined classes.AByteArrayClassLoader
which 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 aClassLoader
without 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 aInstrumentation
to 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 unavailable dispatcher for JNA-based class injection.A class injector that uses ajava.lang.invoke.MethodHandles$Lookup
object 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 aClassLoader
reflectively.A creation action for a dispatcher.A class injection dispatcher that is using reflection on theClassLoader
methods.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#putBoolean
to set theAccessibleObject
field 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.Unsafe
orjdk.internal.misc.Unsafe
to inject classes.A dispatcher for usingsun.misc.Unsafe
orjdk.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 aClassInjector
that usessun.misc.Unsafe
if available but attempts a fallback to usingjdk.internal.misc.Unsafe
if thejdk.internal
module is not resolved or unavailable.An access resolver that invokesAccessibleObject.setAccessible(boolean)
totrue
in a given privilege scope.A default access resolver that uses Byte Buddy's privilege scope.A proxy ofjava.lang.System
.ClassLoadingStrategy<T extends ClassLoader>A strategy for loading a collection of types.ClassLoadingStrategy.Configurable<S extends ClassLoader>AClassLoadingStrategy
that 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 givenProtectionDomain
on class injection.A class loading strategy which creates a wrapping class loader while applying a givenProtectionDomain
on 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.Unsafe
orjdk.internal.misc.Unsafe
.A class loading strategy that uses ajava.lang.invoke.MethodHandles$Lookup
instance for defining types.The class reloading strategy allows to redefine loadedClass
es.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.ThisClassLoader
is capable of loading classes from multiple parents.A builder to collect class loader and that creates aMultipleParentClassLoader
only if multiple or noClassLoader
s 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.