Package net.bytebuddy.utility
This package contains utility classes for common use within any Byte Buddy logic.
-
Interface Summary Interface Description 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.Dispatcher A dispatcher for analyzing ajava.lang.invoke.MethodHandle
instance.JavaConstant.MethodHandle.Dispatcher.Initializable An initializable version of a dispatcher that is not yet made accessible.JavaConstant.MethodType.Dispatcher A dispatcher for extracting information from ajava.lang.invoke.MethodType
instance.JavaModule.Dispatcher A dispatcher for accessing thejava.lang.Module
API if it is available on the current VM. -
Class Summary Class Description CompoundList Creates a list representation of two lists as a single, compound list.JavaConstant.Dynamic Represents a dynamically resolved constant pool entry of a class file.JavaConstant.MethodHandle Represents ajava.lang.invoke.MethodHandle
object.JavaConstant.MethodHandle.Dispatcher.AbstractBase An abstract base implementation of a dispatcher.JavaConstant.MethodHandle.Dispatcher.ForJava7CapableVm A dispatcher that extracts the information of a method handle by using private APIs that are available in Java 7+.JavaConstant.MethodHandle.Dispatcher.ForJava8CapableVm A dispatcher for introspecting ajava.lang.invoke.MethodHandle
instance on a virtual machine that officially supports this introspection, i.e.JavaConstant.MethodType Represents ajava.lang.invoke.MethodType
object.JavaConstant.MethodType.Dispatcher.ForJava7CapableVm A dispatcher for virtual machines that are aware of thejava.lang.invoke.MethodType
type that was added in Java version 7.JavaModule Type-safe representation of ajava.lang.Module
.JavaModule.Dispatcher.Enabled A dispatcher for a VM that does support thejava.lang.Module
API.JavaModule.Dispatcher.Enabled.WithInstrumentationSupport A dispatcher for a VM that does support thejava.lang.Module
API and that supportsInstrumentation
.JavaModule.Dispatcher.Enabled.WithoutInstrumentationSupport A dispatcher for a VM that does support thejava.lang.Module
API and that does not supportInstrumentation
.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 JavaConstant.MethodHandle.Dispatcher.CreationAction A creation action for a dispatcher.JavaConstant.MethodHandle.Dispatcher.ForLegacyVm A dispatcher that does not support method handles at all.JavaConstant.MethodHandle.HandleType A representation of a method handle's type.JavaConstant.MethodType.Dispatcher.CreationAction A creation action for a dispatcher.JavaConstant.MethodType.Dispatcher.ForLegacyVm A dispatcher for virtual machines that are not aware of thejava.lang.invoke.MethodType
type that was added in Java version 7.JavaModule.Dispatcher.CreationAction A creation action for a dispatcher.JavaModule.Dispatcher.Disabled A disabled dispatcher for a VM that does not support thejava.lang.Module
API.JavaType Representations of Java types that do not exist in Java 6 but that have a special meaning to the JVM.