jist.runtime
Class RewriterFlow

java.lang.Object
  extended by jist.runtime.RewriterFlow

public final class RewriterFlow
extends java.lang.Object

Perform data flow analysis.

Since:
JIST1.0

Nested Class Summary
static class RewriterFlow.FlowInfoMap
          An accessor class to conveniently query data flow information.
 
Constructor Summary
RewriterFlow()
          Create new rewriter data flow analysis object.
 
Method Summary
 RewriterFlow.FlowInfoMap doFlow(org.apache.bcel.generic.ClassGen cg, org.apache.bcel.generic.MethodGen mg)
          Perform data flow analysis to determine the frame at each execution point in the method.
static void main(java.lang.String[] args)
          Small utility program to dump the methods of a given class file with flow information between every instruction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RewriterFlow

public RewriterFlow()
Create new rewriter data flow analysis object.

Method Detail

doFlow

public RewriterFlow.FlowInfoMap doFlow(org.apache.bcel.generic.ClassGen cg,
                                       org.apache.bcel.generic.MethodGen mg)
Perform data flow analysis to determine the frame at each execution point in the method.

Parameters:
cg - BCEL class object
mg - BCEL method object
Returns:
flow information

main

public static void main(java.lang.String[] args)
Small utility program to dump the methods of a given class file with flow information between every instruction.

Parameters:
args - list of filenames to process