javap — Java Class File Disassembler

Synopsis

/usr/java/bin/javap [-b][-c][-classpathpath][-h][-Jflag][-l][-package] 
  [-private] [-protected][-public][-s][-verbose][-verify][-version] 
  class... 

Description

Use the javap command to disassemble a Java class file. The options determine the output. If you specify no options, javap displays the public fields and methods of the classes passed to it. The javap command displays its output to standard output. For example, compile the following class declaration:

 import java.awt.*; import java.applet.*; public class DocFooter extends Applet { String date; String email; public void init() { resize(500,100); date = getParameter("LAST_UPDATED"); email = getParameter("EMAIL"); } public void paint(Graphics ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.