Package net.bytebuddy.utility
@ByDefault
package net.bytebuddy.utility
This package contains utility classes for common use within any Byte Buddy logic.
-
ClassDescriptionA facade for creating a class reader that accepts
ClassVisitor
instances and reader flags.A factory to create aAsmClassReader
.Default implementations for factories ofAsmClassReader
s.A class reader for ASM's ownClassReader
.A class reader that is based upon the Class File API.A dispatcher to interact withcodes.rafael.asmjdkbridge.JdkClassReader
.A facade for creating aClassVisitor
that writes a class file.A factory for creating anAsmClassWriter
.Default implementations for factories ofAsmClassWriter
s.An empty class reader for ASM that never unwraps an underlying implementation.A class reader that does not retain a compatibleAsmClassWriter
implementation.A class writer factory that suppresses any class reader implementation that might be provided upon constructing a class writer.Am implementation that uses ASM's internalClassWriter
.A Class File API-based implementation for a class writer.An API to interact withcodes.rafael.asmjdkbridge.JdkClassWriter
.A class writer that piggy-backs on Byte Buddy'sTypePool
to avoid class loading or look-up errors when redefining a class.A pseudo-JDK class writer that resolves super classes using aTypePool
, to pass in the constructor.Creates a list representation of two lists as a single, compound list.Represents a value that can be represented as a constant expression or constant pool value.A simple representation of a constant value.A comparator for guaranteeing a stable order for declaredConstructor
s.A comparator for guaranteeing a stable order for declaredField
s.A dispatcher to interact with the file system.A file system representation for a VM that does not support NIO2.A file system representation for a VM that does support NIO2.A dispatcher to resolve aFile
to ajava.nio.file.Path
.A dispatcher to access thejava.nio.file.Files
API.A dispatcher to interact withjava.nio.file.StandardCopyOption
.A utility that resolves Graal VM native image properties.A privileged action to resolve the image code via the current JVM processes input arguments, if available.An invoker is a deliberate indirection to wrap indirect calls.Represents a constant-pool constant within a Java class file.Represents a dynamically resolved constant pool entry of a class file.Represents ajava.lang.invoke.MethodHandle
object.A representation of a method handle's type.A dispatcher to interact withjava.lang.invoke.MethodHandleInfo
.A dispatcher to interact withjava.lang.invoke.MethodHandles
.A dispatcher to interact withjava.lang.invoke.MethodHandles$Lookup
.A dispatcher to interact withjava.lang.invoke.MethodType
.Represents ajava.lang.invoke.MethodType
object.A dispatcher for extracting information from ajava.lang.invoke.MethodType
instance.A dispatcher to representjava.lang.constant.ConstantDesc
.A dispatcher to representjava.lang.constant.ClassDesc
.A dispatcher to representjava.lang.constant.DirectMethodHandleDesc
.A dispatcher to representjava.lang.constant.DirectMethodHandleDesc$Kind
.A dispatcher to representjava.lang.constant.DynamicConstantDesc
.A dispatcher to representjava.lang.constant.MethodHandleDesc
.A dispatcher to representjava.lang.constant.MethodTypeDesc
.Represents a trivial constant value that represents itself.Represents a type constant.A visitor to resolve aJavaConstant
based on its implementation.A non-operational implementation of aJavaConstant.Visitor
for aJavaConstant
.Type-safe representation of ajava.lang.Module
.A proxy for interacting withjava.lang.Module
.A proxy for resolving aClass
'sjava.lang.Module
.Representations of Java types that do not exist in Java 6 but that have a special meaning to the JVM.A latent type that resolves the simple name without considering the declaring type which is not normally available.A comparator for guaranteeing a stable order for declaredMethod
s.A factory for aClassReader
that does not apply a class file version check if thenet.bytebuddy.experimental
property is set.A factory for creating aQueue
.A dispatcher for creating anjava.util.ArrayDeque
.A provider of randomizedString
values.A utility for draining the contents of anInputStream
into abyte
array.