Package | Description |
---|---|
net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
net.bytebuddy.description.method |
Contains descriptions of Java methods and constructors as well as their parameters.
|
net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
net.bytebuddy.dynamic |
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
|
net.bytebuddy.dynamic.loading |
This package contains classes that are responsible for class loading of classes that are represented by
byte arrays. |
net.bytebuddy.utility |
This package contains utility classes for common use within any Byte Buddy logic.
|
Modifier and Type | Interface and Description |
---|---|
protected static interface |
AgentBuilder.Default.Dispatcher
A dispatcher for interacting with the instrumentation API.
|
protected static interface |
AgentBuilder.Default.WarmupStrategy.Enabled.Dispatcher
A dispatcher to interact with a
ClassFileTransformer when the module system is active. |
protected static interface |
AgentBuilder.RedefinitionStrategy.Dispatcher
A dispatcher for interacting with the instrumentation API.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
AgentBuilder.Default.WarmupStrategy.Enabled.Dispatcher.transform(ClassFileTransformer target,
Object module,
ClassLoader classLoader,
String name,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Transforms a class.
|
Modifier and Type | Interface and Description |
---|---|
protected static interface |
MethodDescription.InDefinedShape.AbstractBase.Executable
A proxy type for invoking methods of
java.lang.reflect.Executable . |
protected static interface |
ParameterDescription.ForLoadedParameter.Parameter
A proxy for a
java.lang.reflect.Parameter . |
protected static interface |
ParameterList.ForLoadedExecutable.Executable
A dispatcher for creating descriptions of parameter lists and for evaluating the size of an
java.lang.reflect.Executable 's parameters. |
Modifier and Type | Interface and Description |
---|---|
protected static interface |
RecordComponentDescription.ForLoadedRecordComponent.RecordComponent
A dispatcher for accessing methods of
java.lang.reflect.RecordComponent . |
protected static interface |
TypeDefinition.Sort.AnnotatedType
A proxy for interacting with
java.lang.reflect.AnnotatedType . |
protected static interface |
TypeDescription.ForLoadedType.Dispatcher
A dispatcher for using methods of
Class that are not declared for Java 6. |
protected static interface |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableExceptionType.Dispatcher
A proxy type for interacting with
java.lang.reflect.Executable . |
protected static interface |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableParameterType.Dispatcher
A type for interacting with
java.lang.reflect.Executable . |
protected static interface |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedField.Dispatcher
A dispatcher for interacting with
Field . |
protected static interface |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType.Dispatcher
A dispatcher for interacting with
Method . |
protected static interface |
TypeDescription.Generic.AnnotationReader.ForComponentType.AnnotatedParameterizedType
A proxy to interact with
java.lang.reflect.AnnotatedArrayType . |
protected static interface |
TypeDescription.Generic.AnnotationReader.ForOwnerType.AnnotatedType
A proxy to interact with
java.lang.reflect.AnnotatedType . |
protected static interface |
TypeDescription.Generic.AnnotationReader.ForTypeArgument.AnnotatedParameterizedType
A proxy to interact with
java.lang.reflect.AnnotatedParameterizedType . |
protected static interface |
TypeDescription.Generic.AnnotationReader.ForTypeVariableBoundType.AnnotatedTypeVariable
A proxy to interact with
java.lang.reflect.AnnotatedTypeVariable . |
protected static interface |
TypeDescription.Generic.AnnotationReader.ForTypeVariableBoundType.OfFormalTypeVariable.FormalTypeVariable
A proxy to interact with
java.lang.reflect.TypeVariable . |
protected static interface |
TypeDescription.Generic.AnnotationReader.ForWildcardLowerBoundType.AnnotatedWildcardType
A proxy to interact with
java.lang.reflect.AnnotatedWildcardType . |
protected static interface |
TypeDescription.Generic.AnnotationReader.ForWildcardUpperBoundType.AnnotatedWildcardType
A proxy to interact with
java.lang.reflect.AnnotatedWildcardType . |
Modifier and Type | Interface and Description |
---|---|
protected static interface |
ClassFileLocator.ForInstrumentation.Dispatcher
A dispatcher to interact with the
Instrumentation API. |
Modifier and Type | Interface and Description |
---|---|
protected static interface |
ClassInjector.UsingInstrumentation.Dispatcher
A dispatcher to interact with the instrumentation API.
|
protected static interface |
ClassInjector.UsingLookup.MethodHandles
A dispatcher for
java.lang.invoke.MethodHandles . |
static interface |
ClassInjector.UsingLookup.MethodHandles.Lookup
A dispatcher for
java.lang.invoke.MethodHandles$Lookup . |
protected static interface |
ClassInjector.UsingReflection.System
A proxy of
java.lang.System . |
protected static interface |
ClassInjector.UsingUnsafe.System
A proxy of
java.lang.System . |
protected static interface |
ClassReloadingStrategy.Dispatcher
A dispatcher to interact with the instrumentation API.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ClassInjector.UsingInstrumentation.Dispatcher.isModifiableModule(Instrumentation instrumentation,
Object module)
Checks if a module is modifiable.
|
Object |
ClassInjector.UsingLookup.MethodHandles.privateLookupIn(Class<?> type,
Object lookup)
Resolves the supplied lookup instance's access scope for the supplied type.
|
void |
ClassInjector.UsingInstrumentation.Dispatcher.redefineModule(Instrumentation instrumentation,
Object module,
Set<?> reads,
Map<String,Set<?>> exports,
Map<String,Set<?>> opens,
Set<Class<?>> uses,
Map<Class<?>,List<Class<?>>> provides)
Redefines an existing module.
|
Modifier and Type | Interface and Description |
---|---|
protected static interface |
FileSystem.ForNio2CapableVm.Dispatcher
A dispatcher to resolve a
File to a java.nio.file.Path . |
protected static interface |
FileSystem.ForNio2CapableVm.Files
A dispatcher to access the
java.nio.file.Files API. |
protected static interface |
FileSystem.ForNio2CapableVm.StandardCopyOption
A dispatcher to interact with
java.nio.file.StandardCopyOption . |
protected static interface |
JavaConstant.MethodHandle.MethodHandleInfo
A dispatcher to interact with
java.lang.invoke.MethodHandleInfo . |
protected static interface |
JavaConstant.MethodHandle.MethodHandles
A dispatcher to interact with
java.lang.invoke.MethodHandles . |
static interface |
JavaConstant.MethodHandle.MethodHandles.Lookup
A dispatcher to interact with
java.lang.invoke.MethodHandles$Lookup . |
protected static interface |
JavaConstant.MethodHandle.MethodType
A dispatcher to interact with
java.lang.invoke.MethodType . |
protected static interface |
JavaConstant.MethodType.Dispatcher
A dispatcher for extracting information from a
java.lang.invoke.MethodType instance. |
protected static interface |
JavaConstant.Simple.Dispatcher
A dispatcher to represent
java.lang.constant.ConstantDesc . |
static interface |
JavaConstant.Simple.Dispatcher.OfClassDesc
A dispatcher to represent
java.lang.constant.ClassDesc . |
static interface |
JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc
A dispatcher to represent
java.lang.constant.DirectMethodHandleDesc . |
static interface |
JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc.ForKind
A dispatcher to represent
java.lang.constant.DirectMethodHandleDesc$Kind . |
static interface |
JavaConstant.Simple.Dispatcher.OfDynamicConstantDesc
A dispatcher to represent
java.lang.constant.DynamicConstantDesc . |
static interface |
JavaConstant.Simple.Dispatcher.OfMethodHandleDesc
A dispatcher to represent
java.lang.constant.MethodHandleDesc . |
static interface |
JavaConstant.Simple.Dispatcher.OfMethodTypeDesc
A dispatcher to represent
java.lang.constant.MethodTypeDesc . |
protected static interface |
JavaModule.Module
A proxy for interacting with
java.lang.Module . |
protected static interface |
JavaModule.Resolver
A proxy for resolving a
Class 's java.lang.Module . |
protected static interface |
QueueFactory.Dispatcher
A dispatcher for creating an
java.util.ArrayDeque . |
Modifier and Type | Method and Description |
---|---|
boolean |
JavaModule.Module.canRead(Object value,
Object target)
Checks if the source module can read the target module.
|
Object |
FileSystem.ForNio2CapableVm.Files.copy(Object source,
Object target,
Object[] option)
Copies a file.
|
Object |
FileSystem.ForNio2CapableVm.Files.copy(Object source,
Object target,
Object[] option)
Copies a file.
|
Object |
FileSystem.ForNio2CapableVm.Files.copy(Object source,
Object target,
Object[] option)
Copies a file.
|
boolean |
JavaModule.Module.isExported(Object value,
String aPackage,
Object target)
Returns
true if the source module exports the supplied package to the target module. |
boolean |
JavaModule.Module.isOpen(Object value,
String aPackage,
Object target)
Returns
true if the source module opens the supplied package to the target module. |
Object |
FileSystem.ForNio2CapableVm.Files.move(Object source,
Object target,
Object[] option)
Moves a file.
|
Object |
FileSystem.ForNio2CapableVm.Files.move(Object source,
Object target,
Object[] option)
Moves a file.
|
Object |
FileSystem.ForNio2CapableVm.Files.move(Object source,
Object target,
Object[] option)
Moves a file.
|
Object |
JavaConstant.Simple.Dispatcher.OfMethodTypeDesc.of(Object returnType,
Object[] parameterType)
Resolves a
java.lang.constant.MethodTypeDesc from descriptions of the return type descriptor and parameter types. |
Object |
JavaConstant.Simple.Dispatcher.OfMethodTypeDesc.of(Object returnType,
Object[] parameterType)
Resolves a
java.lang.constant.MethodTypeDesc from descriptions of the return type descriptor and parameter types. |
Object |
JavaConstant.Simple.Dispatcher.OfMethodHandleDesc.of(Object kind,
Object owner,
String name,
String descriptor)
Resolves a
java.lang.constant.MethodHandleDesc . |
Object |
JavaConstant.Simple.Dispatcher.OfMethodHandleDesc.of(Object kind,
Object owner,
String name,
String descriptor)
Resolves a
java.lang.constant.MethodHandleDesc . |
Object |
JavaConstant.Simple.Dispatcher.OfDynamicConstantDesc.ofCanonical(Object bootstrap,
String constantName,
Object type,
Object[] argument)
Resolves a
java.lang.constant.DynamicConstantDesc for a canonical description of the constant. |
Object |
JavaConstant.Simple.Dispatcher.OfDynamicConstantDesc.ofCanonical(Object bootstrap,
String constantName,
Object type,
Object[] argument)
Resolves a
java.lang.constant.DynamicConstantDesc for a canonical description of the constant. |
Object |
JavaConstant.Simple.Dispatcher.OfDynamicConstantDesc.ofCanonical(Object bootstrap,
String constantName,
Object type,
Object[] argument)
Resolves a
java.lang.constant.DynamicConstantDesc for a canonical description of the constant. |
Object |
JavaConstant.MethodHandle.MethodHandleInfo.revealDirect(Object handle)
Returns the
java.lang.invoke.MethodHandleInfo of the provided method handle. |
Object |
JavaConstant.MethodHandle.MethodHandles.Lookup.revealDirect(Object value,
Object handle)
Reveals the
java.lang.invoke.MethodHandleInfo for the supplied method handle. |
Copyright © 2014–1970. All rights reserved.