org.multijava.util.backend
Class Trace
java.lang.Object
org.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
|
Constructor Summary |
(package private) |
Trace(String fileName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writer
private FileWriter writer
_count
private static int _count
Trace
Trace(String fileName)
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 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.