Package net.bytebuddy.utility
This package contains utility classes for common use within any Byte Buddy logic.
-
Interface Summary Interface Description FileSystem.ForNio2CapableVm.Dispatcher A dispatcher to resolve aFileto ajava.nio.file.Path.FileSystem.ForNio2CapableVm.Files A dispatcher to access thejava.nio.file.FilesAPI.FileSystem.ForNio2CapableVm.StandardCopyOption A dispatcher to interact withjava.nio.file.StandardCopyOption.Invoker An invoker is a deliberate indirection to wrap indirect calls.JavaConstant Returns a Java instance of an object that has a special meaning to the Java virtual machine and that is not available to Java in versions 6.JavaConstant.MethodHandle.MethodHandleInfo A dispatcher to interact withjava.lang.invoke.MethodHandleInfo.JavaConstant.MethodHandle.MethodHandles A dispatcher to interact withjava.lang.invoke.MethodHandles.JavaConstant.MethodHandle.MethodHandles.Lookup A dispatcher to interact withjava.lang.invoke.MethodHandles$Lookup.JavaConstant.MethodHandle.MethodType A dispatcher to interact withjava.lang.invoke.MethodType.JavaConstant.MethodType.Dispatcher A dispatcher for extracting information from ajava.lang.invoke.MethodTypeinstance.JavaConstant.Simple.Dispatcher A dispatcher to representjava.lang.constant.ConstantDesc.JavaConstant.Simple.Dispatcher.OfClassDesc A dispatcher to representjava.lang.constant.ClassDesc.JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc A dispatcher to representjava.lang.constant.DirectMethodHandleDesc.JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc.ForKind A dispatcher to representjava.lang.constant.DirectMethodHandleDesc$Kind.JavaConstant.Simple.Dispatcher.OfDynamicConstantDesc A dispatcher to representjava.lang.constant.DynamicConstantDesc.JavaConstant.Simple.Dispatcher.OfMethodHandleDesc A dispatcher to representjava.lang.constant.MethodHandleDesc.JavaConstant.Simple.Dispatcher.OfMethodTypeDesc A dispatcher to representjava.lang.constant.MethodTypeDesc.JavaConstant.Visitor<T> A visitor to resolve aJavaConstantbased on its implementation.JavaModule.Module A proxy for interacting withjava.lang.Module.JavaModule.Resolver A proxy for resolving aClass'sjava.lang.Module.QueueFactory.Dispatcher A dispatcher for creating anjava.util.ArrayDeque. -
Class Summary Class Description CompoundList Creates a list representation of two lists as a single, compound list.FileSystem A dispatcher to interact with the file system.FileSystem.ForLegacyVm A file system representation for a VM that does not support NIO2.FileSystem.ForNio2CapableVm A file system representation for a VM that does support NIO2.JavaConstant.Dynamic Represents a dynamically resolved constant pool entry of a class file.JavaConstant.MethodHandle Represents ajava.lang.invoke.MethodHandleobject.JavaConstant.MethodType Represents ajava.lang.invoke.MethodTypeobject.JavaConstant.Simple<T> Represents a simple Java constant, either a primitive constant, aStringor aClass.JavaConstant.Simple.OfTrivialValue<S> Represents a trivial constant value that represents itself.JavaConstant.Simple.OfTypeDescription Represents a type constant.JavaModule Type-safe representation of ajava.lang.Module.JavaType.LatentTypeWithSimpleName A latent type that resolves the simple name without considering the declaring type which is not normally available.OpenedClassReader AClassReaderthat does not apply a class file version check if thenet.bytebuddy.experimentalproperty is set.QueueFactory A factory for creating aQueue.RandomString A provider of randomizedStringvalues.StreamDrainer A utility for draining the contents of anInputStreaminto abytearray. -
Enum Summary Enum Description ConstructorComparator A comparator for guaranteeing a stable order for declaredConstructors.FieldComparator A comparator for guaranteeing a stable order for declaredFields.GraalImageCode A utility that resolves Graal VM native image properties.GraalImageCode.ImageCodeContextAction A privileged action to resolve the image code via the current JVM processes input arguments, if available.JavaConstant.MethodHandle.HandleType A representation of a method handle's type.JavaConstant.Visitor.NoOp A non-operational implementation of aJavaConstant.Visitorfor aJavaConstant.JavaType Representations of Java types that do not exist in Java 6 but that have a special meaning to the JVM.MethodComparator A comparator for guaranteeing a stable order for declaredMethods.