Class MethodTransformSpec
java.lang.Object
org.kohsuke.file_leak_detector.transform.MethodTransformSpec
- Direct Known Subclasses:
MethodAppender
Transforms a specific method.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.objectweb.asm.MethodVisitor
newAdapter
(org.objectweb.asm.MethodVisitor base, int access, String name, String desc, String signature, String[] exceptions) Creates a visitor that receives the original method definition and writes the transformed method to the given base.
-
Field Details
-
name
Name of the method to transform. -
desc
Method signature.
-
-
Constructor Details
-
MethodTransformSpec
-
-
Method Details
-
newAdapter
public abstract org.objectweb.asm.MethodVisitor newAdapter(org.objectweb.asm.MethodVisitor base, int access, String name, String desc, String signature, String[] exceptions) Creates a visitor that receives the original method definition and writes the transformed method to the given base.
-