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 aFile
to ajava.nio.file.Path
.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.MethodType
instance.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 aJavaConstant
based on its implementation.JavaModule.Module A proxy for interacting withjava.lang.Module
.JavaModule.Resolver A proxy for resolving aClass
'sjava.lang.Module
. -
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.MethodHandle
object.JavaConstant.MethodType Represents ajava.lang.invoke.MethodType
object.JavaConstant.Simple<T> Represents a simple Java constant, either a primitive constant, aString
or 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 AClassReader
that does not apply a class file version check if thenet.bytebuddy.experimental
property is set.RandomString A provider of randomizedString
values.StreamDrainer A utility for draining the contents of anInputStream
into abyte
array. -
Enum Summary Enum Description FileSystem.CreationAction An action to create a dispatcher for aFileSystem
.JavaConstant.MethodHandle.HandleType A representation of a method handle's type.JavaConstant.Visitor.NoOp A non-operational implementation of aJavaConstant.Visitor
for aJavaConstant
.JavaType Representations of Java types that do not exist in Java 6 but that have a special meaning to the JVM.