JML

org.jmlspecs.util.dis
Class Main

java.lang.Object
  extended byorg.multijava.dis.Main
      extended byorg.jmlspecs.util.dis.Main
All Implemented Interfaces:
Constants

public class Main
extends Main

A class to print type signatures encoded in .sym files. The .sym file is an extension to the Java .class file but without the bytecode for method bodies.

Author:
Yoonsik Cheon

Field Summary
 
Fields inherited from class org.multijava.dis.Main
options
 
Fields inherited from interface org.multijava.dis.Constants
OPT_NO_CODE, OPT_SHOW_STACK, OPT_SORT_MEMBERS, OPT_STDOUT
 
Constructor Summary
private Main(String[] args)
          Creates a new instance.
 
Method Summary
static boolean compile(String[] args)
          Disassemble a symbole file.
protected  void disassembleClass(String fileName)
          Reads and disassembles the given symbol file.
static void main(String[] args)
          Disassemble a symbole file.
protected  boolean parseArguments(String[] args)
           
static boolean run(String[] args)
          Disassemble a symbole file.
 
Methods inherited from class org.multijava.dis.Main
disasm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

private Main(String[] args)
Creates a new instance.

Method Detail

parseArguments

protected boolean parseArguments(String[] args)
Overrides:
parseArguments in class Main

disassembleClass

protected void disassembleClass(String fileName)
                         throws UnpositionedError
Reads and disassembles the given symbol file.

Overrides:
disassembleClass in class Main
Throws:
UnpositionedError

main

public static void main(String[] args)
Disassemble a symbole file.


compile

public static boolean compile(String[] args)
Disassemble a symbole file.


run

public static boolean run(String[] args)
Disassemble a symbole file.


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.