One or more classes separated by spaces to be processed for annotations such as DocFooter\&.class\&. You can specify a class that can be found in the class path, by its file name or with a URL such as \f3file:///home/user/myproject/src/DocFooter\&.class\fR\&.
.RS 4
.SH DESCRIPTION
One or more classes separated by spaces to be processed for annotations such as DocFooter\&.class\&. You can specify a class that can be found in the class path, by its file name or with a URL such as
The \f3javap\fR command disassembles one or more class files\&. The output depends on the options used\&. When no options are used, then the \f3javap\fR command prints the package, protected and public fields, and methods of the classes passed to it\&. The \f3javap\fR command prints its output to \f3stdout\fR\&.
For more information about JVM options, see the command documentation\&.
For more information about JVM options, see the \f3java(1)\fR command documentation\&.
.RE
.TP
.PP
-s
\-s
.br
.RS 4
Prints internal type signatures\&.
Prints internal type signatures\&.
.TP
.RE
-sysinfo
.PP
.br
\-sysinfo
.RS 4
Shows system information (path, size, date, MD5 hash) of the class being processed\&.
Shows system information (path, size, date, MD5 hash) of the class being processed\&.
.TP
.RE
-constants
.PP
.br
\-constants
Shows \f3static final\fR constants\&.
.RS 4
.TP
Shows
-c
\fBstatic final\fR
.br
constants\&.
.RE
.PP
\-c
.RS 4
Prints disassembled code, for example, the instructions that comprise the Java bytecodes, for each of the methods in the class\&.
Prints disassembled code, for example, the instructions that comprise the Java bytecodes, for each of the methods in the class\&.
.TP
.RE
-verbose
.PP
.br
\-verbose
.RS 4
Prints stack size, number of locals and arguments for methods\&.
Prints stack size, number of locals and arguments for methods\&.
.TP
.RE
-classpath \fIpath\fR
.PP
.br
\-classpath \fIpath\fR
Specifies the path the \f3javap\fR command uses to look up classes\&. Overrides the default or the \f3CLASSPATH\fR environment variable when it is set\&.
.RS 4
.TP
Specifies the path the
-bootclasspath \fIpath\fR
\fBjavap\fR
.br
command uses to look up classes\&. Overrides the default or the
Specifies the path from which to load bootstrap classes\&. By default, the bootstrap classes are the classes that implement the core Java platform located in \f3jre/lib/rt\&.jar\fR and several other JAR files\&.
\fBCLASSPATH\fR
.TP
environment variable when it is set\&.
-extdir \fIdirs\fR
.RE
.br
.PP
Overrides the location at which installed extensions are searched for\&. The default location for extensions is the value of \f3java\&.ext\&.dirs\fR\&.
\-bootclasspath \fIpath\fR
.SH EXAMPLE
.RS 4
Compile the following \f3DocFooter\fR class:
Specifies the path from which to load bootstrap classes\&. By default, the bootstrap classes are the classes that implement the core Java platform located in
.sp
\fBjre/lib/rt\&.jar\fR
.nf
and several other JAR files\&.
\f3import java\&.awt\&.*;\fP
.RE
.fi
.PP
.nf
\-extdir \fIdirs\fR
\f3import java\&.applet\&.*;\fP
.RS 4
.fi
Overrides the location at which installed extensions are searched for\&. The default location for extensions is the value of
.nf
\fBjava\&.ext\&.dirs\fR\&.
\f3\fP
.RE
.fi
.SH "EXAMPLE"
.nf
.PP
\f3public class DocFooter extends Applet {\fP
Compile the following
.fi
\fBDocFooter\fR
.nf
class:
\f3 String date;\fP
.sp
.fi
.if n \{\
.nf
.RS 4
\f3 String email;\fP
.\}
.fi
.nf
.nf
\fBimport java\&.awt\&.*;\fR
\f3\fP
\fBimport java\&.applet\&.*;\fR
.fi
\fB \fR
.nf
\fBpublic class DocFooter extends Applet {\fR
\f3 public void init() {\fP
\fB String date;\fR
.fi
\fB String email;\fR
.nf
\fB \fR
\f3 resize(500,100);\fP
\fB public void init() {\fR
.fi
\fB resize(500,100);\fR
.nf
\fB date = getParameter("LAST_UPDATED");\fR
\f3 date = getParameter("LAST_UPDATED");\fP
\fB email = getParameter("EMAIL");\fR
.fi
\fB }\fR
.nf
\fB \fR
\f3 email = getParameter("EMAIL");\fP
\fB public void paint(Graphics g) {\fR
.fi
\fB g\&.drawString(date + " by ",100, 15);\fR
.nf
\fB g\&.drawString(email,290,15);\fR
\f3 }\fP
\fB }\fR
.fi
\fB}\fR
.nf
\f3\fP
.fi
.fi
.if n \{\
.nf
.RE
\f3 public void paint(Graphics g) {\fP
.\}
.fi
.PP
.nf
The output from the
\f3 g\&.drawString(date + " by ",100, 15);\fP
\fBjavap DocFooter\&.class\fR
.fi
command yields the following:
.nf
.sp
\f3 g\&.drawString(email,290,15);\fP
.if n \{\
.fi
.RS 4
.nf
.\}
\f3 }\fP
.nf
.fi
\fBCompiled from "DocFooter\&.java"\fR
.nf
\fBpublic class DocFooter extends java\&.applet\&.Applet {\fR
\f3}\fP
\fB java\&.lang\&.String date;\fR
.fi
\fB java\&.lang\&.String email;\fR
.nf
\fB public DocFooter();\fR
\f3\fP
\fB public void init();\fR
.fi
\fB public void paint(java\&.awt\&.Graphics);\fR
.sp
\fB}\fR
The output from the \f3javap DocFooter\&.class\fR command yields the following:
.sp
.fi
.nf
.if n \{\
\f3Compiled from "DocFooter\&.java"\fP
.RE
.fi
.\}
.nf
.PP
\f3public class DocFooter extends java\&.applet\&.Applet {\fP
The output from
.fi
\fBjavap \-c DocFooter\&.class\fR
.nf
command yields the following:
\f3 java\&.lang\&.String date;\fP
.sp
.fi
.if n \{\
.nf
.RS 4
\f3 java\&.lang\&.String email;\fP
.\}
.fi
.nf
.nf
\fBCompiled from "DocFooter\&.java"\fR
\f3 public DocFooter();\fP
\fBpublic class DocFooter extends java\&.applet\&.Applet {\fR
.fi
\fB java\&.lang\&.String date;\fR
.nf
\fB java\&.lang\&.String email;\fR
\f3 public void init();\fP
.fi
\fB public DocFooter();\fR
.nf
\fB Code:\fR
\f3 public void paint(java\&.awt\&.Graphics);\fP
\fB 0: aload_0 \fR
.fi
\fB 1: invokespecial #1 // Method\fR
.nf
\fBjava/applet/Applet\&."<init>":()V\fR
\f3}\fP
\fB 4: return \fR
.fi
.nf
\fB public void init();\fR
\f3\fP
\fB Code:\fR
.fi
\fB 0: aload_0 \fR
.sp
\fB 1: sipush 500\fR
The output from \f3javap -c DocFooter\&.class\fR command yields the following:
\fB 4: bipush 100\fR
.sp
\fB 6: invokevirtual #2 // Method resize:(II)V\fR
.nf
\fB 9: aload_0 \fR
\f3Compiled from "DocFooter\&.java"\fP
\fB 10: aload_0 \fR
.fi
\fB 11: ldc #3 // String LAST_UPDATED\fR
.nf
\fB 13: invokevirtual #4 // Method\fR
\f3public class DocFooter extends java\&.applet\&.Applet {\fP
One or more classes separated by spaces to be processed for annotations such as DocFooter\&.class\&. You can specify a class that can be found in the class path, by its file name or with a URL such as \f3file:///home/user/myproject/src/DocFooter\&.class\fR\&.
.RS 4
.SH DESCRIPTION
One or more classes separated by spaces to be processed for annotations such as DocFooter\&.class\&. You can specify a class that can be found in the class path, by its file name or with a URL such as
The \f3javap\fR command disassembles one or more class files\&. The output depends on the options used\&. When no options are used, then the \f3javap\fR command prints the package, protected and public fields, and methods of the classes passed to it\&. The \f3javap\fR command prints its output to \f3stdout\fR\&.
For more information about JVM options, see the command documentation\&.
For more information about JVM options, see the \f3java(1)\fR command documentation\&.
.RE
.TP
.PP
-s
\-s
.br
.RS 4
Prints internal type signatures\&.
Prints internal type signatures\&.
.TP
.RE
-sysinfo
.PP
.br
\-sysinfo
.RS 4
Shows system information (path, size, date, MD5 hash) of the class being processed\&.
Shows system information (path, size, date, MD5 hash) of the class being processed\&.
.TP
.RE
-constants
.PP
.br
\-constants
Shows \f3static final\fR constants\&.
.RS 4
.TP
Shows
-c
\fBstatic final\fR
.br
constants\&.
.RE
.PP
\-c
.RS 4
Prints disassembled code, for example, the instructions that comprise the Java bytecodes, for each of the methods in the class\&.
Prints disassembled code, for example, the instructions that comprise the Java bytecodes, for each of the methods in the class\&.
.TP
.RE
-verbose
.PP
.br
\-verbose
.RS 4
Prints stack size, number of locals and arguments for methods\&.
Prints stack size, number of locals and arguments for methods\&.
.TP
.RE
-classpath \fIpath\fR
.PP
.br
\-classpath \fIpath\fR
Specifies the path the \f3javap\fR command uses to look up classes\&. Overrides the default or the \f3CLASSPATH\fR environment variable when it is set\&.
.RS 4
.TP
Specifies the path the
-bootclasspath \fIpath\fR
\fBjavap\fR
.br
command uses to look up classes\&. Overrides the default or the
Specifies the path from which to load bootstrap classes\&. By default, the bootstrap classes are the classes that implement the core Java platform located in \f3jre/lib/rt\&.jar\fR and several other JAR files\&.
\fBCLASSPATH\fR
.TP
environment variable when it is set\&.
-extdir \fIdirs\fR
.RE
.br
.PP
Overrides the location at which installed extensions are searched for\&. The default location for extensions is the value of \f3java\&.ext\&.dirs\fR\&.
\-bootclasspath \fIpath\fR
.SH EXAMPLE
.RS 4
Compile the following \f3DocFooter\fR class:
Specifies the path from which to load bootstrap classes\&. By default, the bootstrap classes are the classes that implement the core Java platform located in
.sp
\fBjre/lib/rt\&.jar\fR
.nf
and several other JAR files\&.
\f3import java\&.awt\&.*;\fP
.RE
.fi
.PP
.nf
\-extdir \fIdirs\fR
\f3import java\&.applet\&.*;\fP
.RS 4
.fi
Overrides the location at which installed extensions are searched for\&. The default location for extensions is the value of
.nf
\fBjava\&.ext\&.dirs\fR\&.
\f3\fP
.RE
.fi
.SH "EXAMPLE"
.nf
.PP
\f3public class DocFooter extends Applet {\fP
Compile the following
.fi
\fBDocFooter\fR
.nf
class:
\f3 String date;\fP
.sp
.fi
.if n \{\
.nf
.RS 4
\f3 String email;\fP
.\}
.fi
.nf
.nf
\fBimport java\&.awt\&.*;\fR
\f3\fP
\fBimport java\&.applet\&.*;\fR
.fi
\fB \fR
.nf
\fBpublic class DocFooter extends Applet {\fR
\f3 public void init() {\fP
\fB String date;\fR
.fi
\fB String email;\fR
.nf
\fB \fR
\f3 resize(500,100);\fP
\fB public void init() {\fR
.fi
\fB resize(500,100);\fR
.nf
\fB date = getParameter("LAST_UPDATED");\fR
\f3 date = getParameter("LAST_UPDATED");\fP
\fB email = getParameter("EMAIL");\fR
.fi
\fB }\fR
.nf
\fB \fR
\f3 email = getParameter("EMAIL");\fP
\fB public void paint(Graphics g) {\fR
.fi
\fB g\&.drawString(date + " by ",100, 15);\fR
.nf
\fB g\&.drawString(email,290,15);\fR
\f3 }\fP
\fB }\fR
.fi
\fB}\fR
.nf
\f3\fP
.fi
.fi
.if n \{\
.nf
.RE
\f3 public void paint(Graphics g) {\fP
.\}
.fi
.PP
.nf
The output from the
\f3 g\&.drawString(date + " by ",100, 15);\fP
\fBjavap DocFooter\&.class\fR
.fi
command yields the following:
.nf
.sp
\f3 g\&.drawString(email,290,15);\fP
.if n \{\
.fi
.RS 4
.nf
.\}
\f3 }\fP
.nf
.fi
\fBCompiled from "DocFooter\&.java"\fR
.nf
\fBpublic class DocFooter extends java\&.applet\&.Applet {\fR
\f3}\fP
\fB java\&.lang\&.String date;\fR
.fi
\fB java\&.lang\&.String email;\fR
.nf
\fB public DocFooter();\fR
\f3\fP
\fB public void init();\fR
.fi
\fB public void paint(java\&.awt\&.Graphics);\fR
.sp
\fB}\fR
The output from the \f3javap DocFooter\&.class\fR command yields the following:
.sp
.fi
.nf
.if n \{\
\f3Compiled from "DocFooter\&.java"\fP
.RE
.fi
.\}
.nf
.PP
\f3public class DocFooter extends java\&.applet\&.Applet {\fP
The output from
.fi
\fBjavap \-c DocFooter\&.class\fR
.nf
command yields the following:
\f3 java\&.lang\&.String date;\fP
.sp
.fi
.if n \{\
.nf
.RS 4
\f3 java\&.lang\&.String email;\fP
.\}
.fi
.nf
.nf
\fBCompiled from "DocFooter\&.java"\fR
\f3 public DocFooter();\fP
\fBpublic class DocFooter extends java\&.applet\&.Applet {\fR
.fi
\fB java\&.lang\&.String date;\fR
.nf
\fB java\&.lang\&.String email;\fR
\f3 public void init();\fP
.fi
\fB public DocFooter();\fR
.nf
\fB Code:\fR
\f3 public void paint(java\&.awt\&.Graphics);\fP
\fB 0: aload_0 \fR
.fi
\fB 1: invokespecial #1 // Method\fR
.nf
\fBjava/applet/Applet\&."<init>":()V\fR
\f3}\fP
\fB 4: return \fR
.fi
.nf
\fB public void init();\fR
\f3\fP
\fB Code:\fR
.fi
\fB 0: aload_0 \fR
.sp
\fB 1: sipush 500\fR
The output from \f3javap -c DocFooter\&.class\fR command yields the following:
\fB 4: bipush 100\fR
.sp
\fB 6: invokevirtual #2 // Method resize:(II)V\fR
.nf
\fB 9: aload_0 \fR
\f3Compiled from "DocFooter\&.java"\fP
\fB 10: aload_0 \fR
.fi
\fB 11: ldc #3 // String LAST_UPDATED\fR
.nf
\fB 13: invokevirtual #4 // Method\fR
\f3public class DocFooter extends java\&.applet\&.Applet {\fP