public class sun.rmi.rmic.iiop.PrintGenerator implements sun.rmi.rmic.Generator, sun.rmi.rmic.iiop.Constants
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.rmi.rmic.iiop.PrintGenerator
super_class: java.lang.Object
{
private static final int JAVA;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int IDL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int BOTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private int whatToPrint;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean global;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean qualified;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean trace;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean valueMethods;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private sun.rmi.rmic.IndentingWriter out;
descriptor: Lsun/rmi/rmic/IndentingWriter;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.rmi.rmic.iiop.PrintGenerator.global:Z
2: aload 0
iconst_0
putfield sun.rmi.rmic.iiop.PrintGenerator.qualified:Z
3: aload 0
iconst_0
putfield sun.rmi.rmic.iiop.PrintGenerator.trace:Z
4: aload 0
iconst_0
putfield sun.rmi.rmic.iiop.PrintGenerator.valueMethods:Z
5: new java.io.OutputStreamWriter
dup
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
astore 1
start local 1 6: aload 0
new sun.rmi.rmic.IndentingWriter
dup
aload 1
invokespecial sun.rmi.rmic.IndentingWriter.<init>:(Ljava/io/Writer;)V
putfield sun.rmi.rmic.iiop.PrintGenerator.out:Lsun/rmi/rmic/IndentingWriter;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/rmi/rmic/iiop/PrintGenerator;
6 8 1 writer Ljava/io/OutputStreamWriter;
public boolean parseArgs(java.lang.String[], sun.rmi.rmic.Main);
descriptor: ([Ljava/lang/String;Lsun/rmi/rmic/Main;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 32
2: StackMap locals: int
StackMap stack:
aload 1
iload 3
aaload
ifnull 31
3: aload 1
iload 3
aaload
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 4
start local 4 4: aload 4
ldc "-xprint"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
5: aload 0
iconst_0
putfield sun.rmi.rmic.iiop.PrintGenerator.whatToPrint:I
6: aload 1
iload 3
aconst_null
aastore
7: iload 3
iconst_1
iadd
aload 1
arraylength
if_icmpge 31
8: aload 1
iload 3
iconst_1
iadd
aaload
ldc "idl"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
9: aload 1
iinc 3 1
iload 3
aconst_null
aastore
10: aload 0
iconst_1
putfield sun.rmi.rmic.iiop.PrintGenerator.whatToPrint:I
11: goto 31
StackMap locals: java.lang.String
StackMap stack:
12: aload 1
iload 3
iconst_1
iadd
aaload
ldc "both"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 31
13: aload 1
iinc 3 1
iload 3
aconst_null
aastore
14: aload 0
iconst_2
putfield sun.rmi.rmic.iiop.PrintGenerator.whatToPrint:I
15: goto 31
StackMap locals:
StackMap stack:
16: aload 4
ldc "-xglobal"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
17: aload 0
iconst_1
putfield sun.rmi.rmic.iiop.PrintGenerator.global:Z
18: aload 1
iload 3
aconst_null
aastore
19: goto 31
StackMap locals:
StackMap stack:
20: aload 4
ldc "-xqualified"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
21: aload 0
iconst_1
putfield sun.rmi.rmic.iiop.PrintGenerator.qualified:Z
22: aload 1
iload 3
aconst_null
aastore
23: goto 31
StackMap locals:
StackMap stack:
24: aload 4
ldc "-xtrace"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
25: aload 0
iconst_1
putfield sun.rmi.rmic.iiop.PrintGenerator.trace:Z
26: aload 1
iload 3
aconst_null
aastore
27: goto 31
StackMap locals:
StackMap stack:
28: aload 4
ldc "-xvaluemethods"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 31
29: aload 0
iconst_1
putfield sun.rmi.rmic.iiop.PrintGenerator.valueMethods:Z
30: aload 1
iload 3
aconst_null
aastore
end local 4 31: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
32: iload 3
aload 1
arraylength
if_icmplt 2
end local 3 33: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lsun/rmi/rmic/iiop/PrintGenerator;
0 34 1 argv [Ljava/lang/String;
0 34 2 main Lsun/rmi/rmic/Main;
1 33 3 i I
4 31 4 arg Ljava/lang/String;
MethodParameters:
Name Flags
argv
main
public void generate(sun.rmi.rmic.BatchEnvironment, sun.tools.java.ClassDefinition, java.io.File);
descriptor: (Lsun/rmi/rmic/BatchEnvironment;Lsun/tools/java/ClassDefinition;Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
checkcast sun.rmi.rmic.iiop.BatchEnvironment
astore 4
start local 4 1: new sun.rmi.rmic.iiop.ContextStack
dup
aload 4
invokespecial sun.rmi.rmic.iiop.ContextStack.<init>:(Lsun/rmi/rmic/iiop/BatchEnvironment;)V
astore 5
start local 5 2: aload 5
aload 0
getfield sun.rmi.rmic.iiop.PrintGenerator.trace:Z
invokevirtual sun.rmi.rmic.iiop.ContextStack.setTrace:(Z)V
3: aload 0
getfield sun.rmi.rmic.iiop.PrintGenerator.valueMethods:Z
ifeq 5
4: aload 4
iconst_1
invokevirtual sun.rmi.rmic.iiop.BatchEnvironment.setParseNonConforming:(Z)V
5: StackMap locals: sun.rmi.rmic.iiop.BatchEnvironment sun.rmi.rmic.iiop.ContextStack
StackMap stack:
aload 2
aload 5
invokestatic sun.rmi.rmic.iiop.CompoundType.forCompound:(Lsun/tools/java/ClassDefinition;Lsun/rmi/rmic/iiop/ContextStack;)Lsun/rmi/rmic/iiop/CompoundType;
astore 6
start local 6 6: aload 6
ifnull 27
7: aload 6
ldc 33554432
invokevirtual sun.rmi.rmic.iiop.CompoundType.collectMatching:(I)[Lsun/rmi/rmic/iiop/Type;
astore 7
start local 7 8: iconst_0
istore 8
start local 8 9: goto 22
10: StackMap locals: sun.rmi.rmic.iiop.CompoundType sun.rmi.rmic.iiop.Type[] int
StackMap stack:
aload 0
getfield sun.rmi.rmic.iiop.PrintGenerator.out:Lsun/rmi/rmic/IndentingWriter;
ldc "\n-----------------------------------------------------------\n"
invokevirtual sun.rmi.rmic.IndentingWriter.pln:(Ljava/lang/String;)V
11: aload 7
iload 8
aaload
astore 9
start local 9 12: aload 0
getfield sun.rmi.rmic.iiop.PrintGenerator.whatToPrint:I
tableswitch { // 0 - 2
0: 13
1: 15
2: 17
default: 20
}
13: StackMap locals: sun.rmi.rmic.iiop.Type
StackMap stack:
aload 9
aload 0
getfield sun.rmi.rmic.iiop.PrintGenerator.out:Lsun/rmi/rmic/IndentingWriter;
aload 0
getfield sun.rmi.rmic.iiop.PrintGenerator.qualified:Z
iconst_0
iconst_0
invokevirtual sun.rmi.rmic.iiop.Type.println:(Lsun/rmi/rmic/IndentingWriter;ZZZ)V
14: goto 21
15: StackMap locals:
StackMap stack:
aload 9
aload 0
getfield sun.rmi.rmic.iiop.PrintGenerator.out:Lsun/rmi/rmic/IndentingWriter;
aload 0
getfield sun.rmi.rmic.iiop.PrintGenerator.qualified:Z
iconst_1
aload 0
getfield sun.rmi.rmic.iiop.PrintGenerator.global:Z
invokevirtual sun.rmi.rmic.iiop.Type.println:(Lsun/rmi/rmic/IndentingWriter;ZZZ)V
16: goto 21
17: StackMap locals:
StackMap stack:
aload 9
aload 0
getfield sun.rmi.rmic.iiop.PrintGenerator.out:Lsun/rmi/rmic/IndentingWriter;
aload 0
getfield sun.rmi.rmic.iiop.PrintGenerator.qualified:Z
iconst_0
iconst_0
invokevirtual sun.rmi.rmic.iiop.Type.println:(Lsun/rmi/rmic/IndentingWriter;ZZZ)V
18: aload 9
aload 0
getfield sun.rmi.rmic.iiop.PrintGenerator.out:Lsun/rmi/rmic/IndentingWriter;
aload 0
getfield sun.rmi.rmic.iiop.PrintGenerator.qualified:Z
iconst_1
aload 0
getfield sun.rmi.rmic.iiop.PrintGenerator.global:Z
invokevirtual sun.rmi.rmic.iiop.Type.println:(Lsun/rmi/rmic/IndentingWriter;ZZZ)V
19: goto 21
20: StackMap locals:
StackMap stack:
new sun.tools.java.CompilerError
dup
ldc "Unknown type!"
invokespecial sun.tools.java.CompilerError.<init>:(Ljava/lang/String;)V
athrow
end local 9 21: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
22: iload 8
aload 7
arraylength
if_icmplt 10
end local 8 23: aload 0
getfield sun.rmi.rmic.iiop.PrintGenerator.out:Lsun/rmi/rmic/IndentingWriter;
invokevirtual sun.rmi.rmic.IndentingWriter.flush:()V
end local 7 24: goto 27
StackMap locals: sun.rmi.rmic.iiop.PrintGenerator sun.rmi.rmic.BatchEnvironment sun.tools.java.ClassDefinition java.io.File sun.rmi.rmic.iiop.BatchEnvironment sun.rmi.rmic.iiop.ContextStack sun.rmi.rmic.iiop.CompoundType
StackMap stack: java.io.IOException
25: astore 7
start local 7 26: new sun.tools.java.CompilerError
dup
new java.lang.StringBuilder
dup
ldc "PrintGenerator caught "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.tools.java.CompilerError.<init>:(Ljava/lang/String;)V
athrow
end local 7 27: StackMap locals:
StackMap stack:
return
end local 6 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 28 0 this Lsun/rmi/rmic/iiop/PrintGenerator;
0 28 1 env Lsun/rmi/rmic/BatchEnvironment;
0 28 2 cdef Lsun/tools/java/ClassDefinition;
0 28 3 destDir Ljava/io/File;
1 28 4 ourEnv Lsun/rmi/rmic/iiop/BatchEnvironment;
2 28 5 stack Lsun/rmi/rmic/iiop/ContextStack;
6 28 6 topType Lsun/rmi/rmic/iiop/CompoundType;
8 24 7 theTypes [Lsun/rmi/rmic/iiop/Type;
9 23 8 i I
12 21 9 theType Lsun/rmi/rmic/iiop/Type;
26 27 7 e Ljava/io/IOException;
Exception table:
from to target type
7 24 25 Class java.io.IOException
MethodParameters:
Name Flags
env
cdef
destDir
}
SourceFile: "PrintGenerator.java"