net.java.btrace.runtime
Interface RunnableGenerator


public interface RunnableGenerator

This interface is used to generate .class bytes for a Runnable interface implementor that calls given (static public, no-arg) method.

Author:
A. Sundararajan

Method Summary
 byte[] generate(Method method, String className)
          Generate class bytes for java.lang.Runnable implementation and return the same.
 

Method Detail

generate

byte[] generate(Method method,
                String className)
Generate class bytes for java.lang.Runnable implementation and return the same.



Copyright © 2015. All Rights Reserved.