org.kohsuke.file_leak_detector.transform
Class MethodTransformSpec

java.lang.Object
  extended by org.kohsuke.file_leak_detector.transform.MethodTransformSpec
Direct Known Subclasses:
MethodAppender

public abstract class MethodTransformSpec
extends Object

Transforms a specific method.

Author:
Kohsuke Kawaguchi

Field Summary
 String desc
          Method signature.
 String name
          Name of the method to transform.
 
Constructor Summary
MethodTransformSpec(String name, String desc)
           
 
Method Summary
abstract  org.kohsuke.asm3.MethodVisitor newAdapter(org.kohsuke.asm3.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public final String name
Name of the method to transform.


desc

public final String desc
Method signature.

Constructor Detail

MethodTransformSpec

public MethodTransformSpec(String name,
                           String desc)
Method Detail

newAdapter

public abstract org.kohsuke.asm3.MethodVisitor newAdapter(org.kohsuke.asm3.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.



Copyright © 2014. All rights reserved.