public class sun.rmi.rmic.Util implements sun.rmi.rmic.Constants
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.rmi.rmic.Util
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/Util;
public static java.io.File getOutputDirectoryFor(sun.tools.java.Identifier, java.io.File, sun.rmi.rmic.BatchEnvironment);
descriptor: (Lsun/tools/java/Identifier;Ljava/io/File;Lsun/rmi/rmic/BatchEnvironment;)Ljava/io/File;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
invokevirtual sun.tools.java.Identifier.getFlatName:()Lsun/tools/java/Identifier;
invokevirtual sun.tools.java.Identifier.toString:()Ljava/lang/String;
bipush 46
bipush 36
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 4
start local 4 2: aconst_null
astore 5
start local 5 3: aload 0
invokevirtual sun.tools.java.Identifier.getQualifier:()Lsun/tools/java/Identifier;
invokevirtual sun.tools.java.Identifier.toString:()Ljava/lang/String;
astore 6
start local 6 4: aload 6
invokevirtual java.lang.String.length:()I
ifle 7
5: new java.lang.StringBuilder
dup
aload 6
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 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
pop
6: aload 6
bipush 46
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 5
7: StackMap locals: sun.tools.java.Identifier java.io.File sun.rmi.rmic.BatchEnvironment java.io.File java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 1
ifnull 14
8: aload 5
ifnull 12
9: new java.io.File
dup
aload 1
aload 5
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 3
10: aload 3
aload 2
invokestatic sun.rmi.rmic.Util.ensureDirectory:(Ljava/io/File;Lsun/rmi/rmic/BatchEnvironment;)V
11: goto 21
12: StackMap locals:
StackMap stack:
aload 1
astore 3
13: goto 21
14: StackMap locals:
StackMap stack:
ldc "user.dir"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 15: new java.io.File
dup
aload 7
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 8
start local 8 16: aload 5
ifnonnull 19
17: aload 8
astore 3
18: goto 21
19: StackMap locals: 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
astore 3
20: aload 3
aload 2
invokestatic sun.rmi.rmic.Util.ensureDirectory:(Ljava/io/File;Lsun/rmi/rmic/BatchEnvironment;)V
end local 8 end local 7 21: StackMap locals:
StackMap stack:
aload 3
areturn
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 22 0 theClass Lsun/tools/java/Identifier;
0 22 1 rootDir Ljava/io/File;
0 22 2 env Lsun/rmi/rmic/BatchEnvironment;
1 22 3 outputDir Ljava/io/File;
2 22 4 className Ljava/lang/String;
3 22 5 packagePath Ljava/lang/String;
4 22 6 packageName Ljava/lang/String;
15 21 7 workingDirPath Ljava/lang/String;
16 21 8 workingDir Ljava/io/File;
MethodParameters:
Name Flags
theClass
rootDir
env
private static void ensureDirectory(java.io.File, sun.rmi.rmic.BatchEnvironment);
descriptor: (Ljava/io/File;Lsun/rmi/rmic/BatchEnvironment;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.io.File.exists:()Z
ifne 5
1: aload 0
invokevirtual java.io.File.mkdirs:()Z
pop
2: aload 0
invokevirtual java.io.File.exists:()Z
ifne 5
3: aload 1
lconst_0
ldc "rmic.cannot.create.dir"
aload 0
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual sun.rmi.rmic.BatchEnvironment.error:(JLjava/lang/String;Ljava/lang/Object;)V
4: new java.lang.InternalError
dup
invokespecial java.lang.InternalError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 dir Ljava/io/File;
0 6 1 env Lsun/rmi/rmic/BatchEnvironment;
MethodParameters:
Name Flags
dir
env
}
SourceFile: "Util.java"