public static interface AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper
MethodVisitor defining a declared method.| Modifier and Type | Method and Description |
|---|---|
MethodVisitor |
wrap(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
MethodVisitor methodVisitor,
Implementation.Context implementationContext,
TypePool typePool,
int writerFlags,
int readerFlags)
Wraps a method visitor.
|
MethodVisitor wrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, MethodVisitor methodVisitor, Implementation.Context implementationContext, TypePool typePool, int writerFlags, int readerFlags)
instrumentedType - The instrumented type.instrumentedMethod - The method that is currently being defined.methodVisitor - The original field visitor that defines the given method.implementationContext - The implementation context to use.typePool - The type pool to use.writerFlags - The ASM ClassWriter reader flags to consider.readerFlags - The ASM ClassReader reader flags to consider.Copyright © 2014–2023. All rights reserved.