Uses of Class
net.bytebuddy.utility.JavaConstant.MethodHandle
Packages that use JavaConstant.MethodHandle
Package
Description
An agent builder is used to easily implement load-time class-transformations using a Java agent.
StackManipulation
s in this package are responsible for
creating compile-time constants and pushing them onto the operand stack.This package contains utility classes for common use within any Byte Buddy logic.
-
Uses of JavaConstant.MethodHandle in net.bytebuddy.agent.builder
Fields in net.bytebuddy.agent.builder declared as JavaConstant.MethodHandleModifier and TypeFieldDescriptionprivate final JavaConstant.MethodHandle
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.targetMethod
The handle of the target method of the lambda expression.private final JavaConstant.MethodHandle
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.SerializationImplementation.targetMethod
A handle that references the lambda expressions invocation target.Constructors in net.bytebuddy.agent.builder with parameters of type JavaConstant.MethodHandleModifierConstructorDescriptionprotected
LambdaMethodImplementation
(TypeDescription targetType, JavaConstant.MethodHandle targetMethod, JavaConstant.MethodType specializedLambdaMethod) Creates a implementation of a lambda expression's functional method.protected
SerializationImplementation
(TypeDescription targetType, TypeDescription lambdaType, String lambdaMethodName, JavaConstant.MethodType lambdaMethod, JavaConstant.MethodHandle targetMethod, JavaConstant.MethodType specializedMethod) Creates a new implementation for a serializable's lambda expression'swriteReplace
method. -
Uses of JavaConstant.MethodHandle in net.bytebuddy.implementation.bytecode.constant
Methods in net.bytebuddy.implementation.bytecode.constant with parameters of type JavaConstant.MethodHandleModifier and TypeMethodDescriptionorg.objectweb.asm.Handle
JavaConstantValue.Visitor.onMethodHandle
(JavaConstant.MethodHandle constant) Invoked on a constant that represents aJavaConstant.MethodHandle
. -
Uses of JavaConstant.MethodHandle in net.bytebuddy.utility
Fields in net.bytebuddy.utility declared as JavaConstant.MethodHandleModifier and TypeFieldDescriptionprivate final JavaConstant.MethodHandle
JavaConstant.Dynamic.bootstrap
A handle representation of the bootstrap method.Methods in net.bytebuddy.utility that return JavaConstant.MethodHandleModifier and TypeMethodDescriptionJavaConstant.Dynamic.getBootstrap()
Returns a handle representation of the bootstrap method.static JavaConstant.MethodHandle
JavaConstant.MethodHandle.of
(Constructor<?> constructor) Creates a method handle representation of the given constructor.static JavaConstant.MethodHandle
Creates a method handle representation of the given method.static JavaConstant.MethodHandle
JavaConstant.MethodHandle.of
(MethodDescription.InDefinedShape methodDescription) Creates a method handle representation of the given method.static JavaConstant.MethodHandle
Returns a method handle for a setter of the given field.static JavaConstant.MethodHandle
JavaConstant.MethodHandle.ofGetter
(FieldDescription.InDefinedShape fieldDescription) Returns a method handle for a setter of the given field.static JavaConstant.MethodHandle
Creates a method handles representation of a loaded method handle which is analyzed using a publicMethodHandles.Lookup
object.static JavaConstant.MethodHandle
Creates a method handles representation of a loaded method handle which is analyzed using the given lookup context.static JavaConstant.MethodHandle
Returns a method handle for a getter of the given field.static JavaConstant.MethodHandle
JavaConstant.MethodHandle.ofSetter
(FieldDescription.InDefinedShape fieldDescription) Returns a method handle for a getter of the given field.static JavaConstant.MethodHandle
Creates a method handle representation of the given method for an explicit special method invocation of an otherwise virtual method.static JavaConstant.MethodHandle
JavaConstant.MethodHandle.ofSpecial
(MethodDescription.InDefinedShape methodDescription, TypeDescription typeDescription) Creates a method handle representation of the given method for an explicit special method invocation of an otherwise virtual method.Methods in net.bytebuddy.utility with parameters of type JavaConstant.MethodHandleModifier and TypeMethodDescriptionJavaConstant.Visitor.NoOp.onMethodHandle
(JavaConstant.MethodHandle constant) Invoked on a constant that represents aJavaConstant.MethodHandle
.JavaConstant.Visitor.onMethodHandle
(JavaConstant.MethodHandle constant) Invoked on a constant that represents aJavaConstant.MethodHandle
.Constructors in net.bytebuddy.utility with parameters of type JavaConstant.MethodHandleModifierConstructorDescriptionprotected
Dynamic
(String name, TypeDescription typeDescription, JavaConstant.MethodHandle bootstrap, List<JavaConstant> arguments) Creates a dynamic resolved constant.