Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uchicago.src.sim.util
Class Disassembler

    java.lang.Object
      uchicago.src.sim.util.Disassembler

    public class Disassembler

extends java.lang.Object

Simple class file dissassembler. This takes a .class file as a File and does enough dissassembly to return the fully qualified name of the Class described by that .class file.

Version:
  $Revision: 1.5 $ $Date: 2004/11/03 19:51:06 $

Field Summary
`static int` | `CONSTANT_CLASS`
`static int` | `DOUBLE`
`static int` | `FIELD_REF`
`static int` | `FLOAT`
`static int` | `INT_METHOD_REF`
`static int` | `INTEGER`
`static int` | `LONG`
`static int` | `METHOD_REF`
`static int` | `NAME_AND_TYPE`
`static int` | `STRING`
`static int` | `UTF8`

Constructor Summary
`Disassembler(java.io.File file)` Creates a Dissassebler to disassemble the specified file.

Method Summary
`java.lang.String` | `getFQClassName()` Returns the fully qualified name of the Class whose .class file is being disassembled.
`static void` | `main(java.lang.String[] args)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### CONSTANT_CLASS

    public static final int CONSTANT_CLASS

See Also:
  Constant Field Values

### FIELD_REF

    public static final int FIELD_REF

See Also:
  Constant Field Values

### METHOD_REF

    public static final int METHOD_REF

See Also:
  Constant Field Values

### INT_METHOD_REF

    public static final int INT_METHOD_REF

See Also:
  Constant Field Values

### STRING

    public static final int STRING

See Also:
  Constant Field Values

### INTEGER

    public static final int INTEGER

See Also:
  Constant Field Values

### FLOAT

    public static final int FLOAT

See Also:
  Constant Field Values

### LONG

    public static final int LONG

See Also:
  Constant Field Values

### DOUBLE

    public static final int DOUBLE

See Also:
  Constant Field Values

### NAME_AND_TYPE

    public static final int NAME_AND_TYPE

See Also:
  Constant Field Values

### UTF8

    public static final int UTF8

See Also:
  Constant Field Values

Constructor Detail

### Disassembler

    public Disassembler(java.io.File file)
                 throws java.io.IOException

  Creates a Dissassebler to disassemble the specified file.

  Parameters:
    `file` - the .class file to disassemble
  Throws:
    `java.io.IOException` - if the specified file is not a valid .class file

Method Detail

### getFQClassName

    public java.lang.String getFQClassName()

  Returns the fully qualified name of the Class whose .class file is being disassembled.

### main

    public static void main(java.lang.String[] args)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD