public class sun.rmi.rmic.newrmic.jrmp.JrmpGenerator implements sun.rmi.rmic.newrmic.Generator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.rmi.rmic.newrmic.jrmp.JrmpGenerator
super_class: java.lang.Object
{
private static final java.util.Map<java.lang.String, sun.rmi.rmic.newrmic.jrmp.Constants$StubVersion> versionOptions;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lsun/rmi/rmic/newrmic/jrmp/Constants$StubVersion;>;
private static final java.util.Set<java.lang.String> bootstrapClassNames;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private sun.rmi.rmic.newrmic.jrmp.Constants$StubVersion version;
descriptor: Lsun/rmi/rmic/newrmic/jrmp/Constants$StubVersion;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
1: putstatic sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.versionOptions:Ljava/util/Map;
2: getstatic sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.versionOptions:Ljava/util/Map;
ldc "-v1.1"
getstatic sun.rmi.rmic.newrmic.jrmp.Constants$StubVersion.V1_1:Lsun/rmi/rmic/newrmic/jrmp/Constants$StubVersion;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: getstatic sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.versionOptions:Ljava/util/Map;
ldc "-vcompat"
getstatic sun.rmi.rmic.newrmic.jrmp.Constants$StubVersion.VCOMPAT:Lsun/rmi/rmic/newrmic/jrmp/Constants$StubVersion;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: getstatic sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.versionOptions:Ljava/util/Map;
ldc "-v1.2"
getstatic sun.rmi.rmic.newrmic.jrmp.Constants$StubVersion.V1_2:Lsun/rmi/rmic/newrmic/jrmp/Constants$StubVersion;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
6: putstatic sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.bootstrapClassNames:Ljava/util/Set;
7: getstatic sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.bootstrapClassNames:Ljava/util/Set;
ldc "java.lang.Exception"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: getstatic sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.bootstrapClassNames:Ljava/util/Set;
ldc "java.rmi.Remote"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
9: getstatic sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.bootstrapClassNames:Ljava/util/Set;
ldc "java.rmi.RemoteException"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
10: getstatic sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.bootstrapClassNames:Ljava/util/Set;
ldc "java.lang.RuntimeException"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic sun.rmi.rmic.newrmic.jrmp.Constants$StubVersion.V1_2:Lsun/rmi/rmic/newrmic/jrmp/Constants$StubVersion;
putfield sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.version:Lsun/rmi/rmic/newrmic/jrmp/Constants$StubVersion;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/rmi/rmic/newrmic/jrmp/JrmpGenerator;
public boolean parseArgs(java.lang.String[], sun.rmi.rmic.newrmic.Main);
descriptor: ([Ljava/lang/String;Lsun/rmi/rmic/newrmic/Main;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 12
3: StackMap locals: java.lang.String int
StackMap stack:
aload 1
iload 4
aaload
astore 5
start local 5 4: getstatic sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.versionOptions:Ljava/util/Map;
aload 5
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 11
5: aload 3
ifnull 8
aload 3
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
6: aload 2
ldc "rmic.cannot.use.both"
iconst_2
anewarray java.lang.String
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 5
aastore
invokevirtual sun.rmi.rmic.newrmic.Main.error:(Ljava/lang/String;[Ljava/lang/String;)V
7: iconst_0
ireturn
8: StackMap locals: java.lang.String
StackMap stack:
aload 5
astore 3
9: aload 0
getstatic sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.versionOptions:Ljava/util/Map;
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.rmi.rmic.newrmic.jrmp.Constants$StubVersion
putfield sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.version:Lsun/rmi/rmic/newrmic/jrmp/Constants$StubVersion;
10: aload 1
iload 4
aconst_null
aastore
end local 5 11: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
aload 1
arraylength
if_icmplt 3
end local 4 13: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/rmi/rmic/newrmic/jrmp/JrmpGenerator;
0 14 1 args [Ljava/lang/String;
0 14 2 main Lsun/rmi/rmic/newrmic/Main;
1 14 3 explicitVersion Ljava/lang/String;
2 13 4 i I
4 11 5 arg Ljava/lang/String;
MethodParameters:
Name Flags
args
main
public java.lang.Class<? extends sun.rmi.rmic.newrmic.BatchEnvironment> envClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Lsun/rmi/rmic/newrmic/BatchEnvironment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/newrmic/jrmp/JrmpGenerator;
Signature: ()Ljava/lang/Class<+Lsun/rmi/rmic/newrmic/BatchEnvironment;>;
public java.util.Set<java.lang.String> bootstrapClassNames();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.bootstrapClassNames:Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/newrmic/jrmp/JrmpGenerator;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public void generate(sun.rmi.rmic.newrmic.BatchEnvironment, ClassDoc, java.io.File);
descriptor: (Lsun/rmi/rmic/newrmic/BatchEnvironment;LClassDoc;Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tClassDoc cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/newrmic/jrmp/JrmpGenerator;
MethodParameters:
Name Flags
env
inputClass
destDir
private java.io.File sourceFileForClass(java.lang.String, java.io.File);
descriptor: (Ljava/lang/String;Ljava/io/File;)Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
ldc ".java"
invokevirtual sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.fileForClass:(Ljava/lang/String;Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/newrmic/jrmp/JrmpGenerator;
0 1 1 binaryName Ljava/lang/String;
0 1 2 destDir Ljava/io/File;
MethodParameters:
Name Flags
binaryName
destDir
private java.io.File classFileForClass(java.lang.String, java.io.File);
descriptor: (Ljava/lang/String;Ljava/io/File;)Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
ldc ".class"
invokevirtual sun.rmi.rmic.newrmic.jrmp.JrmpGenerator.fileForClass:(Ljava/lang/String;Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/newrmic/jrmp/JrmpGenerator;
0 1 1 binaryName Ljava/lang/String;
0 1 2 destDir Ljava/io/File;
MethodParameters:
Name Flags
binaryName
destDir
private java.io.File fileForClass(java.lang.String, java.io.File, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 4
start local 4 1: new java.lang.StringBuilder
dup
aload 1
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 2: iload 4
iconst_m1
if_icmpeq 9
3: aload 1
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
start local 6 4: aload 6
bipush 46
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 7
start local 7 5: new java.io.File
dup
aload 2
aload 7
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 8
start local 8 6: aload 8
invokevirtual java.io.File.exists:()Z
ifne 8
7: aload 8
invokevirtual java.io.File.mkdirs:()Z
pop
8: StackMap locals: sun.rmi.rmic.newrmic.jrmp.JrmpGenerator java.lang.String java.io.File java.lang.String int java.lang.String java.lang.String java.lang.String java.io.File
StackMap stack:
new java.io.File
dup
aload 8
aload 5
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
areturn
end local 8 end local 7 end local 6 9: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 2
aload 5
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
areturn
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 10 0 this Lsun/rmi/rmic/newrmic/jrmp/JrmpGenerator;
0 10 1 binaryName Ljava/lang/String;
0 10 2 destDir Ljava/io/File;
0 10 3 ext Ljava/lang/String;
1 10 4 i I
2 10 5 classFileName Ljava/lang/String;
4 9 6 packageName Ljava/lang/String;
5 9 7 packagePath Ljava/lang/String;
6 9 8 packageDir Ljava/io/File;
MethodParameters:
Name Flags
binaryName
destDir
ext
public void generate(sun.rmi.rmic.newrmic.BatchEnvironment, ClassDoc, java.io.File);
descriptor: (Lsun/rmi/rmic/newrmic/BatchEnvironment;LClassDoc;Ljava/io/File;)V
flags: (0x1001) ACC_PUBLIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=4
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe type JrmpGenerator must implement the inherited abstract method Generator.generate(BatchEnvironment, ClassDoc, File)\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
}
SourceFile: "JrmpGenerator.java"
InnerClasses:
final StubVersion = sun.rmi.rmic.newrmic.jrmp.Constants$StubVersion of sun.rmi.rmic.newrmic.jrmp.Constants