javap.1 revision 4169
b87033953be26b0dc7dead8febd499b666a54126Peter Major." Copyright (c) 1994, 2011, Oracle and/or its affiliates. All rights reserved.
b87033953be26b0dc7dead8febd499b666a54126Peter Major." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
b87033953be26b0dc7dead8febd499b666a54126Peter Major."
b87033953be26b0dc7dead8febd499b666a54126Peter Major." This code is free software; you can redistribute it and/or modify it
b87033953be26b0dc7dead8febd499b666a54126Peter Major." under the terms of the GNU General Public License version 2 only, as
b87033953be26b0dc7dead8febd499b666a54126Peter Major." published by the Free Software Foundation.
b87033953be26b0dc7dead8febd499b666a54126Peter Major."
b87033953be26b0dc7dead8febd499b666a54126Peter Major." This code is distributed in the hope that it will be useful, but WITHOUT
b87033953be26b0dc7dead8febd499b666a54126Peter Major." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
b87033953be26b0dc7dead8febd499b666a54126Peter Major." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
b87033953be26b0dc7dead8febd499b666a54126Peter Major." version 2 for more details (a copy is included in the LICENSE file that
b87033953be26b0dc7dead8febd499b666a54126Peter Major." accompanied this code).
b87033953be26b0dc7dead8febd499b666a54126Peter Major."
b87033953be26b0dc7dead8febd499b666a54126Peter Major." You should have received a copy of the GNU General Public License version
b87033953be26b0dc7dead8febd499b666a54126Peter Major." 2 along with this work; if not, write to the Free Software Foundation,
b87033953be26b0dc7dead8febd499b666a54126Peter Major." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
b87033953be26b0dc7dead8febd499b666a54126Peter Major."
b87033953be26b0dc7dead8febd499b666a54126Peter Major." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
b87033953be26b0dc7dead8febd499b666a54126Peter Major." or visit www.oracle.com if you need additional information or have any
b87033953be26b0dc7dead8febd499b666a54126Peter Major." questions.
b87033953be26b0dc7dead8febd499b666a54126Peter Major."
b87033953be26b0dc7dead8febd499b666a54126Peter Major.TH javap 1 "07 May 2011"
b87033953be26b0dc7dead8febd499b666a54126Peter Major
b87033953be26b0dc7dead8febd499b666a54126Peter Major.LP
b87033953be26b0dc7dead8febd499b666a54126Peter Major.SH "̾��"
b87033953be26b0dc7dead8febd499b666a54126Peter Majorjavap \- Java ���饹�ե�����ե�����֥�
b87033953be26b0dc7dead8febd499b666a54126Peter Major.LP
b87033953be26b0dc7dead8febd499b666a54126Peter Major.LP
b87033953be26b0dc7dead8febd499b666a54126Peter Major���饹�ե������ե�����֥뤷�ޤ���
b87033953be26b0dc7dead8febd499b666a54126Peter Major.LP
b87033953be26b0dc7dead8febd499b666a54126Peter Major.SH "����"
b87033953be26b0dc7dead8febd499b666a54126Peter Major.LP
b87033953be26b0dc7dead8febd499b666a54126Peter Major.nf
b87033953be26b0dc7dead8febd499b666a54126Peter Major\f3
b87033953be26b0dc7dead8febd499b666a54126Peter Major.fl
b87033953be26b0dc7dead8febd499b666a54126Peter Majorjavap [ \fP\f3options\fP\f3 ] classes
.fl
\fP
.fi
.LP
.SH "����"
.LP
.LP
\f3javap\fP ���ޥ�ɤϡ�1 �Ĥޤ���ʣ���Υ��饹�ե������ե�����֥뤷�ޤ������ν��Ϥϻ��ꤹ�륪�ץ����ˤ��ۤʤ�ޤ������ץ�������ꤷ�ʤ���硢\f3javap\fP �ϡ����Υѥå��������Ϥ��줿���饹�� protected ����� public �Υե�����ɤȥ᥽�åɤ���Ϥ��ޤ���\f3javap\fP �Ϥ��ν��Ϥ�ɸ����Ϥ�ɽ�����ޤ���
.LP
.RS 3
.TP 3
options
���ޥ�ɹԥ��ץ����
.TP 3
classes
���ν����оݤȤʤ� 1 �İʾ�Υ��饹 \f2DocFooter.class\fP �ʤ�) �Υꥹ�� (������ڤ�)�����饹�ѥ��Ǹ��Ĥ��륯�饹�ϡ��ե�����̾ ( \f2/home/user/myproject/src/DocFooter.class\fP �ʤ�) �ޤ��� URL ( \f2file:///home/user/myproject/src/DocFooter.class\fP �ʤ�) �ǻ���Ǥ��ޤ���
.RE
.LP
.LP
���Ȥ��С����Υ��饹����򥳥�ѥ��뤹��Ȥ��ޤ���
.LP
.nf
\f3
.fl
import java.awt.*;
.fl
import java.applet.*;
.fl
.fl
public class DocFooter extends Applet {
.fl
String date;
.fl
String email;
.fl
.fl
public void init() {
.fl
resize(500,100);
.fl
date = getParameter("LAST_UPDATED");
.fl
email = getParameter("EMAIL");
.fl
}
.fl
.fl
public void paint(Graphics g) {
.fl
g.drawString(date + " by ",100, 15);
.fl
g.drawString(email,290,15);
.fl
}
.fl
}
.fl
\fP
.fi
.LP
.LP
\f3javap DocFooter.class\fP ���⤿�餹���Ϥϼ��Τ褦�ˤʤ�ޤ���
.LP
.nf
\f3
.fl
Compiled from "DocFooter.java"
.fl
public class DocFooter extends java.applet.Applet {
.fl
java.lang.String date;
.fl
java.lang.String email;
.fl
public DocFooter();
.fl
public void init();
.fl
public void paint(java.awt.Graphics);
.fl
}
.fl
\fP
.fi
.LP
.LP
\f3javap \-c DocFooter.class\fP ���⤿�餹���Ϥϼ��Τ褦�ˤʤ�ޤ���
.LP
.nf
\f3
.fl
Compiled from "DocFooter.java"
.fl
public class DocFooter extends java.applet.Applet {
.fl
java.lang.String date;
.fl
.fl
java.lang.String email;
.fl
.fl
public DocFooter();
.fl
Code:
.fl
0: aload_0
.fl
1: invokespecial #1 // Method java/applet/Applet."<init>":()V
.fl
4: return
.fl
.fl
public void init();
.fl
Code:
.fl
0: aload_0
.fl
1: sipush 500
.fl
4: bipush 100
.fl
6: invokevirtual #2 // Method resize:(II)V
.fl
9: aload_0
.fl
10: aload_0
.fl
11: ldc #3 // String LAST_UPDATED
.fl
13: invokevirtual #4 // Method getParameter:(Ljava/lang/String;)Ljava/lang/String;
.fl
16: putfield #5 // Field date:Ljava/lang/String;
.fl
19: aload_0
.fl
20: aload_0
.fl
21: ldc #6 // String EMAIL
.fl
23: invokevirtual #4 // Method getParameter:(Ljava/lang/String;)Ljava/lang/String;
.fl
26: putfield #7 // Field email:Ljava/lang/String;
.fl
29: return
.fl
.fl
public void paint(java.awt.Graphics);
.fl
Code:
.fl
0: aload_1
.fl
1: new #8 // class java/lang/StringBuilder
.fl
4: dup
.fl
5: invokespecial #9 // Method java/lang/StringBuilder."<init>":()V
.fl
8: aload_0
.fl
9: getfield #5 // Field date:Ljava/lang/String;
.fl
12: invokevirtual #10 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
.fl
15: ldc #11 // String by
.fl
17: invokevirtual #10 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
.fl
20: invokevirtual #12 // Method java/lang/StringBuilder.toString:()Ljava/lang/String;
.fl
23: bipush 100
.fl
25: bipush 15
.fl
27: invokevirtual #13 // Method java/awt/Graphics.drawString:(Ljava/lang/String;II)V
.fl
30: aload_1
.fl
31: aload_0
.fl
32: getfield #7 // Field email:Ljava/lang/String;
.fl
35: sipush 290
.fl
38: bipush 15
.fl
40: invokevirtual #13 // Method java/awt/Graphics.drawString:(Ljava/lang/String;II)V
.fl
43: return
.fl
}
.fl
\fP
.fi
.LP
.SH "���ץ����"
.LP
.RS 3
.TP 3
\-help \-\-help \-?
\f3javap\fP �Υإ�ץ�å���������Ϥ��ޤ���
.TP 3
\-version
�С����������ɽ�����ޤ���
.TP 3
\-l
���ֹ�ȶɽ��ѿ��ơ��֥��ɽ�����ޤ���
.TP 3
\-public
public ���饹����ӥ��С�������ɽ�����ޤ���
.TP 3
\-protected
protected ����� public �Υ��饹�ȥ��С�������ɽ�����ޤ���
.TP 3
\-package
package��protected������� public �Υ��饹�ȥ��С�������ɽ�����ޤ�������ϥǥե���Ȥ�����Ǥ���
.TP 3
\-private \-p
���٤ƤΥ��饹�ȥ��С���ɽ�����ޤ���
.TP 3
\-Jflag
��󥿥��ॷ���ƥ��ľ�� \f2flag\fP ���Ϥ��ޤ���������򼡤˼����ޤ���
.nf
\f3
.fl
javap \-J\-version
.fl
javap \-J\-Djava.security.manager \-J\-Djava.security.policy=MyPolicy MyClassName
.fl
\fP
.fi
.TP 3
\-s
�����η������˥��㡼����Ϥ��ޤ���
.TP 3
\-sysinfo
������Υ��饹�Υ����ƥ���� (�ѥ��������������ա�MD5 �ϥå���) ��ɽ�����ޤ���
.TP 3
\-constants
static final �����ɽ�����ޤ���
.TP 3
\-c
���饹�γƥ᥽�åɤΤ���˵ե�����֥뤵��륳���ɡ����ʤ�� Java �Х��ȥ����ɤ�������̿���ɽ�����ޤ���������
.na
\f2��Java Virtual Machine Specification��\fP @
.fi
http://java.sun.com/docs/books/vmspec/�˥ɥ�����Ȳ�����Ƥ��ޤ���
.TP 3
\-verbose
�᥽�åɤΥ����å�������������� \f2locals\fP �� \f2args\fP �ο�����Ϥ��ޤ���
.TP 3
\-classpath path
\f3javap\fP �����饹��õ������˻��Ѥ���ѥ�����ꤷ�ޤ����ǥե���Ȥޤ��� CLASSPATH �Ķ��ѿ�������񤭤��ޤ���
.TP 3
\-bootclasspath path
�֡��ȥ��ȥ�åץ��饹��?�ɤ���ѥ�����ꤷ�ޤ����֡��ȥ��ȥ�åץ��饹�ϡ��ǥե���ȤǤ� \f2jre/lib/rt.jar\fP �����¾�Τ����Ĥ��� JAR �ե����� �ˤ��롢���� Java 2 �ץ�åȥե������������륯�饹�Ǥ���
.TP 3
\-extdirs dirs
���󥹥ȡ��뤵�줿��ĥ��ǽ�򸡺�������򥪡��С��饤�ɤ��ޤ�����ĥ��ǽ�ϡ��ǥե���ȤǤ� \f2java.ext.dirs\fP �ˤ���ޤ���
.RE
.LP
.SH "��Ϣ����"
.LP
.LP
javac(1)��java(1)��jdb(1)��javah(1)��javadoc(1)
.LP