org.jxcl.cl
Class CEGSpy

java.lang.Object
  extended byorg.jxcl.cl.CEGSpy
All Implemented Interfaces:
MethodXformer

public class CEGSpy
extends java.lang.Object
implements MethodXformer

Dump the method's exception handler table before and after graph processing.

Author:
Jim Dixon
See Also:
JXClassLoader.addMethodXformer(org.jxcl.cl.MethodXformer)

Constructor Summary
CEGSpy()
           
 
Method Summary
 java.lang.String getName()
          Get the report name for method processor.
 void postGraph(org.apache.bcel.generic.ClassGen clazz, org.apache.bcel.generic.MethodGen method)
          Process method after graph generation and manipulation is complete.
 void preGraph(org.apache.bcel.generic.ClassGen clazz, org.apache.bcel.generic.MethodGen method)
          Apply processing to method before graph is generated.
 void setName(java.lang.String s)
          Assign a name to the method processor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CEGSpy

public CEGSpy()
Method Detail

preGraph

public void preGraph(org.apache.bcel.generic.ClassGen clazz,
                     org.apache.bcel.generic.MethodGen method)
Apply processing to method before graph is generated.

Specified by:
preGraph in interface MethodXformer

postGraph

public void postGraph(org.apache.bcel.generic.ClassGen clazz,
                      org.apache.bcel.generic.MethodGen method)
Process method after graph generation and manipulation is complete.

Specified by:
postGraph in interface MethodXformer

getName

public java.lang.String getName()
Get the report name for method processor.

Specified by:
getName in interface MethodXformer

setName

public void setName(java.lang.String s)
Assign a name to the method processor.

Specified by:
setName in interface MethodXformer