Uses of Class
net.bytebuddy.utility.JavaConstant.MethodType
Packages that use JavaConstant.MethodType
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.StackManipulation
s of this package are responsible for
accessing type or method members, i.e.This package contains utility classes for common use within any Byte Buddy logic.
-
Uses of JavaConstant.MethodType in net.bytebuddy.agent.builder
Fields in net.bytebuddy.agent.builder declared as JavaConstant.MethodTypeModifier and TypeFieldDescriptionprivate final JavaConstant.MethodType
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.BridgeMethodImplementation.lambdaMethod
The actual type of the lambda expression's functional method.private final JavaConstant.MethodType
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.SerializationImplementation.lambdaMethod
The method type of the lambda expression's functional method.private final JavaConstant.MethodType
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.specializedLambdaMethod
The specialized type of the lambda method.private final JavaConstant.MethodType
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.specializedLambdaMethod
The specialized type of the lambda method.private final JavaConstant.MethodType
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.SerializationImplementation.specializedMethod
The specialized method type of the lambda expression's functional method.Methods in net.bytebuddy.agent.builder with parameters of type JavaConstant.MethodTypeModifier and TypeMethodDescriptionprotected static ByteCodeAppender
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.of
(MethodDescription targetMethod, JavaConstant.MethodType specializedLambdaMethod, List<FieldDescription.InDefinedShape> declaredFields, JavaConstant.MethodHandle.HandleType handleType, TypeDescription targetType) Resolves an appropriate appender for this lambda expression.Constructors in net.bytebuddy.agent.builder with parameters of type JavaConstant.MethodTypeModifierConstructorDescriptionprotected
Appender
(MethodDescription targetMethod, JavaConstant.MethodType specializedLambdaMethod, List<FieldDescription.InDefinedShape> declaredFields, AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher dispatcher) Creates an appender of a lambda expression's functional method.protected
BridgeMethodImplementation
(String lambdaMethodName, JavaConstant.MethodType lambdaMethod) Creates a new bridge method implementation for a lambda expression.protected
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.MethodType in net.bytebuddy.implementation.bytecode.constant
Methods in net.bytebuddy.implementation.bytecode.constant with parameters of type JavaConstant.MethodTypeModifier and TypeMethodDescriptionorg.objectweb.asm.Type
JavaConstantValue.Visitor.onMethodType
(JavaConstant.MethodType constant) Invoked on a constant that represents aJavaConstant.MethodType
. -
Uses of JavaConstant.MethodType in net.bytebuddy.implementation.bytecode.member
Fields in net.bytebuddy.implementation.bytecode.member declared as JavaConstant.MethodTypeModifier and TypeFieldDescriptionprivate final JavaConstant.MethodType
HandleInvocation.methodType
The method type of the invoked handle.Constructors in net.bytebuddy.implementation.bytecode.member with parameters of type JavaConstant.MethodTypeModifierConstructorDescriptionHandleInvocation
(JavaConstant.MethodType methodType) Creates a public invocation of a method handle. -
Uses of JavaConstant.MethodType in net.bytebuddy.utility
Methods in net.bytebuddy.utility that return JavaConstant.MethodTypeModifier and TypeMethodDescriptionstatic JavaConstant.MethodType
Returns a method type description of the given return type and parameter types.static JavaConstant.MethodType
JavaConstant.MethodType.of
(Constructor<?> constructor) Returns a method type description of the given constructor.static JavaConstant.MethodType
Returns a method type description of the given method.static JavaConstant.MethodType
JavaConstant.MethodType.of
(MethodDescription methodDescription) Returns a method type description of the given method.static JavaConstant.MethodType
JavaConstant.MethodType.of
(TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Returns a method type description of the given return type and parameter types.static JavaConstant.MethodType
JavaConstant.MethodType.of
(TypeDescription returnType, TypeDescription... parameterType) Returns a method type description of the given return type and parameter types.static JavaConstant.MethodType
JavaConstant.MethodType.ofConstant
(Class<?> type) Returns a method type for the given constant type.static JavaConstant.MethodType
JavaConstant.MethodType.ofConstant
(Object instance) Returns a method type for the given constant.static JavaConstant.MethodType
JavaConstant.MethodType.ofConstant
(TypeDescription typeDescription) Returns a method type for the given constant type.static JavaConstant.MethodType
Returns a method type for a getter of the given field.static JavaConstant.MethodType
JavaConstant.MethodType.ofGetter
(FieldDescription fieldDescription) Returns a method type for a getter of the given field.static JavaConstant.MethodType
Returns a method type representation of a loadedMethodType
object.static JavaConstant.MethodType
Returns a method type for a setter of the given field.static JavaConstant.MethodType
JavaConstant.MethodType.ofSetter
(FieldDescription fieldDescription) Returns a method type for a setter of the given field.Methods in net.bytebuddy.utility with parameters of type JavaConstant.MethodTypeModifier and TypeMethodDescriptionJavaConstant.Visitor.NoOp.onMethodType
(JavaConstant.MethodType constant) Invoked on a constant that represents aJavaConstant.MethodType
.JavaConstant.Visitor.onMethodType
(JavaConstant.MethodType constant) Invoked on a constant that represents aJavaConstant.MethodType
.