Package net.bytebuddy.utility
@ByDefault
package net.bytebuddy.utility
This package contains utility classes for common use within any Byte Buddy logic.
-
ClassDescriptionA comparator for guaranteeing a stable order for declared
Annotations.A facade for creating a class reader that acceptsClassVisitorinstances and reader flags.A factory to create aAsmClassReader.Default implementations for factories ofAsmClassReaders.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 aClassVisitorthat writes a class file.A factory for creating anAsmClassWriter.Default implementations for factories ofAsmClassWriters.An empty class reader for ASM that never unwraps an underlying implementation.A class reader that does not retain a compatibleAsmClassWriterimplementation.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'sTypePoolto 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 declaredConstructors.A comparator for guaranteeing a stable order for declaredFields.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 aFileto ajava.nio.file.Path.A dispatcher to access thejava.nio.file.FilesAPI.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.MethodHandleobject.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.MethodTypeobject.A dispatcher for extracting information from ajava.lang.invoke.MethodTypeinstance.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 aJavaConstantbased on its implementation.A non-operational implementation of aJavaConstant.Visitorfor 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 declaredMethods.A factory for aClassReaderthat does not apply a class file version check if thenet.bytebuddy.experimentalproperty is set.A factory for creating aQueue.A dispatcher for creating anjava.util.ArrayDeque.A provider of randomizedStringvalues.A utility for draining the contents of anInputStreaminto abytearray.A comparator for guaranteeing a stable order for declaredClasss.