dk.brics.string
Class AnalyzeRuntime

java.lang.Object
  extended by dk.brics.string.AnalyzeRuntime

public class AnalyzeRuntime
extends Object

An executable front-end for analyzing programs using the string analysis runtime library.

The given classes are analyzed using the string analysis, and the results are compared to the expected results as given in all Strings.analyze and Strings.check calls.

For all Strings.analyze calls, there are three cases:

For all Strings.check calls, there are also three cases:


Method Summary
static void main(String[] args)
          Main method for the runtime system.
static void setupLogger()
          Initializes the log4j system to print all messages from AnalyzeRuntime in System.out, and suppress all other non-error messages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
                 throws IOException,
                        IllegalAccessException,
                        InstantiationException
Main method for the runtime system.

Any number of arguments may be given. The types of arguments are:

Parameters:
args - a list of arguments, as described above
Throws:
IOException
IllegalAccessException
InstantiationException

setupLogger

public static void setupLogger()
Initializes the log4j system to print all messages from AnalyzeRuntime in System.out, and suppress all other non-error messages.



Copyright © 2003-2009 Anders Møller, Aske Simon Christensen, Asger Feldthaus.