alt.jiapi.tool
Class Javap
java.lang.Object
alt.jiapi.tool.Javap
public class Javap
- extends java.lang.Object
This is a replacement of javap command line tool, that comes
with jdks. Functionality is more or less the same.
Following System properties are known:
- constantpool: Prints constant-pool into console
- instructions: Prints instructions of every method in console
- method=<name>: Prints instructions of given method(s) in console
- verbose: Use verbose mode
- Author:
- Mika Riekkinen
Constructor Summary |
Javap(java.lang.String classOrFileName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Javap
public Javap(java.lang.String classOrFileName)
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
printClassInfo
protected void printClassInfo()
printConstantPool
protected void printConstantPool()
printField
protected void printField(JiapiField jf)
printInstructions
protected void printInstructions(InstructionList il)
printMethod
protected void printMethod(JiapiMethod jm)
verify
protected void verify()
Copyright © 2001. Documenation generated August 26 2011.