JML

org.multijava.util.backend
Class Trace

java.lang.Object
  extended byorg.multijava.util.backend.Trace
Direct Known Subclasses:
TraceControlFlow, TraceInferenceGraph

public class Trace
extends Object

This is the entry point of the backend, this class constructs the control flow graf and applies optimizations


Field Summary
private static int _count
           
private  FileWriter writer
           
 
Constructor Summary
(package private) Trace(String fileName)
           
 
Method Summary
protected  void close()
           
static String generateEdge(String from, String to, int nb, int count, boolean arrow)
          Generates a node
static String generateNode(String title, String label)
          Generates a node
protected  void write(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

writer

private FileWriter writer

_count

private static int _count
Constructor Detail

Trace

Trace(String fileName)
Method Detail

generateNode

public static String generateNode(String title,
                                  String label)
Generates a node


generateEdge

public static String generateEdge(String from,
                                  String to,
                                  int nb,
                                  int count,
                                  boolean arrow)
Generates a node


write

protected void write(String s)
              throws IOException
Throws:
IOException

close

protected void close()
              throws IOException
Throws:
IOException

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.