public class com.sun.tools.javap.JavapTask implements com.sun.tools.javap.DisassemblerTool$DisassemblerTask, com.sun.tools.javap.Messages
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javap.JavapTask
super_class: java.lang.Object
{
static final com.sun.tools.javap.JavapTask$Option[] recognizedOptions;
descriptor: [Lcom/sun/tools/javap/JavapTask$Option;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final int EXIT_OK;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int EXIT_ERROR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int EXIT_CMDERR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int EXIT_SYSERR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
static final int EXIT_ABNORMAL;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final java.lang.String nl;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String versionRBName;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.tools.javap.resources.version"
private static java.util.ResourceBundle versionRB;
descriptor: Ljava/util/ResourceBundle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected com.sun.tools.javap.Context context;
descriptor: Lcom/sun/tools/javap/Context;
flags: (0x0004) ACC_PROTECTED
javax.tools.JavaFileManager fileManager;
descriptor: Ljavax/tools/JavaFileManager;
flags: (0x0000)
javax.tools.JavaFileManager defaultFileManager;
descriptor: Ljavax/tools/JavaFileManager;
flags: (0x0000)
java.io.PrintWriter log;
descriptor: Ljava/io/PrintWriter;
flags: (0x0000)
javax.tools.DiagnosticListener<? super javax.tools.JavaFileObject> diagnosticListener;
descriptor: Ljavax/tools/DiagnosticListener;
flags: (0x0000)
Signature: Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;
java.util.List<java.lang.String> classes;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljava/lang/String;>;
javax.tools.JavaFileManager$Location moduleLocation;
descriptor: Ljavax/tools/JavaFileManager$Location;
flags: (0x0000)
com.sun.tools.javap.Options options;
descriptor: Lcom/sun/tools/javap/Options;
flags: (0x0000)
java.util.Locale task_locale;
descriptor: Ljava/util/Locale;
flags: (0x0000)
java.util.Map<java.util.Locale, java.util.ResourceBundle> bundles;
descriptor: Ljava/util/Map;
flags: (0x0000)
Signature: Ljava/util/Map<Ljava/util/Locale;Ljava/util/ResourceBundle;>;
protected com.sun.tools.classfile.Attribute$Factory attributeFactory;
descriptor: Lcom/sun/tools/classfile/Attribute$Factory;
flags: (0x0004) ACC_PROTECTED
private static final java.lang.String progname;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "javap"
private static volatile int[] $SWITCH_TABLE$javax$tools$Diagnostic$Kind;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=10, locals=0, args_size=0
0: bipush 20
anewarray com.sun.tools.javap.JavapTask$Option
dup
iconst_0
1: new com.sun.tools.javap.JavapTask$1
dup
iconst_0
iconst_4
anewarray java.lang.String
dup
iconst_0
ldc "-help"
aastore
dup
iconst_1
ldc "--help"
aastore
dup
iconst_2
ldc "-?"
aastore
dup
iconst_3
ldc "-h"
aastore
invokespecial com.sun.tools.javap.JavapTask$1.<init>:(Z[Ljava/lang/String;)V
aastore
dup
iconst_1
2: new com.sun.tools.javap.JavapTask$2
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-version"
aastore
invokespecial com.sun.tools.javap.JavapTask$2.<init>:(Z[Ljava/lang/String;)V
aastore
dup
iconst_2
3: new com.sun.tools.javap.JavapTask$3
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-fullversion"
aastore
invokespecial com.sun.tools.javap.JavapTask$3.<init>:(Z[Ljava/lang/String;)V
aastore
dup
iconst_3
4: new com.sun.tools.javap.JavapTask$4
dup
iconst_0
iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "-v"
aastore
dup
iconst_1
ldc "-verbose"
aastore
dup
iconst_2
ldc "-all"
aastore
invokespecial com.sun.tools.javap.JavapTask$4.<init>:(Z[Ljava/lang/String;)V
aastore
dup
iconst_4
5: new com.sun.tools.javap.JavapTask$5
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-l"
aastore
invokespecial com.sun.tools.javap.JavapTask$5.<init>:(Z[Ljava/lang/String;)V
aastore
dup
iconst_5
6: new com.sun.tools.javap.JavapTask$6
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-public"
aastore
invokespecial com.sun.tools.javap.JavapTask$6.<init>:(Z[Ljava/lang/String;)V
aastore
dup
bipush 6
7: new com.sun.tools.javap.JavapTask$7
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-protected"
aastore
invokespecial com.sun.tools.javap.JavapTask$7.<init>:(Z[Ljava/lang/String;)V
aastore
dup
bipush 7
8: new com.sun.tools.javap.JavapTask$8
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-package"
aastore
invokespecial com.sun.tools.javap.JavapTask$8.<init>:(Z[Ljava/lang/String;)V
aastore
dup
bipush 8
9: new com.sun.tools.javap.JavapTask$9
dup
iconst_0
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "-p"
aastore
dup
iconst_1
ldc "-private"
aastore
invokespecial com.sun.tools.javap.JavapTask$9.<init>:(Z[Ljava/lang/String;)V
aastore
dup
bipush 9
10: new com.sun.tools.javap.JavapTask$10
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-c"
aastore
invokespecial com.sun.tools.javap.JavapTask$10.<init>:(Z[Ljava/lang/String;)V
aastore
dup
bipush 10
11: new com.sun.tools.javap.JavapTask$11
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-s"
aastore
invokespecial com.sun.tools.javap.JavapTask$11.<init>:(Z[Ljava/lang/String;)V
aastore
dup
bipush 11
12: new com.sun.tools.javap.JavapTask$12
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-sysinfo"
aastore
invokespecial com.sun.tools.javap.JavapTask$12.<init>:(Z[Ljava/lang/String;)V
aastore
dup
bipush 12
13: new com.sun.tools.javap.JavapTask$13
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-XDdetails"
aastore
invokespecial com.sun.tools.javap.JavapTask$13.<init>:(Z[Ljava/lang/String;)V
aastore
dup
bipush 13
14: new com.sun.tools.javap.JavapTask$14
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-XDdetails:"
aastore
invokespecial com.sun.tools.javap.JavapTask$14.<init>:(Z[Ljava/lang/String;)V
aastore
dup
bipush 14
15: new com.sun.tools.javap.JavapTask$15
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-constants"
aastore
invokespecial com.sun.tools.javap.JavapTask$15.<init>:(Z[Ljava/lang/String;)V
aastore
dup
bipush 15
16: new com.sun.tools.javap.JavapTask$16
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-XDinner"
aastore
invokespecial com.sun.tools.javap.JavapTask$16.<init>:(Z[Ljava/lang/String;)V
aastore
dup
bipush 16
17: new com.sun.tools.javap.JavapTask$17
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-XDindent:"
aastore
invokespecial com.sun.tools.javap.JavapTask$17.<init>:(Z[Ljava/lang/String;)V
aastore
dup
bipush 17
18: new com.sun.tools.javap.JavapTask$18
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-XDtab:"
aastore
invokespecial com.sun.tools.javap.JavapTask$18.<init>:(Z[Ljava/lang/String;)V
aastore
dup
bipush 18
19: new com.sun.tools.javap.JavapTask$19
dup
iconst_1
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "--module"
aastore
dup
iconst_1
ldc "-m"
aastore
invokespecial com.sun.tools.javap.JavapTask$19.<init>:(Z[Ljava/lang/String;)V
aastore
dup
bipush 19
20: new com.sun.tools.javap.JavapTask$20
dup
iconst_0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "-J"
aastore
invokespecial com.sun.tools.javap.JavapTask$20.<init>:(Z[Ljava/lang/String;)V
aastore
21: putstatic com.sun.tools.javap.JavapTask.recognizedOptions:[Lcom/sun/tools/javap/JavapTask$Option;
22: ldc "line.separator"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic com.sun.tools.javap.JavapTask.nl:Ljava/lang/String;
23: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new com.sun.tools.javap.Context
dup
invokespecial com.sun.tools.javap.Context.<init>:()V
putfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
2: aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
ldc Lcom/sun/tools/javap/Messages;
aload 0
invokevirtual com.sun.tools.javap.Context.put:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
invokestatic com.sun.tools.javap.Options.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/Options;
putfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
4: aload 0
new com.sun.tools.classfile.Attribute$Factory
dup
invokespecial com.sun.tools.classfile.Attribute$Factory.<init>:()V
putfield com.sun.tools.javap.JavapTask.attributeFactory:Lcom/sun/tools/classfile/Attribute$Factory;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javap/JavapTask;
public void <init>(java.io.Writer, javax.tools.JavaFileManager, javax.tools.DiagnosticListener<? super javax.tools.JavaFileObject>);
descriptor: (Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial com.sun.tools.javap.JavapTask.<init>:()V
1: aload 0
aload 1
invokestatic com.sun.tools.javap.JavapTask.getPrintWriterForWriter:(Ljava/io/Writer;)Ljava/io/PrintWriter;
putfield com.sun.tools.javap.JavapTask.log:Ljava/io/PrintWriter;
2: aload 0
aload 2
putfield com.sun.tools.javap.JavapTask.fileManager:Ljavax/tools/JavaFileManager;
3: aload 0
aload 3
putfield com.sun.tools.javap.JavapTask.diagnosticListener:Ljavax/tools/DiagnosticListener;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javap/JavapTask;
0 5 1 out Ljava/io/Writer;
0 5 2 fileManager Ljavax/tools/JavaFileManager;
0 5 3 diagnosticListener Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;
Signature: (Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;)V
MethodParameters:
Name Flags
out
fileManager
diagnosticListener
public void <init>(java.io.Writer, javax.tools.JavaFileManager, javax.tools.DiagnosticListener<? super javax.tools.JavaFileObject>, java.lang.Iterable<java.lang.String>, java.lang.Iterable<java.lang.String>);
descriptor: (Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener;Ljava/lang/Iterable;Ljava/lang/Iterable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
invokespecial com.sun.tools.javap.JavapTask.<init>:(Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener;)V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.tools.javap.JavapTask.classes:Ljava/util/List;
2: aload 5
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 7
goto 6
StackMap locals: com.sun.tools.javap.JavapTask java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Iterable java.lang.Iterable top java.util.Iterator
StackMap stack:
3: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 4: aload 6
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
getfield com.sun.tools.javap.JavapTask.classes:Ljava/util/List;
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 6: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 4
ifnull 12
8: aload 0
aload 4
iconst_0
invokevirtual com.sun.tools.javap.JavapTask.handleOptions:(Ljava/lang/Iterable;Z)V
9: goto 12
StackMap locals: com.sun.tools.javap.JavapTask java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Iterable java.lang.Iterable
StackMap stack: com.sun.tools.javap.JavapTask$BadArgs
10: astore 6
start local 6 11: new java.lang.IllegalArgumentException
dup
aload 6
invokevirtual com.sun.tools.javap.JavapTask$BadArgs.getMessage:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 6 12: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/tools/javap/JavapTask;
0 13 1 out Ljava/io/Writer;
0 13 2 fileManager Ljavax/tools/JavaFileManager;
0 13 3 diagnosticListener Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;
0 13 4 options Ljava/lang/Iterable<Ljava/lang/String;>;
0 13 5 classes Ljava/lang/Iterable<Ljava/lang/String;>;
4 6 6 classname Ljava/lang/String;
11 12 6 e Lcom/sun/tools/javap/JavapTask$BadArgs;
Exception table:
from to target type
7 9 10 Class com.sun.tools.javap.JavapTask$BadArgs
Signature: (Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;Ljava/lang/Iterable<Ljava/lang/String;>;Ljava/lang/Iterable<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
out
fileManager
diagnosticListener
options
classes
public void setLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.tools.javap.JavapTask.task_locale:Ljava/util/Locale;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javap/JavapTask;
0 4 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public void setLog(java.io.Writer);
descriptor: (Ljava/io/Writer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.sun.tools.javap.JavapTask.getPrintWriterForWriter:(Ljava/io/Writer;)Ljava/io/PrintWriter;
putfield com.sun.tools.javap.JavapTask.log:Ljava/io/PrintWriter;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/JavapTask;
0 2 1 log Ljava/io/Writer;
MethodParameters:
Name Flags
log
public void setLog(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.sun.tools.javap.JavapTask.getPrintWriterForStream:(Ljava/io/OutputStream;)Ljava/io/PrintWriter;
invokevirtual com.sun.tools.javap.JavapTask.setLog:(Ljava/io/Writer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/JavapTask;
0 2 1 s Ljava/io/OutputStream;
MethodParameters:
Name Flags
s
private static java.io.PrintWriter getPrintWriterForStream(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)Ljava/io/PrintWriter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.io.PrintWriter
dup
aload 0
ifnonnull 1
getstatic java.lang.System.err:Ljava/io/PrintStream;
goto 2
StackMap locals: java.io.OutputStream
StackMap stack: new 0 new 0
1: aload 0
StackMap locals: java.io.OutputStream
StackMap stack: new 0 new 0 java.io.OutputStream
2: iconst_1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;Z)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 s Ljava/io/OutputStream;
MethodParameters:
Name Flags
s
private static java.io.PrintWriter getPrintWriterForWriter(java.io.Writer);
descriptor: (Ljava/io/Writer;)Ljava/io/PrintWriter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
invokestatic com.sun.tools.javap.JavapTask.getPrintWriterForStream:(Ljava/io/OutputStream;)Ljava/io/PrintWriter;
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.io.PrintWriter
ifeq 4
3: aload 0
checkcast java.io.PrintWriter
areturn
4: StackMap locals:
StackMap stack:
new java.io.PrintWriter
dup
aload 0
iconst_1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;Z)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 w Ljava/io/Writer;
MethodParameters:
Name Flags
w
public void setDiagnosticListener(javax.tools.DiagnosticListener<? super javax.tools.JavaFileObject>);
descriptor: (Ljavax/tools/DiagnosticListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.tools.javap.JavapTask.diagnosticListener:Ljavax/tools/DiagnosticListener;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/JavapTask;
0 2 1 dl Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;
Signature: (Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;)V
MethodParameters:
Name Flags
dl
public void setDiagnosticListener(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual com.sun.tools.javap.JavapTask.getDiagnosticListenerForStream:(Ljava/io/OutputStream;)Ljavax/tools/DiagnosticListener;
invokevirtual com.sun.tools.javap.JavapTask.setDiagnosticListener:(Ljavax/tools/DiagnosticListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/JavapTask;
0 2 1 s Ljava/io/OutputStream;
MethodParameters:
Name Flags
s
private javax.tools.DiagnosticListener<javax.tools.JavaFileObject> getDiagnosticListenerForStream(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)Ljavax/tools/DiagnosticListener;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.sun.tools.javap.JavapTask.getPrintWriterForStream:(Ljava/io/OutputStream;)Ljava/io/PrintWriter;
invokevirtual com.sun.tools.javap.JavapTask.getDiagnosticListenerForWriter:(Ljava/io/Writer;)Ljavax/tools/DiagnosticListener;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javap/JavapTask;
0 1 1 s Ljava/io/OutputStream;
Signature: (Ljava/io/OutputStream;)Ljavax/tools/DiagnosticListener<Ljavax/tools/JavaFileObject;>;
MethodParameters:
Name Flags
s
private javax.tools.DiagnosticListener<javax.tools.JavaFileObject> getDiagnosticListenerForWriter(java.io.Writer);
descriptor: (Ljava/io/Writer;)Ljavax/tools/DiagnosticListener;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.sun.tools.javap.JavapTask.getPrintWriterForWriter:(Ljava/io/Writer;)Ljava/io/PrintWriter;
astore 2
start local 2 1: aload 0
aload 2
invokedynamic report(Lcom/sun/tools/javap/JavapTask;Ljava/io/PrintWriter;)Ljavax/tools/DiagnosticListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljavax/tools/Diagnostic;)V
com/sun/tools/javap/JavapTask.lambda$0(Ljava/io/PrintWriter;Ljavax/tools/Diagnostic;)V (7)
(Ljavax/tools/Diagnostic;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/JavapTask;
0 2 1 w Ljava/io/Writer;
1 2 2 pw Ljava/io/PrintWriter;
Signature: (Ljava/io/Writer;)Ljavax/tools/DiagnosticListener<Ljavax/tools/JavaFileObject;>;
MethodParameters:
Name Flags
w
int run(java.lang.String[]);
descriptor: ([Ljava/lang/String;)I
flags: (0x0000)
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.javap.JavapTask.handleOptions:([Ljava/lang/String;)V
1: aload 0
getfield com.sun.tools.javap.JavapTask.classes:Ljava/util/List;
ifnull 2
aload 0
getfield com.sun.tools.javap.JavapTask.classes:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifne 19
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.help:Z
ifne 3
aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.version:Z
ifne 3
aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.fullVersion:Z
ifeq 11
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.defaultFileManager:Ljavax/tools/JavaFileManager;
ifnull 9
4: aload 0
getfield com.sun.tools.javap.JavapTask.defaultFileManager:Ljavax/tools/JavaFileManager;
invokeinterface javax.tools.JavaFileManager.close:()V
5: aload 0
aconst_null
putfield com.sun.tools.javap.JavapTask.defaultFileManager:Ljavax/tools/JavaFileManager;
6: goto 9
StackMap locals:
StackMap stack: java.io.IOException
7: astore 4
start local 4 8: new com.sun.tools.javap.InternalError
dup
aload 4
iconst_0
anewarray java.lang.Object
invokespecial com.sun.tools.javap.InternalError.<init>:(Ljava/lang/Throwable;[Ljava/lang/Object;)V
athrow
end local 4 9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.defaultFileManager:Ljavax/tools/JavaFileManager;
ifnull 17
12: aload 0
getfield com.sun.tools.javap.JavapTask.defaultFileManager:Ljavax/tools/JavaFileManager;
invokeinterface javax.tools.JavaFileManager.close:()V
13: aload 0
aconst_null
putfield com.sun.tools.javap.JavapTask.defaultFileManager:Ljavax/tools/JavaFileManager;
14: goto 17
StackMap locals:
StackMap stack: java.io.IOException
15: astore 4
start local 4 16: new com.sun.tools.javap.InternalError
dup
aload 4
iconst_0
anewarray java.lang.Object
invokespecial com.sun.tools.javap.InternalError.<init>:(Ljava/lang/Throwable;[Ljava/lang/Object;)V
athrow
end local 4 17: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
18: iconst_2
ireturn
19: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.tools.javap.JavapTask.run:()I
istore 3
20: aload 0
getfield com.sun.tools.javap.JavapTask.defaultFileManager:Ljavax/tools/JavaFileManager;
ifnull 26
21: aload 0
getfield com.sun.tools.javap.JavapTask.defaultFileManager:Ljavax/tools/JavaFileManager;
invokeinterface javax.tools.JavaFileManager.close:()V
22: aload 0
aconst_null
putfield com.sun.tools.javap.JavapTask.defaultFileManager:Ljavax/tools/JavaFileManager;
23: goto 26
StackMap locals: com.sun.tools.javap.JavapTask java.lang.String[] top int
StackMap stack: java.io.IOException
24: astore 4
start local 4 25: new com.sun.tools.javap.InternalError
dup
aload 4
iconst_0
anewarray java.lang.Object
invokespecial com.sun.tools.javap.InternalError.<init>:(Ljava/lang/Throwable;[Ljava/lang/Object;)V
athrow
end local 4 26: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
27: iload 3
ireturn
28: StackMap locals: com.sun.tools.javap.JavapTask java.lang.String[]
StackMap stack: java.lang.Throwable
astore 2
29: aload 0
getfield com.sun.tools.javap.JavapTask.defaultFileManager:Ljavax/tools/JavaFileManager;
ifnull 35
30: aload 0
getfield com.sun.tools.javap.JavapTask.defaultFileManager:Ljavax/tools/JavaFileManager;
invokeinterface javax.tools.JavaFileManager.close:()V
31: aload 0
aconst_null
putfield com.sun.tools.javap.JavapTask.defaultFileManager:Ljavax/tools/JavaFileManager;
32: goto 35
StackMap locals: com.sun.tools.javap.JavapTask java.lang.String[] java.lang.Throwable
StackMap stack: java.io.IOException
33: astore 4
start local 4 34: new com.sun.tools.javap.InternalError
dup
aload 4
iconst_0
anewarray java.lang.Object
invokespecial com.sun.tools.javap.InternalError.<init>:(Ljava/lang/Throwable;[Ljava/lang/Object;)V
athrow
end local 4 35: StackMap locals:
StackMap stack:
aload 2
athrow
36: StackMap locals: com.sun.tools.javap.JavapTask java.lang.String[]
StackMap stack: com.sun.tools.javap.JavapTask$BadArgs
astore 2
start local 2 37: aload 0
aload 2
getfield com.sun.tools.javap.JavapTask$BadArgs.key:Ljava/lang/String;
aload 2
getfield com.sun.tools.javap.JavapTask$BadArgs.args:[Ljava/lang/Object;
invokevirtual com.sun.tools.javap.JavapTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
38: aload 2
getfield com.sun.tools.javap.JavapTask$BadArgs.showUsage:Z
ifeq 40
39: aload 0
aload 0
ldc "main.usage.summary"
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "javap"
aastore
invokevirtual com.sun.tools.javap.JavapTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.javap.JavapTask.printLines:(Ljava/lang/String;)V
40: StackMap locals: com.sun.tools.javap.JavapTask$BadArgs
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
41: iconst_2
ireturn
end local 2 42: StackMap locals: com.sun.tools.javap.JavapTask java.lang.String[]
StackMap stack: com.sun.tools.javap.InternalError
astore 2
start local 2 43: aload 2
invokevirtual com.sun.tools.javap.InternalError.getCause:()Ljava/lang/Throwable;
ifnonnull 46
44: aload 2
getfield com.sun.tools.javap.InternalError.args:[Ljava/lang/Object;
astore 3
start local 3 45: goto 49
end local 3 46: StackMap locals: com.sun.tools.javap.InternalError
StackMap stack:
aload 2
getfield com.sun.tools.javap.InternalError.args:[Ljava/lang/Object;
arraylength
iconst_1
iadd
anewarray java.lang.Object
astore 3
start local 3 47: aload 3
iconst_0
aload 2
invokevirtual com.sun.tools.javap.InternalError.getCause:()Ljava/lang/Throwable;
aastore
48: aload 2
getfield com.sun.tools.javap.InternalError.args:[Ljava/lang/Object;
iconst_0
aload 3
iconst_1
aload 2
getfield com.sun.tools.javap.InternalError.args:[Ljava/lang/Object;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
49: StackMap locals: java.lang.Object[]
StackMap stack:
aload 0
ldc "err.internal.error"
aload 3
invokevirtual com.sun.tools.javap.JavapTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
50: aload 0
getfield com.sun.tools.javap.JavapTask.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
51: iconst_4
ireturn
end local 3 end local 2 52: StackMap locals: com.sun.tools.javap.JavapTask java.lang.String[]
StackMap stack: java.lang.Throwable
astore 5
53: aload 0
getfield com.sun.tools.javap.JavapTask.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
54: aload 5
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 55 0 this Lcom/sun/tools/javap/JavapTask;
0 55 1 args [Ljava/lang/String;
8 9 4 e Ljava/io/IOException;
16 17 4 e Ljava/io/IOException;
25 26 4 e Ljava/io/IOException;
34 35 4 e Ljava/io/IOException;
37 42 2 e Lcom/sun/tools/javap/JavapTask$BadArgs;
43 52 2 e Lcom/sun/tools/javap/InternalError;
45 46 3 e_args [Ljava/lang/Object;
47 52 3 e_args [Ljava/lang/Object;
Exception table:
from to target type
4 6 7 Class java.io.IOException
12 14 15 Class java.io.IOException
21 23 24 Class java.io.IOException
0 3 28 any
19 20 28 any
30 32 33 Class java.io.IOException
0 9 36 Class com.sun.tools.javap.JavapTask$BadArgs
11 17 36 Class com.sun.tools.javap.JavapTask$BadArgs
19 26 36 Class com.sun.tools.javap.JavapTask$BadArgs
28 36 36 Class com.sun.tools.javap.JavapTask$BadArgs
0 9 42 Class com.sun.tools.javap.InternalError
11 17 42 Class com.sun.tools.javap.InternalError
19 26 42 Class com.sun.tools.javap.InternalError
28 36 42 Class com.sun.tools.javap.InternalError
0 9 52 any
11 17 52 any
19 26 52 any
28 40 52 any
42 50 52 any
MethodParameters:
Name Flags
args
public void handleOptions(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_1
invokevirtual com.sun.tools.javap.JavapTask.handleOptions:(Ljava/lang/Iterable;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/JavapTask;
0 2 1 args [Ljava/lang/String;
Exceptions:
throws com.sun.tools.javap.JavapTask$BadArgs
MethodParameters:
Name Flags
args
private void handleOptions(java.lang.Iterable<java.lang.String>, );
descriptor: (Ljava/lang/Iterable;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javap.JavapTask.log:Ljava/io/PrintWriter;
ifnonnull 5
1: aload 0
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokestatic com.sun.tools.javap.JavapTask.getPrintWriterForStream:(Ljava/io/OutputStream;)Ljava/io/PrintWriter;
putfield com.sun.tools.javap.JavapTask.log:Ljava/io/PrintWriter;
2: aload 0
getfield com.sun.tools.javap.JavapTask.diagnosticListener:Ljavax/tools/DiagnosticListener;
ifnonnull 7
3: aload 0
aload 0
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual com.sun.tools.javap.JavapTask.getDiagnosticListenerForStream:(Ljava/io/OutputStream;)Ljavax/tools/DiagnosticListener;
putfield com.sun.tools.javap.JavapTask.diagnosticListener:Ljavax/tools/DiagnosticListener;
4: goto 7
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.diagnosticListener:Ljavax/tools/DiagnosticListener;
ifnonnull 7
6: aload 0
aload 0
aload 0
getfield com.sun.tools.javap.JavapTask.log:Ljava/io/PrintWriter;
invokevirtual com.sun.tools.javap.JavapTask.getDiagnosticListenerForWriter:(Ljava/io/Writer;)Ljavax/tools/DiagnosticListener;
putfield com.sun.tools.javap.JavapTask.diagnosticListener:Ljavax/tools/DiagnosticListener;
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.fileManager:Ljavax/tools/JavaFileManager;
ifnonnull 9
8: aload 0
aload 0
aload 0
getfield com.sun.tools.javap.JavapTask.diagnosticListener:Ljavax/tools/DiagnosticListener;
aload 0
getfield com.sun.tools.javap.JavapTask.log:Ljava/io/PrintWriter;
invokevirtual com.sun.tools.javap.JavapTask.getDefaultFileManager:(Ljavax/tools/DiagnosticListener;Ljava/io/PrintWriter;)Ljavax/tools/JavaFileManager;
putfield com.sun.tools.javap.JavapTask.fileManager:Ljavax/tools/JavaFileManager;
9: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
start local 3 10: aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 11
iconst_0
goto 12
StackMap locals: java.util.Iterator
StackMap stack:
11: iconst_1
StackMap locals:
StackMap stack: int
12: istore 4
start local 4 13: goto 26
14: StackMap locals: int
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 15: aload 5
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 17
16: aload 0
aload 5
aload 3
invokevirtual com.sun.tools.javap.JavapTask.handleOption:(Ljava/lang/String;Ljava/util/Iterator;)V
goto 26
17: StackMap locals: java.lang.String
StackMap stack:
iload 2
ifeq 25
18: aload 0
getfield com.sun.tools.javap.JavapTask.classes:Ljava/util/List;
ifnonnull 20
19: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.tools.javap.JavapTask.classes:Ljava/util/List;
20: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.classes:Ljava/util/List;
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
21: goto 23
22: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.classes:Ljava/util/List;
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
23: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 22
24: goto 26
25: StackMap locals:
StackMap stack:
new com.sun.tools.javap.JavapTask$BadArgs
dup
aload 0
ldc "err.unknown.option"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokespecial com.sun.tools.javap.JavapTask$BadArgs.<init>:(Lcom/sun/tools/javap/JavapTask;Ljava/lang/String;[Ljava/lang/Object;)V
iconst_1
invokevirtual com.sun.tools.javap.JavapTask$BadArgs.showUsage:(Z)Lcom/sun/tools/javap/JavapTask$BadArgs;
athrow
end local 5 26: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
27: aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.accessOptions:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
iconst_1
if_icmple 36
28: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 29: aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.accessOptions:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 34
StackMap locals: com.sun.tools.javap.JavapTask java.lang.Iterable int java.util.Iterator int java.lang.StringBuilder top java.util.Iterator
StackMap stack:
30: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 31: aload 5
invokevirtual java.lang.StringBuilder.length:()I
ifle 33
32: aload 5
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
33: StackMap locals: com.sun.tools.javap.JavapTask java.lang.Iterable int java.util.Iterator int java.lang.StringBuilder java.lang.String java.util.Iterator
StackMap stack:
aload 5
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 6 34: StackMap locals: com.sun.tools.javap.JavapTask java.lang.Iterable int java.util.Iterator int java.lang.StringBuilder top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 30
35: new com.sun.tools.javap.JavapTask$BadArgs
dup
aload 0
ldc "err.incompatible.options"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokespecial com.sun.tools.javap.JavapTask$BadArgs.<init>:(Lcom/sun/tools/javap/JavapTask;Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 5 36: StackMap locals: com.sun.tools.javap.JavapTask java.lang.Iterable int java.util.Iterator int
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.classes:Ljava/util/List;
ifnull 37
aload 0
getfield com.sun.tools.javap.JavapTask.classes:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifne 39
37: StackMap locals:
StackMap stack:
iload 4
ifne 39
aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.help:Z
ifne 39
aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.version:Z
ifne 39
aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.fullVersion:Z
ifne 39
38: new com.sun.tools.javap.JavapTask$BadArgs
dup
aload 0
ldc "err.no.classes.specified"
iconst_0
anewarray java.lang.Object
invokespecial com.sun.tools.javap.JavapTask$BadArgs.<init>:(Lcom/sun/tools/javap/JavapTask;Ljava/lang/String;[Ljava/lang/Object;)V
athrow
39: StackMap locals:
StackMap stack:
iload 4
ifne 40
aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.help:Z
ifeq 41
40: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.tools.javap.JavapTask.showHelp:()V
41: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.version:Z
ifne 42
aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.fullVersion:Z
ifeq 43
42: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.fullVersion:Z
invokevirtual com.sun.tools.javap.JavapTask.showVersion:(Z)V
43: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lcom/sun/tools/javap/JavapTask;
0 44 1 args Ljava/lang/Iterable<Ljava/lang/String;>;
0 44 2 allowClasses Z
10 44 3 iter Ljava/util/Iterator<Ljava/lang/String;>;
13 44 4 noArgs Z
15 26 5 arg Ljava/lang/String;
29 36 5 sb Ljava/lang/StringBuilder;
31 34 6 opt Ljava/lang/String;
Exceptions:
throws com.sun.tools.javap.JavapTask$BadArgs
Signature: (Ljava/lang/Iterable<Ljava/lang/String;>;Z)V
MethodParameters:
Name Flags
args
allowClasses
private void handleOption(java.lang.String, java.util.Iterator<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/Iterator;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.tools.javap.JavapTask.recognizedOptions:[Lcom/sun/tools/javap/JavapTask$Option;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 14
StackMap locals: com.sun.tools.javap.JavapTask java.lang.String java.util.Iterator top int int com.sun.tools.javap.JavapTask$Option[]
StackMap stack:
1: aload 6
iload 4
aaload
astore 3
start local 3 2: aload 3
aload 1
invokevirtual com.sun.tools.javap.JavapTask$Option.matches:(Ljava/lang/String;)Z
ifeq 13
3: aload 3
getfield com.sun.tools.javap.JavapTask$Option.hasArg:Z
ifeq 7
4: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 6
5: aload 3
aload 0
aload 1
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual com.sun.tools.javap.JavapTask$Option.process:(Lcom/sun/tools/javap/JavapTask;Ljava/lang/String;Ljava/lang/String;)V
goto 8
6: StackMap locals: com.sun.tools.javap.JavapTask java.lang.String java.util.Iterator com.sun.tools.javap.JavapTask$Option int int com.sun.tools.javap.JavapTask$Option[]
StackMap stack:
new com.sun.tools.javap.JavapTask$BadArgs
dup
aload 0
ldc "err.missing.arg"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokespecial com.sun.tools.javap.JavapTask$BadArgs.<init>:(Lcom/sun/tools/javap/JavapTask;Ljava/lang/String;[Ljava/lang/Object;)V
iconst_1
invokevirtual com.sun.tools.javap.JavapTask$BadArgs.showUsage:(Z)Lcom/sun/tools/javap/JavapTask$BadArgs;
athrow
7: StackMap locals:
StackMap stack:
aload 3
aload 0
aload 1
aconst_null
invokevirtual com.sun.tools.javap.JavapTask$Option.process:(Lcom/sun/tools/javap/JavapTask;Ljava/lang/String;Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.sun.tools.javap.JavapTask$Option.ignoreRest:()Z
ifeq 12
9: goto 11
10: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
pop
11: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
12: StackMap locals:
StackMap stack:
return
end local 3 13: StackMap locals: com.sun.tools.javap.JavapTask java.lang.String java.util.Iterator top int int com.sun.tools.javap.JavapTask$Option[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
14: iload 4
iload 5
if_icmplt 1
15: aload 0
getfield com.sun.tools.javap.JavapTask.fileManager:Ljavax/tools/JavaFileManager;
aload 1
aload 2
invokeinterface javax.tools.JavaFileManager.handleOption:(Ljava/lang/String;Ljava/util/Iterator;)Z
ifeq 19
16: return
17: StackMap locals: com.sun.tools.javap.JavapTask java.lang.String java.util.Iterator
StackMap stack: java.lang.IllegalArgumentException
pop
18: new com.sun.tools.javap.JavapTask$BadArgs
dup
aload 0
ldc "err.invalid.use.of.option"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokespecial com.sun.tools.javap.JavapTask$BadArgs.<init>:(Lcom/sun/tools/javap/JavapTask;Ljava/lang/String;[Ljava/lang/Object;)V
iconst_1
invokevirtual com.sun.tools.javap.JavapTask$BadArgs.showUsage:(Z)Lcom/sun/tools/javap/JavapTask$BadArgs;
athrow
19: StackMap locals:
StackMap stack:
new com.sun.tools.javap.JavapTask$BadArgs
dup
aload 0
ldc "err.unknown.option"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokespecial com.sun.tools.javap.JavapTask$BadArgs.<init>:(Lcom/sun/tools/javap/JavapTask;Ljava/lang/String;[Ljava/lang/Object;)V
iconst_1
invokevirtual com.sun.tools.javap.JavapTask$BadArgs.showUsage:(Z)Lcom/sun/tools/javap/JavapTask$BadArgs;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/tools/javap/JavapTask;
0 20 1 name Ljava/lang/String;
0 20 2 rest Ljava/util/Iterator<Ljava/lang/String;>;
2 13 3 o Lcom/sun/tools/javap/JavapTask$Option;
Exception table:
from to target type
15 16 17 Class java.lang.IllegalArgumentException
Exceptions:
throws com.sun.tools.javap.JavapTask$BadArgs
Signature: (Ljava/lang/String;Ljava/util/Iterator<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
name
rest
public java.lang.Boolean call();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.javap.JavapTask.run:()I
ifne 1
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
StackMap locals:
StackMap stack:
1: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/JavapTask;
public int run();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javap.JavapTask.classes:Ljava/util/List;
ifnull 1
aload 0
getfield com.sun.tools.javap.JavapTask.classes:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
ldc Ljava/io/PrintWriter;
aload 0
getfield com.sun.tools.javap.JavapTask.log:Ljava/io/PrintWriter;
invokevirtual com.sun.tools.javap.Context.put:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
invokestatic com.sun.tools.javap.ClassWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/ClassWriter;
astore 1
start local 1 4: aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
invokestatic com.sun.tools.javap.SourceWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/SourceWriter;
astore 2
start local 2 5: aload 2
aload 0
getfield com.sun.tools.javap.JavapTask.fileManager:Ljavax/tools/JavaFileManager;
invokevirtual com.sun.tools.javap.SourceWriter.setFileManager:(Ljavax/tools/JavaFileManager;)V
6: aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.moduleName:Ljava/lang/String;
ifnull 14
7: aload 0
aload 0
aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.moduleName:Ljava/lang/String;
invokevirtual com.sun.tools.javap.JavapTask.findModule:(Ljava/lang/String;)Ljavax/tools/JavaFileManager$Location;
putfield com.sun.tools.javap.JavapTask.moduleLocation:Ljavax/tools/JavaFileManager$Location;
8: aload 0
getfield com.sun.tools.javap.JavapTask.moduleLocation:Ljavax/tools/JavaFileManager$Location;
ifnonnull 14
9: aload 0
ldc "err.cant.find.module"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.moduleName:Ljava/lang/String;
aastore
invokevirtual com.sun.tools.javap.JavapTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
10: iconst_1
ireturn
11: StackMap locals: com.sun.tools.javap.JavapTask com.sun.tools.javap.ClassWriter com.sun.tools.javap.SourceWriter
StackMap stack: java.io.IOException
astore 3
start local 3 12: aload 0
ldc "err.cant.find.module.ex"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.moduleName:Ljava/lang/String;
aastore
dup
iconst_1
aload 3
aastore
invokevirtual com.sun.tools.javap.JavapTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
13: iconst_1
ireturn
end local 3 14: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 15: aload 0
getfield com.sun.tools.javap.JavapTask.classes:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 54
StackMap locals: com.sun.tools.javap.JavapTask com.sun.tools.javap.ClassWriter com.sun.tools.javap.SourceWriter int top java.util.Iterator
StackMap stack:
16: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 17: aload 0
aload 1
aload 4
invokevirtual com.sun.tools.javap.JavapTask.writeClass:(Lcom/sun/tools/javap/ClassWriter;Ljava/lang/String;)I
istore 3
18: goto 54
StackMap locals: com.sun.tools.javap.JavapTask com.sun.tools.javap.ClassWriter com.sun.tools.javap.SourceWriter int java.lang.String java.util.Iterator
StackMap stack: com.sun.tools.classfile.ConstantPoolException
19: astore 6
start local 6 20: aload 0
ldc "err.bad.constant.pool"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 6
invokevirtual com.sun.tools.classfile.ConstantPoolException.getLocalizedMessage:()Ljava/lang/String;
aastore
invokevirtual com.sun.tools.javap.JavapTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
21: iconst_1
istore 3
end local 6 22: goto 54
23: StackMap locals:
StackMap stack: java.io.EOFException
pop
24: aload 0
ldc "err.end.of.file"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokevirtual com.sun.tools.javap.JavapTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
25: iconst_1
istore 3
goto 54
26: StackMap locals:
StackMap stack: java.io.IOException
astore 6
start local 6 27: aload 0
ldc "err.file.not.found"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
invokevirtual java.io.IOException.getLocalizedMessage:()Ljava/lang/String;
aastore
invokevirtual com.sun.tools.javap.JavapTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
28: iconst_1
istore 3
end local 6 29: goto 54
30: StackMap locals:
StackMap stack: java.io.IOException
astore 6
start local 6 31: aload 6
invokevirtual java.io.IOException.getLocalizedMessage:()Ljava/lang/String;
astore 7
start local 7 32: aload 7
ifnonnull 34
33: aload 6
astore 7
34: StackMap locals: java.io.IOException java.lang.Object
StackMap stack:
aload 0
ldc "err.ioerror"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 7
aastore
invokevirtual com.sun.tools.javap.JavapTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
35: iconst_1
istore 3
end local 7 end local 6 36: goto 54
37: StackMap locals: com.sun.tools.javap.JavapTask com.sun.tools.javap.ClassWriter com.sun.tools.javap.SourceWriter int java.lang.String java.util.Iterator
StackMap stack: java.lang.OutOfMemoryError
pop
38: aload 0
ldc "err.nomem"
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.javap.JavapTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
39: iconst_1
istore 3
goto 54
40: StackMap locals:
StackMap stack: com.sun.tools.classfile.FatalError
astore 6
start local 6 41: aload 6
invokevirtual com.sun.tools.classfile.FatalError.getLocalizedMessage:()Ljava/lang/String;
astore 7
start local 7 42: aload 7
ifnonnull 44
43: aload 6
astore 7
44: StackMap locals: com.sun.tools.classfile.FatalError java.lang.Object
StackMap stack:
aload 0
ldc "err.fatal.err"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
invokevirtual com.sun.tools.javap.JavapTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
45: iconst_1
istore 3
end local 7 end local 6 46: goto 54
47: StackMap locals: com.sun.tools.javap.JavapTask com.sun.tools.javap.ClassWriter com.sun.tools.javap.SourceWriter int java.lang.String java.util.Iterator
StackMap stack: java.lang.Throwable
astore 6
start local 6 48: new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
astore 7
start local 7 49: new java.io.PrintWriter
dup
aload 7
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
astore 8
start local 8 50: aload 6
aload 8
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintWriter;)V
51: aload 8
invokevirtual java.io.PrintWriter.close:()V
52: aload 0
ldc "err.crash"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 6
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
aastore
dup
iconst_1
aload 7
invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
aastore
invokevirtual com.sun.tools.javap.JavapTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
53: iconst_4
istore 3
end local 8 end local 7 end local 6 end local 4 54: StackMap locals: com.sun.tools.javap.JavapTask com.sun.tools.javap.ClassWriter com.sun.tools.javap.SourceWriter int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
55: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 56 0 this Lcom/sun/tools/javap/JavapTask;
4 56 1 classWriter Lcom/sun/tools/javap/ClassWriter;
5 56 2 sourceWriter Lcom/sun/tools/javap/SourceWriter;
12 14 3 e Ljava/io/IOException;
15 56 3 result I
17 54 4 className Ljava/lang/String;
20 22 6 e Lcom/sun/tools/classfile/ConstantPoolException;
27 29 6 e Ljava/io/IOException;
31 36 6 e Ljava/io/IOException;
32 36 7 msg Ljava/lang/Object;
41 46 6 e Lcom/sun/tools/classfile/FatalError;
42 46 7 msg Ljava/lang/Object;
48 54 6 t Ljava/lang/Throwable;
49 54 7 sw Ljava/io/StringWriter;
50 54 8 pw Ljava/io/PrintWriter;
Exception table:
from to target type
7 10 11 Class java.io.IOException
17 18 19 Class com.sun.tools.classfile.ConstantPoolException
17 18 23 Class java.io.EOFException
17 18 26 Class java.io.FileNotFoundException
17 18 26 Class java.nio.file.NoSuchFileException
17 18 30 Class java.io.IOException
17 18 37 Class java.lang.OutOfMemoryError
17 18 40 Class com.sun.tools.classfile.FatalError
17 18 47 Class java.lang.Throwable
protected int writeClass(com.sun.tools.javap.ClassWriter, java.lang.String);
descriptor: (Lcom/sun/tools/javap/ClassWriter;Ljava/lang/String;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=16, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual com.sun.tools.javap.JavapTask.open:(Ljava/lang/String;)Ljavax/tools/JavaFileObject;
astore 3
start local 3 1: aload 3
ifnonnull 4
2: aload 0
ldc "err.class.not.found"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual com.sun.tools.javap.JavapTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
3: iconst_1
ireturn
4: StackMap locals: javax.tools.JavaFileObject
StackMap stack:
aload 0
aload 3
invokevirtual com.sun.tools.javap.JavapTask.read:(Ljavax/tools/JavaFileObject;)Lcom/sun/tools/javap/JavapTask$ClassFileInfo;
astore 4
start local 4 5: aload 2
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 13
6: aload 4
getfield com.sun.tools.javap.JavapTask$ClassFileInfo.cf:Lcom/sun/tools/classfile/ClassFile;
getfield com.sun.tools.classfile.ClassFile.this_class:I
ifne 10
7: aload 2
ldc "module-info"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
8: aload 0
ldc "warn.unexpected.class"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 3
invokeinterface javax.tools.JavaFileObject.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2
aastore
invokevirtual com.sun.tools.javap.JavapTask.reportWarning:(Ljava/lang/String;[Ljava/lang/Object;)V
9: goto 13
10: StackMap locals: com.sun.tools.javap.JavapTask$ClassFileInfo
StackMap stack:
aload 4
getfield com.sun.tools.javap.JavapTask$ClassFileInfo.cf:Lcom/sun/tools/classfile/ClassFile;
invokevirtual com.sun.tools.classfile.ClassFile.getName:()Ljava/lang/String;
astore 5
start local 5 11: aload 5
ldc "[/$]"
ldc "."
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aload 2
ldc "[/$]"
ldc "."
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
12: aload 0
ldc "warn.unexpected.class"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 3
invokeinterface javax.tools.JavaFileObject.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2
aastore
invokevirtual com.sun.tools.javap.JavapTask.reportWarning:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 5 13: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual com.sun.tools.javap.JavapTask.write:(Lcom/sun/tools/javap/JavapTask$ClassFileInfo;)V
14: aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.showInnerClasses:Z
ifeq 44
15: aload 4
getfield com.sun.tools.javap.JavapTask$ClassFileInfo.cf:Lcom/sun/tools/classfile/ClassFile;
astore 5
start local 5 16: aload 5
ldc "InnerClasses"
invokevirtual com.sun.tools.classfile.ClassFile.getAttribute:(Ljava/lang/String;)Lcom/sun/tools/classfile/Attribute;
astore 6
start local 6 17: aload 6
instanceof com.sun.tools.classfile.InnerClasses_attribute
ifeq 41
18: aload 6
checkcast com.sun.tools.classfile.InnerClasses_attribute
astore 7
start local 7 19: iconst_0
istore 8
start local 8 20: iconst_0
istore 9
start local 9 21: goto 35
22: StackMap locals: com.sun.tools.javap.JavapTask com.sun.tools.javap.ClassWriter java.lang.String javax.tools.JavaFileObject com.sun.tools.javap.JavapTask$ClassFileInfo com.sun.tools.classfile.ClassFile com.sun.tools.classfile.Attribute com.sun.tools.classfile.InnerClasses_attribute int int
StackMap stack:
aload 7
getfield com.sun.tools.classfile.InnerClasses_attribute.classes:[Lcom/sun/tools/classfile/InnerClasses_attribute$Info;
iload 9
aaload
getfield com.sun.tools.classfile.InnerClasses_attribute$Info.outer_class_info_index:I
istore 10
start local 10 23: aload 5
getfield com.sun.tools.classfile.ClassFile.constant_pool:Lcom/sun/tools/classfile/ConstantPool;
iload 10
invokevirtual com.sun.tools.classfile.ConstantPool.getClassInfo:(I)Lcom/sun/tools/classfile/ConstantPool$CONSTANT_Class_info;
astore 11
start local 11 24: aload 11
invokevirtual com.sun.tools.classfile.ConstantPool$CONSTANT_Class_info.getName:()Ljava/lang/String;
astore 12
start local 12 25: aload 12
aload 5
invokevirtual com.sun.tools.classfile.ClassFile.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 34
26: aload 7
getfield com.sun.tools.classfile.InnerClasses_attribute.classes:[Lcom/sun/tools/classfile/InnerClasses_attribute$Info;
iload 9
aaload
getfield com.sun.tools.classfile.InnerClasses_attribute$Info.inner_class_info_index:I
istore 13
start local 13 27: aload 5
getfield com.sun.tools.classfile.ClassFile.constant_pool:Lcom/sun/tools/classfile/ConstantPool;
iload 13
invokevirtual com.sun.tools.classfile.ConstantPool.getClassInfo:(I)Lcom/sun/tools/classfile/ConstantPool$CONSTANT_Class_info;
astore 14
start local 14 28: aload 14
invokevirtual com.sun.tools.classfile.ConstantPool$CONSTANT_Class_info.getName:()Ljava/lang/String;
astore 15
start local 15 29: aload 1
new java.lang.StringBuilder
dup
ldc "// inner class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 15
ldc "[/$]"
ldc "."
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.javap.ClassWriter.println:(Ljava/lang/String;)V
30: aload 1
invokevirtual com.sun.tools.javap.ClassWriter.println:()V
31: aload 0
aload 1
aload 15
invokevirtual com.sun.tools.javap.JavapTask.writeClass:(Lcom/sun/tools/javap/ClassWriter;Ljava/lang/String;)I
istore 8
32: iload 8
ifeq 34
iload 8
33: ireturn
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 34: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
35: iload 9
aload 7
getfield com.sun.tools.classfile.InnerClasses_attribute.classes:[Lcom/sun/tools/classfile/InnerClasses_attribute$Info;
arraylength
if_icmplt 22
end local 9 36: iload 8
37: ireturn
end local 8 38: StackMap locals: com.sun.tools.javap.JavapTask com.sun.tools.javap.ClassWriter java.lang.String javax.tools.JavaFileObject com.sun.tools.javap.JavapTask$ClassFileInfo com.sun.tools.classfile.ClassFile com.sun.tools.classfile.Attribute com.sun.tools.classfile.InnerClasses_attribute
StackMap stack: com.sun.tools.classfile.ConstantPoolException
pop
39: aload 0
ldc "err.bad.innerclasses.attribute"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual com.sun.tools.javap.JavapTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
40: iconst_1
ireturn
end local 7 41: StackMap locals:
StackMap stack:
aload 6
ifnull 44
42: aload 0
ldc "err.bad.innerclasses.attribute"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual com.sun.tools.javap.JavapTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
43: iconst_1
ireturn
end local 6 end local 5 44: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lcom/sun/tools/javap/JavapTask;
0 45 1 classWriter Lcom/sun/tools/javap/ClassWriter;
0 45 2 className Ljava/lang/String;
1 45 3 fo Ljavax/tools/JavaFileObject;
5 45 4 cfInfo Lcom/sun/tools/javap/JavapTask$ClassFileInfo;
11 13 5 cfName Ljava/lang/String;
16 44 5 cf Lcom/sun/tools/classfile/ClassFile;
17 44 6 a Lcom/sun/tools/classfile/Attribute;
19 41 7 inners Lcom/sun/tools/classfile/InnerClasses_attribute;
20 38 8 result I
21 36 9 i I
23 34 10 outerIndex I
24 34 11 outerClassInfo Lcom/sun/tools/classfile/ConstantPool$CONSTANT_Class_info;
25 34 12 outerClassName Ljava/lang/String;
27 34 13 innerIndex I
28 34 14 innerClassInfo Lcom/sun/tools/classfile/ConstantPool$CONSTANT_Class_info;
29 34 15 innerClassName Ljava/lang/String;
Exception table:
from to target type
19 33 38 Class com.sun.tools.classfile.ConstantPoolException
34 37 38 Class com.sun.tools.classfile.ConstantPoolException
Exceptions:
throws java.io.IOException, com.sun.tools.classfile.ConstantPoolException
MethodParameters:
Name Flags
classWriter
className
protected javax.tools.JavaFileObject open(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/tools/JavaFileObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.javap.JavapTask.getClassFileObject:(Ljava/lang/String;)Ljavax/tools/JavaFileObject;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
areturn
3: StackMap locals: javax.tools.JavaFileObject
StackMap stack:
aload 1
astore 3
start local 3 4: goto 9
start local 4 5: StackMap locals: java.lang.String int
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "$"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
6: aload 0
aload 3
invokevirtual com.sun.tools.javap.JavapTask.getClassFileObject:(Ljava/lang/String;)Ljavax/tools/JavaFileObject;
astore 2
7: aload 2
ifnull 9
8: aload 2
areturn
end local 4 9: StackMap locals:
StackMap stack:
aload 3
ldc "."
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
dup
istore 4
start local 4 10: iconst_m1
if_icmpne 5
11: aload 1
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 13
12: aconst_null
areturn
13: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.fileManager:Ljavax/tools/JavaFileManager;
instanceof javax.tools.StandardJavaFileManager
ifeq 20
14: aload 0
getfield com.sun.tools.javap.JavapTask.fileManager:Ljavax/tools/JavaFileManager;
checkcast javax.tools.StandardJavaFileManager
astore 5
start local 5 15: aload 5
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
invokeinterface javax.tools.StandardJavaFileManager.getJavaFileObjects:([Ljava/lang/String;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.tools.JavaFileObject
astore 2
16: aload 2
ifnull 20
aload 2
invokeinterface javax.tools.JavaFileObject.getLastModified:()J
lconst_0
lcmp
ifeq 20
17: aload 2
18: areturn
19: StackMap locals: com.sun.tools.javap.JavapTask java.lang.String javax.tools.JavaFileObject java.lang.String int javax.tools.StandardJavaFileManager
StackMap stack: java.lang.IllegalArgumentException
pop
end local 5 20: StackMap locals:
StackMap stack:
aload 1
ldc "^[A-Za-z]+:.*"
invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
ifeq 28
21: new java.net.URI
dup
aload 1
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
astore 5
start local 5 22: aload 5
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 6
start local 6 23: aload 6
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
astore 7
start local 7 24: aload 7
iconst_0
invokevirtual java.net.URLConnection.setUseCaches:(Z)V
25: new com.sun.tools.javap.JavapTask$21
dup
aload 0
aload 5
aload 7
invokespecial com.sun.tools.javap.JavapTask$21.<init>:(Lcom/sun/tools/javap/JavapTask;Ljava/net/URI;Ljava/net/URLConnection;)V
26: areturn
end local 7 end local 6 end local 5 27: StackMap locals:
StackMap stack: java.lang.Exception
pop
28: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/tools/javap/JavapTask;
0 29 1 className Ljava/lang/String;
1 29 2 fo Ljavax/tools/JavaFileObject;
4 29 3 cn Ljava/lang/String;
5 9 4 lastDot I
10 29 4 lastDot I
15 20 5 sfm Ljavax/tools/StandardJavaFileManager;
22 27 5 uri Ljava/net/URI;
23 27 6 url Ljava/net/URL;
24 27 7 conn Ljava/net/URLConnection;
Exception table:
from to target type
15 18 19 Class java.lang.IllegalArgumentException
21 26 27 Class java.net.URISyntaxException
21 26 27 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
className
public com.sun.tools.javap.JavapTask$ClassFileInfo read(javax.tools.JavaFileObject);
descriptor: (Ljavax/tools/JavaFileObject;)Lcom/sun/tools/javap/JavapTask$ClassFileInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.tools.JavaFileObject.openInputStream:()Ljava/io/InputStream;
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.sysInfo:Z
ifne 4
aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.verbose:Z
ifeq 9
4: StackMap locals: java.io.InputStream com.sun.tools.javap.JavapTask$SizeInputStream java.security.MessageDigest
StackMap stack:
ldc "SHA-256"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
astore 4
5: goto 7
StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
6: pop
7: StackMap locals:
StackMap stack:
new java.security.DigestInputStream
dup
aload 2
aload 4
invokespecial java.security.DigestInputStream.<init>:(Ljava/io/InputStream;Ljava/security/MessageDigest;)V
astore 2
8: new com.sun.tools.javap.JavapTask$SizeInputStream
dup
aload 2
invokespecial com.sun.tools.javap.JavapTask$SizeInputStream.<init>:(Ljava/io/InputStream;)V
dup
astore 3
astore 2
9: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield com.sun.tools.javap.JavapTask.attributeFactory:Lcom/sun/tools/classfile/Attribute$Factory;
invokestatic com.sun.tools.classfile.ClassFile.read:(Ljava/io/InputStream;Lcom/sun/tools/classfile/Attribute$Factory;)Lcom/sun/tools/classfile/ClassFile;
astore 5
start local 5 10: aload 4
ifnonnull 11
aconst_null
goto 12
StackMap locals: com.sun.tools.classfile.ClassFile
StackMap stack:
11: aload 4
invokevirtual java.security.MessageDigest.digest:()[B
StackMap locals:
StackMap stack: byte[]
12: astore 6
start local 6 13: aload 3
ifnonnull 14
iconst_m1
goto 15
StackMap locals: byte[]
StackMap stack:
14: aload 3
invokevirtual com.sun.tools.javap.JavapTask$SizeInputStream.size:()I
StackMap locals:
StackMap stack: int
15: istore 7
start local 7 16: new com.sun.tools.javap.JavapTask$ClassFileInfo
dup
aload 1
aload 5
aload 6
iload 7
invokespecial com.sun.tools.javap.JavapTask$ClassFileInfo.<init>:(Ljavax/tools/JavaFileObject;Lcom/sun/tools/classfile/ClassFile;[BI)V
astore 9
17: aload 2
invokevirtual java.io.InputStream.close:()V
18: aload 9
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 19: StackMap locals: com.sun.tools.javap.JavapTask javax.tools.JavaFileObject java.io.InputStream
StackMap stack: java.lang.Throwable
astore 8
20: aload 2
invokevirtual java.io.InputStream.close:()V
21: aload 8
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/tools/javap/JavapTask;
0 22 1 fo Ljavax/tools/JavaFileObject;
1 22 2 in Ljava/io/InputStream;
2 19 3 sizeIn Lcom/sun/tools/javap/JavapTask$SizeInputStream;
3 19 4 md Ljava/security/MessageDigest;
10 19 5 cf Lcom/sun/tools/classfile/ClassFile;
13 19 6 digest [B
16 19 7 size I
Exception table:
from to target type
4 5 6 Class java.security.NoSuchAlgorithmException
1 17 19 any
Exceptions:
throws java.io.IOException, com.sun.tools.classfile.ConstantPoolException
MethodParameters:
Name Flags
fo
public void write(com.sun.tools.javap.JavapTask$ClassFileInfo);
descriptor: (Lcom/sun/tools/javap/JavapTask$ClassFileInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
invokestatic com.sun.tools.javap.ClassWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/ClassWriter;
astore 2
start local 2 1: aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.sysInfo:Z
ifne 2
aload 0
getfield com.sun.tools.javap.JavapTask.options:Lcom/sun/tools/javap/Options;
getfield com.sun.tools.javap.Options.verbose:Z
ifeq 6
2: StackMap locals: com.sun.tools.javap.ClassWriter
StackMap stack:
aload 2
aload 1
getfield com.sun.tools.javap.JavapTask$ClassFileInfo.fo:Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.toUri:()Ljava/net/URI;
invokevirtual com.sun.tools.javap.ClassWriter.setFile:(Ljava/net/URI;)V
3: aload 2
aload 1
getfield com.sun.tools.javap.JavapTask$ClassFileInfo.fo:Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.getLastModified:()J
invokevirtual com.sun.tools.javap.ClassWriter.setLastModified:(J)V
4: aload 2
ldc "SHA-256"
aload 1
getfield com.sun.tools.javap.JavapTask$ClassFileInfo.digest:[B
invokevirtual com.sun.tools.javap.ClassWriter.setDigest:(Ljava/lang/String;[B)V
5: aload 2
aload 1
getfield com.sun.tools.javap.JavapTask$ClassFileInfo.size:I
invokevirtual com.sun.tools.javap.ClassWriter.setFileSize:(I)V
6: StackMap locals:
StackMap stack:
aload 2
aload 1
getfield com.sun.tools.javap.JavapTask$ClassFileInfo.cf:Lcom/sun/tools/classfile/ClassFile;
invokevirtual com.sun.tools.javap.ClassWriter.write:(Lcom/sun/tools/classfile/ClassFile;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/javap/JavapTask;
0 8 1 info Lcom/sun/tools/javap/JavapTask$ClassFileInfo;
1 8 2 classWriter Lcom/sun/tools/javap/ClassWriter;
MethodParameters:
Name Flags
info
protected void setClassFile(com.sun.tools.classfile.ClassFile);
descriptor: (Lcom/sun/tools/classfile/ClassFile;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
invokestatic com.sun.tools.javap.ClassWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/ClassWriter;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual com.sun.tools.javap.ClassWriter.setClassFile:(Lcom/sun/tools/classfile/ClassFile;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javap/JavapTask;
0 3 1 classFile Lcom/sun/tools/classfile/ClassFile;
1 3 2 classWriter Lcom/sun/tools/javap/ClassWriter;
MethodParameters:
Name Flags
classFile
protected void setMethod(com.sun.tools.classfile.Method);
descriptor: (Lcom/sun/tools/classfile/Method;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
invokestatic com.sun.tools.javap.ClassWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/ClassWriter;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual com.sun.tools.javap.ClassWriter.setMethod:(Lcom/sun/tools/classfile/Method;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javap/JavapTask;
0 3 1 enclosingMethod Lcom/sun/tools/classfile/Method;
1 3 2 classWriter Lcom/sun/tools/javap/ClassWriter;
MethodParameters:
Name Flags
enclosingMethod
protected void write(com.sun.tools.classfile.Attribute);
descriptor: (Lcom/sun/tools/classfile/Attribute;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
invokestatic com.sun.tools.javap.AttributeWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/AttributeWriter;
astore 2
start local 2 1: aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
invokestatic com.sun.tools.javap.ClassWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/ClassWriter;
astore 3
start local 3 2: aload 3
invokevirtual com.sun.tools.javap.ClassWriter.getClassFile:()Lcom/sun/tools/classfile/ClassFile;
astore 4
start local 4 3: aload 2
aload 4
aload 1
aload 4
getfield com.sun.tools.classfile.ClassFile.constant_pool:Lcom/sun/tools/classfile/ConstantPool;
invokevirtual com.sun.tools.javap.AttributeWriter.write:(Ljava/lang/Object;Lcom/sun/tools/classfile/Attribute;Lcom/sun/tools/classfile/ConstantPool;)V
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javap/JavapTask;
0 5 1 value Lcom/sun/tools/classfile/Attribute;
1 5 2 attrWriter Lcom/sun/tools/javap/AttributeWriter;
2 5 3 classWriter Lcom/sun/tools/javap/ClassWriter;
3 5 4 cf Lcom/sun/tools/classfile/ClassFile;
MethodParameters:
Name Flags
value
protected void write(com.sun.tools.classfile.Attributes);
descriptor: (Lcom/sun/tools/classfile/Attributes;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
invokestatic com.sun.tools.javap.AttributeWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/AttributeWriter;
astore 2
start local 2 1: aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
invokestatic com.sun.tools.javap.ClassWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/ClassWriter;
astore 3
start local 3 2: aload 3
invokevirtual com.sun.tools.javap.ClassWriter.getClassFile:()Lcom/sun/tools/classfile/ClassFile;
astore 4
start local 4 3: aload 2
aload 4
aload 1
aload 4
getfield com.sun.tools.classfile.ClassFile.constant_pool:Lcom/sun/tools/classfile/ConstantPool;
invokevirtual com.sun.tools.javap.AttributeWriter.write:(Ljava/lang/Object;Lcom/sun/tools/classfile/Attributes;Lcom/sun/tools/classfile/ConstantPool;)V
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javap/JavapTask;
0 5 1 attrs Lcom/sun/tools/classfile/Attributes;
1 5 2 attrWriter Lcom/sun/tools/javap/AttributeWriter;
2 5 3 classWriter Lcom/sun/tools/javap/ClassWriter;
3 5 4 cf Lcom/sun/tools/classfile/ClassFile;
MethodParameters:
Name Flags
attrs
protected void write(com.sun.tools.classfile.ConstantPool);
descriptor: (Lcom/sun/tools/classfile/ConstantPool;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
invokestatic com.sun.tools.javap.ConstantWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/ConstantWriter;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual com.sun.tools.javap.ConstantWriter.writeConstantPool:(Lcom/sun/tools/classfile/ConstantPool;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javap/JavapTask;
0 3 1 constant_pool Lcom/sun/tools/classfile/ConstantPool;
1 3 2 constantWriter Lcom/sun/tools/javap/ConstantWriter;
MethodParameters:
Name Flags
constant_pool
protected void write(com.sun.tools.classfile.ConstantPool, int);
descriptor: (Lcom/sun/tools/classfile/ConstantPool;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
invokestatic com.sun.tools.javap.ConstantWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/ConstantWriter;
astore 3
start local 3 1: aload 3
iload 2
invokevirtual com.sun.tools.javap.ConstantWriter.write:(I)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javap/JavapTask;
0 3 1 constant_pool Lcom/sun/tools/classfile/ConstantPool;
0 3 2 value I
1 3 3 constantWriter Lcom/sun/tools/javap/ConstantWriter;
MethodParameters:
Name Flags
constant_pool
value
protected void write(com.sun.tools.classfile.ConstantPool$CPInfo);
descriptor: (Lcom/sun/tools/classfile/ConstantPool$CPInfo;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
invokestatic com.sun.tools.javap.ConstantWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/ConstantWriter;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual com.sun.tools.javap.ConstantWriter.println:(Ljava/lang/Object;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javap/JavapTask;
0 3 1 value Lcom/sun/tools/classfile/ConstantPool$CPInfo;
1 3 2 constantWriter Lcom/sun/tools/javap/ConstantWriter;
MethodParameters:
Name Flags
value
protected void write(com.sun.tools.classfile.Field);
descriptor: (Lcom/sun/tools/classfile/Field;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
invokestatic com.sun.tools.javap.ClassWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/ClassWriter;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual com.sun.tools.javap.ClassWriter.writeField:(Lcom/sun/tools/classfile/Field;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javap/JavapTask;
0 3 1 value Lcom/sun/tools/classfile/Field;
1 3 2 classWriter Lcom/sun/tools/javap/ClassWriter;
MethodParameters:
Name Flags
value
protected void write(com.sun.tools.classfile.Method);
descriptor: (Lcom/sun/tools/classfile/Method;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.JavapTask.context:Lcom/sun/tools/javap/Context;
invokestatic com.sun.tools.javap.ClassWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/ClassWriter;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual com.sun.tools.javap.ClassWriter.writeMethod:(Lcom/sun/tools/classfile/Method;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javap/JavapTask;
0 3 1 value Lcom/sun/tools/classfile/Method;
1 3 2 classWriter Lcom/sun/tools/javap/ClassWriter;
MethodParameters:
Name Flags
value
private javax.tools.JavaFileManager getDefaultFileManager(javax.tools.DiagnosticListener<? super javax.tools.JavaFileObject>, java.io.PrintWriter);
descriptor: (Ljavax/tools/DiagnosticListener;Ljava/io/PrintWriter;)Ljavax/tools/JavaFileManager;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javap.JavapTask.defaultFileManager:Ljavax/tools/JavaFileManager;
ifnonnull 2
1: aload 0
aload 1
aload 2
invokestatic com.sun.tools.javap.JavapFileManager.create:(Ljavax/tools/DiagnosticListener;Ljava/io/PrintWriter;)Lcom/sun/tools/javap/JavapFileManager;
putfield com.sun.tools.javap.JavapTask.defaultFileManager:Ljavax/tools/JavaFileManager;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.defaultFileManager:Ljavax/tools/JavaFileManager;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javap/JavapTask;
0 3 1 dl Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;
0 3 2 log Ljava/io/PrintWriter;
Signature: (Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;Ljava/io/PrintWriter;)Ljavax/tools/JavaFileManager;
MethodParameters:
Name Flags
dl final
log
private javax.tools.JavaFileObject getClassFileObject(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/tools/JavaFileObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.JavapTask.moduleLocation:Ljavax/tools/JavaFileManager$Location;
ifnull 3
1: aload 0
getfield com.sun.tools.javap.JavapTask.fileManager:Ljavax/tools/JavaFileManager;
aload 0
getfield com.sun.tools.javap.JavapTask.moduleLocation:Ljavax/tools/JavaFileManager$Location;
aload 1
getstatic javax.tools.JavaFileObject$Kind.CLASS:Ljavax/tools/JavaFileObject$Kind;
invokeinterface javax.tools.JavaFileManager.getJavaFileForInput:(Ljavax/tools/JavaFileManager$Location;Ljava/lang/String;Ljavax/tools/JavaFileObject$Kind;)Ljavax/tools/JavaFileObject;
astore 2
start local 2 2: goto 6
end local 2 3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.fileManager:Ljavax/tools/JavaFileManager;
getstatic javax.tools.StandardLocation.PLATFORM_CLASS_PATH:Ljavax/tools/StandardLocation;
aload 1
getstatic javax.tools.JavaFileObject$Kind.CLASS:Ljavax/tools/JavaFileObject$Kind;
invokeinterface javax.tools.JavaFileManager.getJavaFileForInput:(Ljavax/tools/JavaFileManager$Location;Ljava/lang/String;Ljavax/tools/JavaFileObject$Kind;)Ljavax/tools/JavaFileObject;
astore 2
start local 2 4: aload 2
ifnonnull 6
5: aload 0
getfield com.sun.tools.javap.JavapTask.fileManager:Ljavax/tools/JavaFileManager;
getstatic javax.tools.StandardLocation.CLASS_PATH:Ljavax/tools/StandardLocation;
aload 1
getstatic javax.tools.JavaFileObject$Kind.CLASS:Ljavax/tools/JavaFileObject$Kind;
invokeinterface javax.tools.JavaFileManager.getJavaFileForInput:(Ljavax/tools/JavaFileManager$Location;Ljava/lang/String;Ljavax/tools/JavaFileObject$Kind;)Ljavax/tools/JavaFileObject;
astore 2
6: StackMap locals: javax.tools.JavaFileObject
StackMap stack:
aload 2
7: areturn
end local 2 8: StackMap locals: com.sun.tools.javap.JavapTask java.lang.String
StackMap stack: java.lang.IllegalArgumentException
pop
9: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/javap/JavapTask;
0 10 1 className Ljava/lang/String;
2 3 2 fo Ljavax/tools/JavaFileObject;
4 8 2 fo Ljavax/tools/JavaFileObject;
Exception table:
from to target type
0 7 8 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
className
private javax.tools.JavaFileManager$Location findModule(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/tools/JavaFileManager$Location;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=13, args_size=2
start local 0 start local 1 0: iconst_3
anewarray javax.tools.JavaFileManager$Location
dup
iconst_0
1: getstatic javax.tools.StandardLocation.UPGRADE_MODULE_PATH:Ljavax/tools/StandardLocation;
aastore
dup
iconst_1
2: getstatic javax.tools.StandardLocation.SYSTEM_MODULES:Ljavax/tools/StandardLocation;
aastore
dup
iconst_2
3: getstatic javax.tools.StandardLocation.MODULE_PATH:Ljavax/tools/StandardLocation;
aastore
4: astore 2
start local 2 5: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 22
StackMap locals: com.sun.tools.javap.JavapTask java.lang.String javax.tools.JavaFileManager$Location[] top int int javax.tools.JavaFileManager$Location[]
StackMap stack:
6: aload 6
iload 4
aaload
astore 3
start local 3 7: aload 0
getfield com.sun.tools.javap.JavapTask.fileManager:Ljavax/tools/JavaFileManager;
aload 3
invokeinterface javax.tools.JavaFileManager.listLocationsForModules:(Ljavax/tools/JavaFileManager$Location;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 8
goto 20
StackMap locals: com.sun.tools.javap.JavapTask java.lang.String javax.tools.JavaFileManager$Location[] javax.tools.JavaFileManager$Location int int javax.tools.JavaFileManager$Location[] top java.util.Iterator
StackMap stack:
8: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Set
astore 7
start local 7 9: aconst_null
astore 9
start local 9 10: aload 7
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 11
goto 17
StackMap locals: com.sun.tools.javap.JavapTask java.lang.String javax.tools.JavaFileManager$Location[] javax.tools.JavaFileManager$Location int int javax.tools.JavaFileManager$Location[] java.util.Set java.util.Iterator javax.tools.JavaFileManager$Location top java.util.Iterator
StackMap stack:
11: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.tools.JavaFileManager$Location
astore 10
start local 10 12: aload 0
getfield com.sun.tools.javap.JavapTask.fileManager:Ljavax/tools/JavaFileManager;
aload 10
invokeinterface javax.tools.JavaFileManager.inferModuleName:(Ljavax/tools/JavaFileManager$Location;)Ljava/lang/String;
astore 12
start local 12 13: aload 12
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
14: aload 9
ifnonnull 16
15: aload 10
astore 9
goto 17
16: StackMap locals: com.sun.tools.javap.JavapTask java.lang.String javax.tools.JavaFileManager$Location[] javax.tools.JavaFileManager$Location int int javax.tools.JavaFileManager$Location[] java.util.Set java.util.Iterator javax.tools.JavaFileManager$Location javax.tools.JavaFileManager$Location java.util.Iterator java.lang.String
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "multiple definitions found for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 12 end local 10 17: StackMap locals: com.sun.tools.javap.JavapTask java.lang.String javax.tools.JavaFileManager$Location[] javax.tools.JavaFileManager$Location int int javax.tools.JavaFileManager$Location[] java.util.Set java.util.Iterator javax.tools.JavaFileManager$Location top java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
18: aload 9
ifnull 20
19: aload 9
areturn
end local 9 end local 7 20: StackMap locals: com.sun.tools.javap.JavapTask java.lang.String javax.tools.JavaFileManager$Location[] javax.tools.JavaFileManager$Location int int javax.tools.JavaFileManager$Location[] top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 3 21: iinc 4 1
StackMap locals: com.sun.tools.javap.JavapTask java.lang.String javax.tools.JavaFileManager$Location[] top int int javax.tools.JavaFileManager$Location[]
StackMap stack:
22: iload 4
iload 5
if_icmplt 6
23: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/tools/javap/JavapTask;
0 24 1 moduleName Ljava/lang/String;
5 24 2 locns [Ljavax/tools/JavaFileManager$Location;
7 21 3 segment Ljavax/tools/JavaFileManager$Location;
9 20 7 set Ljava/util/Set<Ljavax/tools/JavaFileManager$Location;>;
10 20 9 result Ljavax/tools/JavaFileManager$Location;
12 17 10 l Ljavax/tools/JavaFileManager$Location;
13 17 12 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
moduleName
private void showHelp();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=7, args_size=1
start local 0 0: aload 0
aload 0
ldc "main.usage"
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "javap"
aastore
invokevirtual com.sun.tools.javap.JavapTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.javap.JavapTask.printLines:(Ljava/lang/String;)V
1: getstatic com.sun.tools.javap.JavapTask.recognizedOptions:[Lcom/sun/tools/javap/JavapTask$Option;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 8
StackMap locals: com.sun.tools.javap.JavapTask top int int com.sun.tools.javap.JavapTask$Option[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 1
getfield com.sun.tools.javap.JavapTask$Option.aliases:[Ljava/lang/String;
iconst_0
aaload
ldc "^-+"
ldc ""
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
ldc "-+"
ldc "_"
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 4: aload 5
ldc "X"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 7
aload 5
ldc "fullversion"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: goto 7
6: StackMap locals: com.sun.tools.javap.JavapTask com.sun.tools.javap.JavapTask$Option int int com.sun.tools.javap.JavapTask$Option[] java.lang.String
StackMap stack:
aload 0
aload 0
new java.lang.StringBuilder
dup
ldc "main.opt."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.javap.JavapTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.javap.JavapTask.printLines:(Ljava/lang/String;)V
end local 5 end local 1 7: StackMap locals: com.sun.tools.javap.JavapTask top int int com.sun.tools.javap.JavapTask$Option[]
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
iload 3
if_icmplt 2
9: bipush 7
anewarray java.lang.String
dup
iconst_0
10: ldc "--module-path"
aastore
dup
iconst_1
ldc "--system"
aastore
dup
iconst_2
11: ldc "--class-path"
aastore
dup
iconst_3
ldc "-classpath"
aastore
dup
iconst_4
ldc "-cp"
aastore
dup
iconst_5
12: ldc "-bootclasspath"
aastore
dup
bipush 6
13: ldc "--multi-release"
aastore
14: astore 1
start local 1 15: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 22
StackMap locals: com.sun.tools.javap.JavapTask java.lang.String[] top int int java.lang.String[]
StackMap stack:
16: aload 5
iload 3
aaload
astore 2
start local 2 17: aload 0
getfield com.sun.tools.javap.JavapTask.fileManager:Ljavax/tools/JavaFileManager;
aload 2
invokeinterface javax.tools.JavaFileManager.isSupportedOption:(Ljava/lang/String;)I
iconst_m1
if_icmpne 19
18: goto 21
19: StackMap locals: com.sun.tools.javap.JavapTask java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack:
aload 2
ldc "^-+"
ldc ""
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
ldc "-+"
ldc "_"
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 20: aload 0
aload 0
new java.lang.StringBuilder
dup
ldc "main.opt."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.javap.JavapTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.javap.JavapTask.printLines:(Ljava/lang/String;)V
end local 6 end local 2 21: StackMap locals: com.sun.tools.javap.JavapTask java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
22: iload 3
iload 4
if_icmplt 16
23: aload 0
aload 0
ldc "main.usage.foot"
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.javap.JavapTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.javap.JavapTask.printLines:(Ljava/lang/String;)V
24: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/tools/javap/JavapTask;
3 7 1 o Lcom/sun/tools/javap/JavapTask$Option;
4 7 5 name Ljava/lang/String;
15 25 1 fmOptions [Ljava/lang/String;
17 21 2 o Ljava/lang/String;
20 21 6 name Ljava/lang/String;
private void showVersion(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
iload 1
ifeq 1
ldc "full"
goto 2
StackMap locals: com.sun.tools.javap.JavapTask int
StackMap stack: com.sun.tools.javap.JavapTask com.sun.tools.javap.JavapTask
1: ldc "release"
StackMap locals: com.sun.tools.javap.JavapTask int
StackMap stack: com.sun.tools.javap.JavapTask com.sun.tools.javap.JavapTask java.lang.String
2: invokevirtual com.sun.tools.javap.JavapTask.version:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.sun.tools.javap.JavapTask.printLines:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javap/JavapTask;
0 4 1 full Z
MethodParameters:
Name Flags
full
private void printLines(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.JavapTask.log:Ljava/io/PrintWriter;
aload 1
ldc "\n"
getstatic com.sun.tools.javap.JavapTask.nl:Ljava/lang/String;
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/JavapTask;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
private java.lang.String version(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.tools.javap.JavapTask.versionRB:Ljava/util/ResourceBundle;
ifnonnull 5
1: ldc "com.sun.tools.javap.resources.version"
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
putstatic com.sun.tools.javap.JavapTask.versionRB:Ljava/util/ResourceBundle;
2: goto 5
StackMap locals:
StackMap stack: java.util.MissingResourceException
3: pop
4: aload 0
ldc "version.resource.missing"
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "java.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aastore
invokevirtual com.sun.tools.javap.JavapTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
getstatic com.sun.tools.javap.JavapTask.versionRB:Ljava/util/ResourceBundle;
aload 1
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
6: areturn
7: StackMap locals:
StackMap stack: java.util.MissingResourceException
pop
8: aload 0
ldc "version.unknown"
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "java.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aastore
invokevirtual com.sun.tools.javap.JavapTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/javap/JavapTask;
0 9 1 key Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.util.MissingResourceException
5 6 7 Class java.util.MissingResourceException
MethodParameters:
Name Flags
key
private void reportError(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javap.JavapTask.diagnosticListener:Ljavax/tools/DiagnosticListener;
aload 0
getstatic javax.tools.Diagnostic$Kind.ERROR:Ljavax/tools/Diagnostic$Kind;
aload 1
aload 2
invokevirtual com.sun.tools.javap.JavapTask.createDiagnostic:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/String;[Ljava/lang/Object;)Ljavax/tools/Diagnostic;
invokeinterface javax.tools.DiagnosticListener.report:(Ljavax/tools/Diagnostic;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/JavapTask;
0 2 1 key Ljava/lang/String;
0 2 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
private void reportNote(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javap.JavapTask.diagnosticListener:Ljavax/tools/DiagnosticListener;
aload 0
getstatic javax.tools.Diagnostic$Kind.NOTE:Ljavax/tools/Diagnostic$Kind;
aload 1
aload 2
invokevirtual com.sun.tools.javap.JavapTask.createDiagnostic:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/String;[Ljava/lang/Object;)Ljavax/tools/Diagnostic;
invokeinterface javax.tools.DiagnosticListener.report:(Ljavax/tools/Diagnostic;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/JavapTask;
0 2 1 key Ljava/lang/String;
0 2 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
private void reportWarning(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javap.JavapTask.diagnosticListener:Ljavax/tools/DiagnosticListener;
aload 0
getstatic javax.tools.Diagnostic$Kind.WARNING:Ljavax/tools/Diagnostic$Kind;
aload 1
aload 2
invokevirtual com.sun.tools.javap.JavapTask.createDiagnostic:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/String;[Ljava/lang/Object;)Ljavax/tools/Diagnostic;
invokeinterface javax.tools.DiagnosticListener.report:(Ljavax/tools/Diagnostic;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/JavapTask;
0 2 1 key Ljava/lang/String;
0 2 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
private javax.tools.Diagnostic<javax.tools.JavaFileObject> createDiagnostic(javax.tools.Diagnostic$Kind, java.lang.String, []);
descriptor: (Ljavax/tools/Diagnostic$Kind;Ljava/lang/String;[Ljava/lang/Object;)Ljavax/tools/Diagnostic;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new com.sun.tools.javap.JavapTask$22
dup
aload 0
aload 1
aload 2
aload 3
invokespecial com.sun.tools.javap.JavapTask$22.<init>:(Lcom/sun/tools/javap/JavapTask;Ljavax/tools/Diagnostic$Kind;Ljava/lang/String;[Ljava/lang/Object;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javap/JavapTask;
0 1 1 kind Ljavax/tools/Diagnostic$Kind;
0 1 2 key Ljava/lang/String;
0 1 3 args [Ljava/lang/Object;
Signature: (Ljavax/tools/Diagnostic$Kind;Ljava/lang/String;[Ljava/lang/Object;)Ljavax/tools/Diagnostic<Ljavax/tools/JavaFileObject;>;
MethodParameters:
Name Flags
kind final
key final
args final
public java.lang.String getMessage(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield com.sun.tools.javap.JavapTask.task_locale:Ljava/util/Locale;
aload 1
aload 2
invokevirtual com.sun.tools.javap.JavapTask.getMessage:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javap/JavapTask;
0 1 1 key Ljava/lang/String;
0 1 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
public java.lang.String getMessage(java.util.Locale, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=8, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.tools.javap.JavapTask.bundles:Ljava/util/Map;
ifnonnull 2
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.javap.JavapTask.bundles:Ljava/util/Map;
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
astore 1
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javap.JavapTask.bundles:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.ResourceBundle
astore 4
start local 4 5: aload 4
ifnonnull 11
6: ldc "com.sun.tools.javap.resources.javap"
aload 1
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
astore 4
7: aload 0
getfield com.sun.tools.javap.JavapTask.bundles:Ljava/util/Map;
aload 1
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: goto 11
StackMap locals: com.sun.tools.javap.JavapTask java.util.Locale java.lang.String java.lang.Object[] java.util.ResourceBundle
StackMap stack: java.util.MissingResourceException
9: pop
10: new com.sun.tools.javap.InternalError
dup
iconst_1
anewarray java.lang.Object
dup
iconst_0
new java.lang.StringBuilder
dup
ldc "Cannot find javap resource bundle for locale "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
invokespecial com.sun.tools.javap.InternalError.<init>:([Ljava/lang/Object;)V
athrow
11: StackMap locals:
StackMap stack:
aload 4
aload 2
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
12: areturn
13: StackMap locals:
StackMap stack: java.util.MissingResourceException
astore 5
start local 5 14: new com.sun.tools.javap.InternalError
dup
aload 5
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokespecial com.sun.tools.javap.InternalError.<init>:(Ljava/lang/Throwable;[Ljava/lang/Object;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/tools/javap/JavapTask;
0 15 1 locale Ljava/util/Locale;
0 15 2 key Ljava/lang/String;
0 15 3 args [Ljava/lang/Object;
5 15 4 b Ljava/util/ResourceBundle;
14 15 5 e Ljava/util/MissingResourceException;
Exception table:
from to target type
6 8 9 Class java.util.MissingResourceException
11 12 13 Class java.util.MissingResourceException
MethodParameters:
Name Flags
locale
key
args
public java.lang.Object call();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.sun.tools.javap.JavapTask.call:()Ljava/lang/Boolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
static int[] $SWITCH_TABLE$javax$tools$Diagnostic$Kind();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.tools.javap.JavapTask.$SWITCH_TABLE$javax$tools$Diagnostic$Kind:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javax.tools.Diagnostic$Kind.values:()[Ljavax/tools/Diagnostic$Kind;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javax.tools.Diagnostic$Kind.ERROR:Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javax.tools.Diagnostic$Kind.MANDATORY_WARNING:Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javax.tools.Diagnostic$Kind.NOTE:Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iconst_4
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic javax.tools.Diagnostic$Kind.OTHER:Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iconst_5
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic javax.tools.Diagnostic$Kind.WARNING:Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iconst_2
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic com.sun.tools.javap.JavapTask.$SWITCH_TABLE$javax$tools$Diagnostic$Kind:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
private void lambda$0(java.io.PrintWriter, javax.tools.Diagnostic);
descriptor: (Ljava/io/PrintWriter;Ljavax/tools/Diagnostic;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 2 0: invokestatic com.sun.tools.javap.JavapTask.$SWITCH_TABLE$javax$tools$Diagnostic$Kind:()[I
aload 2
invokeinterface javax.tools.Diagnostic.getKind:()Ljavax/tools/Diagnostic$Kind;
invokevirtual javax.tools.Diagnostic$Kind.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 1
2: 3
3: 6
4: 5
default: 6
}
1: StackMap locals:
StackMap stack:
aload 1
aload 0
ldc "err.prefix"
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.javap.JavapTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
2: goto 6
3: StackMap locals:
StackMap stack:
aload 1
aload 0
ldc "warn.prefix"
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.javap.JavapTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 1
aload 0
ldc "note.prefix"
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.javap.JavapTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 1
ldc " "
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
7: aload 1
aload 2
aconst_null
invokeinterface javax.tools.Diagnostic.getMessage:(Ljava/util/Locale;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
8: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/javap/JavapTask;
0 9 2 diagnostic Ljavax/tools/Diagnostic<+Ljavax/tools/JavaFileObject;>;
}
SourceFile: "JavapTask.java"
NestMembers:
com.sun.tools.javap.JavapTask$1 com.sun.tools.javap.JavapTask$10 com.sun.tools.javap.JavapTask$11 com.sun.tools.javap.JavapTask$12 com.sun.tools.javap.JavapTask$13 com.sun.tools.javap.JavapTask$14 com.sun.tools.javap.JavapTask$15 com.sun.tools.javap.JavapTask$16 com.sun.tools.javap.JavapTask$17 com.sun.tools.javap.JavapTask$18 com.sun.tools.javap.JavapTask$19 com.sun.tools.javap.JavapTask$2 com.sun.tools.javap.JavapTask$20 com.sun.tools.javap.JavapTask$21 com.sun.tools.javap.JavapTask$22 com.sun.tools.javap.JavapTask$3 com.sun.tools.javap.JavapTask$4 com.sun.tools.javap.JavapTask$5 com.sun.tools.javap.JavapTask$6 com.sun.tools.javap.JavapTask$7 com.sun.tools.javap.JavapTask$8 com.sun.tools.javap.JavapTask$9 com.sun.tools.javap.JavapTask$BadArgs com.sun.tools.javap.JavapTask$ClassFileInfo com.sun.tools.javap.JavapTask$Option com.sun.tools.javap.JavapTask$SizeInputStream
InnerClasses:
public Factory = com.sun.tools.classfile.Attribute$Factory of com.sun.tools.classfile.Attribute
public CONSTANT_Class_info = com.sun.tools.classfile.ConstantPool$CONSTANT_Class_info of com.sun.tools.classfile.ConstantPool
public abstract CPInfo = com.sun.tools.classfile.ConstantPool$CPInfo of com.sun.tools.classfile.ConstantPool
public Info = com.sun.tools.classfile.InnerClasses_attribute$Info of com.sun.tools.classfile.InnerClasses_attribute
public abstract DisassemblerTask = com.sun.tools.javap.DisassemblerTool$DisassemblerTask of com.sun.tools.javap.DisassemblerTool
com.sun.tools.javap.JavapTask$1
com.sun.tools.javap.JavapTask$10
com.sun.tools.javap.JavapTask$11
com.sun.tools.javap.JavapTask$12
com.sun.tools.javap.JavapTask$13
com.sun.tools.javap.JavapTask$14
com.sun.tools.javap.JavapTask$15
com.sun.tools.javap.JavapTask$16
com.sun.tools.javap.JavapTask$17
com.sun.tools.javap.JavapTask$18
com.sun.tools.javap.JavapTask$19
com.sun.tools.javap.JavapTask$2
com.sun.tools.javap.JavapTask$20
com.sun.tools.javap.JavapTask$21
com.sun.tools.javap.JavapTask$22
com.sun.tools.javap.JavapTask$3
com.sun.tools.javap.JavapTask$4
com.sun.tools.javap.JavapTask$5
com.sun.tools.javap.JavapTask$6
com.sun.tools.javap.JavapTask$7
com.sun.tools.javap.JavapTask$8
com.sun.tools.javap.JavapTask$9
public BadArgs = com.sun.tools.javap.JavapTask$BadArgs of com.sun.tools.javap.JavapTask
public ClassFileInfo = com.sun.tools.javap.JavapTask$ClassFileInfo of com.sun.tools.javap.JavapTask
abstract Option = com.sun.tools.javap.JavapTask$Option of com.sun.tools.javap.JavapTask
private SizeInputStream = com.sun.tools.javap.JavapTask$SizeInputStream of com.sun.tools.javap.JavapTask
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Kind = javax.tools.Diagnostic$Kind of javax.tools.Diagnostic
public abstract Location = javax.tools.JavaFileManager$Location of javax.tools.JavaFileManager
public final Kind = javax.tools.JavaFileObject$Kind of javax.tools.JavaFileObject