jdk/src/linux/doc/man/ja/javap.1
author katleman
Thu, 05 Jan 2012 08:42:37 -0800
changeset 11376 075fe3928b7f
parent 9566 d7241af95355
child 23600 d21826f6c789
permissions -rw-r--r--
Added tag jdk8-b20 for changeset 90e14ec89395
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
     1
." Copyright (c) 1994, 2011, Oracle and/or its affiliates. All rights reserved.
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     2
." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     3
."
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     4
." This code is free software; you can redistribute it and/or modify it
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     5
." under the terms of the GNU General Public License version 2 only, as
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     6
." published by the Free Software Foundation.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     7
."
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     8
." This code is distributed in the hope that it will be useful, but WITHOUT
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     9
." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    10
." FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    11
." version 2 for more details (a copy is included in the LICENSE file that
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    12
." accompanied this code).
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    13
."
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    14
." You should have received a copy of the GNU General Public License version
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    15
." 2 along with this work; if not, write to the Free Software Foundation,
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    16
." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    17
."
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2692
diff changeset
    18
." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2692
diff changeset
    19
." or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2692
diff changeset
    20
." questions.
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    21
."
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    22
.TH javap 1 "07 May 2011"
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    23
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    24
.LP
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    25
.SH "名前"
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    26
javap \- Java クラスファイル逆アセンブラ
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    27
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    28
.LP
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    29
クラスファイルを逆アセンブルします。
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    30
.LP
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    31
.SH "形式"
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    32
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    33
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    34
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    35
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    36
javap [ \fP\f3options\fP\f3 ] classes
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    37
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    38
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    39
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    41
.LP
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    42
.SH "説明"
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
.LP
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    45
\f3javap\fP コマンドは、1 つまたは複数のクラスファイルを逆アセンブルします。その出力は指定するオプションにより異なります。オプションを指定しない場合、\f3javap\fP は、そのパッケージ、渡されたクラスの protected および public のフィールドとメソッドを出力します。\f3javap\fP はその出力を標準出力に表示します。
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    46
.LP
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    47
.RS 3
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    48
.TP 3
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    49
options 
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    50
コマンド行オプション。 
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    51
.TP 3
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    52
classes 
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    53
注釈の処理対象となる 1 つ以上のクラス \f2DocFooter.class\fP など) のリスト (空白区切り)。クラスパスで見つかるクラスは、ファイル名 ( \f2/home/user/myproject/src/DocFooter.class\fP など) または URL ( \f2file:///home/user/myproject/src/DocFooter.class\fP など) で指定できます。 
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    54
.RE
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    55
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    56
.LP
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    57
.LP
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    58
たとえば、次のクラス宣言をコンパイルするとします。
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    59
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
\f3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    62
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
import java.awt.*;
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    64
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
import java.applet.*;
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    66
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    68
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
public class DocFooter extends Applet {
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    70
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    71
        String date;
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    72
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    73
        String email;
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    74
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    76
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    77
        public void init() {
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    78
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    79
                resize(500,100);
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    80
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    81
                date = getParameter("LAST_UPDATED");
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    82
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    83
                email = getParameter("EMAIL");
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    84
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    85
        }
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    86
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    88
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    89
        public void paint(Graphics g) {
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    90
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    91
                g.drawString(date + " by ",100, 15);
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    92
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    93
                g.drawString(email,290,15);
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    94
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    95
        }
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    96
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
}
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    98
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    99
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   101
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   103
.LP
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   104
\f3javap DocFooter.class\fP がもたらす出力は次のようになります。
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   105
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   106
.nf
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
\f3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   108
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   109
Compiled from "DocFooter.java"
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   110
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
public class DocFooter extends java.applet.Applet {
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   112
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   113
  java.lang.String date;
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   114
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   115
  java.lang.String email;
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   116
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   117
  public DocFooter();
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   118
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   119
  public void init();
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   120
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   121
  public void paint(java.awt.Graphics);
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   122
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
}
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   124
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   125
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   127
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   129
.LP
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   130
\f3javap \-c DocFooter.class\fP がもたらす出力は次のようになります。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   135
Compiled from "DocFooter.java"
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
public class DocFooter extends java.applet.Applet {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   139
  java.lang.String date;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   141
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   143
  java.lang.String email;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   147
  public DocFooter();
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   149
    Code:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   151
       0: aload_0       
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   153
       1: invokespecial #1                  // Method java/applet/Applet."<init>":()V
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   154
.fl
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   155
       4: return        
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   159
  public void init();
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   161
    Code:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   163
       0: aload_0       
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   165
       1: sipush        500
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   167
       4: bipush        100
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   169
       6: invokevirtual #2                  // Method resize:(II)V
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   171
       9: aload_0       
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   173
      10: aload_0       
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   175
      11: ldc           #3                  // String LAST_UPDATED
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   177
      13: invokevirtual #4                  // Method getParameter:(Ljava/lang/String;)Ljava/lang/String;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   179
      16: putfield      #5                  // Field date:Ljava/lang/String;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   181
      19: aload_0       
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   183
      20: aload_0       
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   185
      21: ldc           #6                  // String EMAIL
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   187
      23: invokevirtual #4                  // Method getParameter:(Ljava/lang/String;)Ljava/lang/String;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   189
      26: putfield      #7                  // Field email:Ljava/lang/String;
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   190
.fl
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   191
      29: return        
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   195
  public void paint(java.awt.Graphics);
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   197
    Code:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   199
       0: aload_1       
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   201
       1: new           #8                  // class java/lang/StringBuilder
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   203
       4: dup           
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   205
       5: invokespecial #9                  // Method java/lang/StringBuilder."<init>":()V
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   207
       8: aload_0       
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   208
.fl
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   209
       9: getfield      #5                  // Field date:Ljava/lang/String;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   211
      12: invokevirtual #10                 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   213
      15: ldc           #11                 // String  by 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   215
      17: invokevirtual #10                 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   217
      20: invokevirtual #12                 // Method java/lang/StringBuilder.toString:()Ljava/lang/String;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   219
      23: bipush        100
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   220
.fl
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   221
      25: bipush        15
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   223
      27: invokevirtual #13                 // Method java/awt/Graphics.drawString:(Ljava/lang/String;II)V
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   225
      30: aload_1       
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   227
      31: aload_0       
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   229
      32: getfield      #7                  // Field email:Ljava/lang/String;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   231
      35: sipush        290
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   233
      38: bipush        15
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   235
      40: invokevirtual #13                 // Method java/awt/Graphics.drawString:(Ljava/lang/String;II)V
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   237
      43: return        
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
.fl
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   239
}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
.LP
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   245
.SH "オプション"
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   247
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
.TP 3
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   249
\-help \-\-help \-? 
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   250
\f3javap\fP のヘルプメッセージを出力します。 
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   251
.TP 3
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   252
\-version 
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   253
バージョン情報を表示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
\-l 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   256
行番号と局所変数テーブルを表示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
\-public 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   259
public クラスおよびメンバーだけを表示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
\-protected 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   262
protected および public のクラスとメンバーだけを表示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
\-package 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   265
package、protected、および public のクラスとメンバーだけを表示します。これはデフォルトの設定です。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266
.TP 3
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   267
\-private \-p 
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   268
すべてのクラスとメンバーを表示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
\-Jflag 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   271
ランタイムシステムに直接 \f2flag\fP を渡します。使用例を次に示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
javap \-J\-version
90ce3da70b43 Initial load
duke
parents:
diff changeset
   276
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   277
javap \-J\-Djava.security.manager \-J\-Djava.security.policy=MyPolicy MyClassName
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   280
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
\-s 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   283
内部の型シグニチャーを出力します。 
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   284
.TP 3
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   285
\-sysinfo 
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   286
処理中のクラスのシステム情報 (パス、サイズ、日付、MD5 ハッシュ) を表示します。 
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   287
.TP 3
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   288
\-constants 
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   289
static final 定数を表示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
\-c 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   292
クラスの各メソッドのために逆アセンブルされるコード、すなわち Java バイトコードから成る命令を表示します。これらは
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   293
.na
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   294
\f2「Java Virtual Machine Specification」\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
.fi
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   296
http://java.sun.com/docs/books/vmspec/にドキュメント化されています。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   297
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
\-verbose 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   299
メソッドのスタックサイズ、および \f2locals\fP と \f2args\fP の数を出力します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
\-classpath path 
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
   302
\f3javap\fP がクラスを探すために使用するパスを指定します。デフォルトまたは CLASSPATH 環境変数設定を上書きします。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
\-bootclasspath path 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   305
ブートストラップクラスをロードするパスを指定します。ブートストラップクラスは、デフォルトでは \f2jre/lib/rt.jar\fP および他のいくつかの JAR ファイル にある、コア Java 2 プラットフォームを実装するクラスです。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
\-extdirs dirs 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   308
インストールされた拡張機能を検索する場所をオーバーライドします。拡張機能は、デフォルトでは \f2java.ext.dirs\fP にあります。 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   309
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   310
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   311
.LP
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   312
.SH "関連項目"
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   313
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
.LP
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   315
javac(1)、java(1)、jdb(1)、javah(1)、javadoc(1)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   317