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.
The ASM package contains classes that are meant for direct interaction with the ASM API.
StackManipulations in this package are responsible for
creating compile-time constants and pushing them onto the operand stack.StackManipulations 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.MethodTypeAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.BridgeMethodImplementation.lambdaMethodThe actual type of the lambda expression's functional method.private final JavaConstant.MethodTypeAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.SerializationImplementation.lambdaMethodThe method type of the lambda expression's functional method.private final JavaConstant.MethodTypeAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.specializedLambdaMethodThe specialized type of the lambda method.private final JavaConstant.MethodTypeAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.specializedLambdaMethodThe specialized type of the lambda method.private final JavaConstant.MethodTypeAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.SerializationImplementation.specializedMethodThe 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 ByteCodeAppenderAgentBuilder.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.MethodTypeModifierConstructorDescriptionprotectedAppender(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.protectedBridgeMethodImplementation(String lambdaMethodName, JavaConstant.MethodType lambdaMethod) Creates a new bridge method implementation for a lambda expression.protectedLambdaMethodImplementation(TypeDescription targetType, JavaConstant.MethodHandle targetMethod, JavaConstant.MethodType specializedLambdaMethod) Creates a implementation of a lambda expression's functional method.protectedSerializationImplementation(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'swriteReplacemethod. -
Uses of JavaConstant.MethodType in net.bytebuddy.asm
Fields in net.bytebuddy.asm declared as JavaConstant.MethodTypeModifier and TypeFieldDescriptionprivate final JavaConstant.MethodTypeMemberSubstitution.Replacement.Binding.ForDynamicInvocation.methodTypeThe type of the lambda expression that is to be bound.private final JavaConstant.MethodTypeMemberSubstitution.Target.ForDynamicInvocation.methodTypeThe requested type of the target for the invokedynamic instruction.Fields in net.bytebuddy.asm with type parameters of type JavaConstant.MethodTypeModifier and TypeFieldDescriptionprivate final ElementMatcher.Junction<? super JavaConstant.MethodType> MemberSubstitution.Replacement.ForDynamicInvocation.Factory.typeMatcherA matcher for an invokedynamic instruction's result type.private final ElementMatcher.Junction<? super JavaConstant.MethodType> MemberSubstitution.Replacement.ForDynamicInvocation.typeMatcherA matcher for an invokedynamic instruction's result type.private final ElementMatcher.Junction<? super JavaConstant.MethodType> MemberSubstitution.WithoutSpecification.ForMatchedDynamicInvocation.typeMatcherA matcher for an invokedynamic instruction's result type.Methods in net.bytebuddy.asm that return JavaConstant.MethodTypeModifier and TypeMethodDescriptionMemberSubstitution.Target.ForDynamicInvocation.getMethodType()Returns the requested type of the target for the invokedynamic instruction.Methods in net.bytebuddy.asm with parameters of type JavaConstant.MethodTypeModifier and TypeMethodDescriptionMemberSubstitution.Replacement.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, JavaConstant.MethodHandle methodHandle, JavaConstant.MethodType methodType, String name, List<JavaConstant> constants) Binds this replacement for a dynamic method invocation that was discovered.MemberSubstitution.Replacement.ForDynamicInvocation.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, JavaConstant.MethodHandle methodHandle, JavaConstant.MethodType methodType, String name, List<JavaConstant> constants) Binds this replacement for a dynamic method invocation that was discovered.MemberSubstitution.Replacement.ForElementMatchers.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, JavaConstant.MethodHandle methodHandle, JavaConstant.MethodType methodType, String name, List<JavaConstant> constants) Binds this replacement for a dynamic method invocation that was discovered.MemberSubstitution.Replacement.ForFirstBinding.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, JavaConstant.MethodHandle methodHandle, JavaConstant.MethodType methodType, String name, List<JavaConstant> constants) Binds this replacement for a dynamic method invocation that was discovered.MemberSubstitution.Replacement.NoOp.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, JavaConstant.MethodHandle methodHandle, JavaConstant.MethodType methodType, String name, List<JavaConstant> constants) Binds this replacement for a dynamic method invocation that was discovered.Method parameters in net.bytebuddy.asm with type arguments of type JavaConstant.MethodTypeModifier and TypeMethodDescriptionMemberSubstitution.WithoutSpecification.ForMatchedDynamicInvocation.withType(ElementMatcher<? super JavaConstant.MethodType> typeMatcher) Reduces matched invokedynamic instructions to such instructions that require a type which is matched by the supplied matcher.Constructors in net.bytebuddy.asm with parameters of type JavaConstant.MethodTypeModifierConstructorDescriptionprotectedForDynamicInvocation(JavaConstant.MethodType methodType, String name, List<JavaConstant> arguments, MemberSubstitution.Substitution<? super MemberSubstitution.Target.ForDynamicInvocation> substitution) Creates a resolved binding for an invokedynamic expression.protectedForDynamicInvocation(JavaConstant.MethodType methodType, String name, List<? extends JavaConstant> arguments) Creates a new target for an invokedynamic instruction. -
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.TypeJavaConstantValue.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.MethodTypeHandleInvocation.methodTypeThe method type of the invoked handle.private final JavaConstant.MethodTypeInvokedynamic.typeThe type that is requested for the target.Constructors in net.bytebuddy.implementation.bytecode.member with parameters of type JavaConstant.MethodTypeModifierConstructorDescriptionHandleInvocation(JavaConstant.MethodType methodType) Creates a public invocation of a method handle.Invokedynamic(String name, JavaConstant.MethodType type, JavaConstant.MethodHandle bootstrap, List<? extends JavaConstant> arguments) Creates a stack manipulation for a bootstrap method. -
Uses of JavaConstant.MethodType in net.bytebuddy.utility
Methods in net.bytebuddy.utility that return JavaConstant.MethodTypeModifier and TypeMethodDescriptionstatic JavaConstant.MethodTypeReturns a method type description of the given return type and parameter types.static JavaConstant.MethodTypeJavaConstant.MethodType.of(Constructor<?> constructor) Returns a method type description of the given constructor.static JavaConstant.MethodTypeReturns a method type description of the given method.static JavaConstant.MethodTypeJavaConstant.MethodType.of(MethodDescription methodDescription) Returns a method type description of the given method.static JavaConstant.MethodTypeJavaConstant.MethodType.of(TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Returns a method type description of the given return type and parameter types.static JavaConstant.MethodTypeJavaConstant.MethodType.of(TypeDescription returnType, TypeDescription... parameterType) Returns a method type description of the given return type and parameter types.static JavaConstant.MethodTypeResolves an ASMTypeof sortType.METHOD.static JavaConstant.MethodTypeJavaConstant.MethodType.ofConstant(Class<?> type) Returns a method type for the given constant type.static JavaConstant.MethodTypeJavaConstant.MethodType.ofConstant(Object instance) Returns a method type for the given constant.static JavaConstant.MethodTypeJavaConstant.MethodType.ofConstant(TypeDescription typeDescription) Returns a method type for the given constant type.static JavaConstant.MethodTypeReturns a method type for a getter of the given field.static JavaConstant.MethodTypeJavaConstant.MethodType.ofGetter(FieldDescription fieldDescription) Returns a method type for a getter of the given field.static JavaConstant.MethodTypeReturns a method type representation of a loadedMethodTypeobject.static JavaConstant.MethodTypeReturns a method type for a setter of the given field.static JavaConstant.MethodTypeJavaConstant.MethodType.ofSetter(FieldDescription fieldDescription) Returns a method type for a setter of the given field.static JavaConstant.MethodTypeJavaConstant.MethodType.ofSignature(Constructor<?> constructor) Returns a method type description of the given constructor's signature without considering the constructor's actual stack consumption and production.static JavaConstant.MethodTypeJavaConstant.MethodType.ofSignature(Method method) Returns a method type description of the given method's signature without considering the method's actual stack consumption and production.static JavaConstant.MethodTypeJavaConstant.MethodType.ofSignature(MethodDescription methodDescription) Returns a method type description of the given method's signature without considering the method's actual stack consumption and production.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.