public final class sun.rmi.rmic.iiop.Util implements sun.rmi.rmic.Constants
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.rmi.rmic.iiop.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/iiop/Util;
public static java.lang.String packagePrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.sun.corba.se.impl.util.PackagePrefixChecker.packagePrefix:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.io.File getOutputDirectoryFor(sun.tools.java.Identifier, java.io.File, sun.rmi.rmic.iiop.BatchEnvironment, boolean);
descriptor: (Lsun/tools/java/Identifier;Ljava/io/File;Lsun/rmi/rmic/iiop/BatchEnvironment;Z)Ljava/io/File;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 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 5
start local 5 2: aconst_null
astore 6
start local 6 3: aload 0
invokevirtual sun.tools.java.Identifier.getQualifier:()Lsun/tools/java/Identifier;
invokevirtual sun.tools.java.Identifier.toString:()Ljava/lang/String;
astore 7
start local 7 4: aload 7
iload 3
aload 2
invokevirtual sun.rmi.rmic.iiop.BatchEnvironment.getStandardPackage:()Z
invokestatic sun.rmi.rmic.iiop.Util.correctPackageName:(Ljava/lang/String;ZZ)Ljava/lang/String;
astore 7
5: aload 7
invokevirtual java.lang.String.length:()I
ifle 8
6: new java.lang.StringBuilder
dup
aload 7
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 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
pop
7: aload 7
bipush 46
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 6
8: StackMap locals: sun.tools.java.Identifier java.io.File sun.rmi.rmic.iiop.BatchEnvironment int java.io.File java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 1
ifnull 15
9: aload 6
ifnull 13
10: new java.io.File
dup
aload 1
aload 6
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 4
11: aload 4
aload 2
invokestatic sun.rmi.rmic.iiop.Util.ensureDirectory:(Ljava/io/File;Lsun/rmi/rmic/iiop/BatchEnvironment;)V
12: goto 22
13: StackMap locals:
StackMap stack:
aload 1
astore 4
14: goto 22
15: StackMap locals:
StackMap stack:
ldc "user.dir"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 16: new java.io.File
dup
aload 8
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 9
start local 9 17: aload 6
ifnonnull 20
18: aload 9
astore 4
19: goto 22
20: StackMap locals: java.lang.String java.io.File
StackMap stack:
new java.io.File
dup
aload 9
aload 6
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 4
21: aload 4
aload 2
invokestatic sun.rmi.rmic.iiop.Util.ensureDirectory:(Ljava/io/File;Lsun/rmi/rmic/iiop/BatchEnvironment;)V
end local 9 end local 8 22: StackMap locals:
StackMap stack:
aload 4
areturn
end local 7 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 23 0 theClass Lsun/tools/java/Identifier;
0 23 1 rootDir Ljava/io/File;
0 23 2 env Lsun/rmi/rmic/iiop/BatchEnvironment;
0 23 3 idl Z
1 23 4 outputDir Ljava/io/File;
2 23 5 className Ljava/lang/String;
3 23 6 packagePath Ljava/lang/String;
4 23 7 packageName Ljava/lang/String;
16 22 8 workingDirPath Ljava/lang/String;
17 22 9 workingDir Ljava/io/File;
MethodParameters:
Name Flags
theClass
rootDir
env
idl
public static java.io.File getOutputDirectoryForIDL(sun.tools.java.Identifier, java.io.File, sun.rmi.rmic.iiop.BatchEnvironment);
descriptor: (Lsun/tools/java/Identifier;Ljava/io/File;Lsun/rmi/rmic/iiop/BatchEnvironment;)Ljava/io/File;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokestatic sun.rmi.rmic.iiop.Util.getOutputDirectoryFor:(Lsun/tools/java/Identifier;Ljava/io/File;Lsun/rmi/rmic/iiop/BatchEnvironment;Z)Ljava/io/File;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 theClass Lsun/tools/java/Identifier;
0 1 1 rootDir Ljava/io/File;
0 1 2 env Lsun/rmi/rmic/iiop/BatchEnvironment;
MethodParameters:
Name Flags
theClass
rootDir
env
public static java.io.File getOutputDirectoryForStub(sun.tools.java.Identifier, java.io.File, sun.rmi.rmic.iiop.BatchEnvironment);
descriptor: (Lsun/tools/java/Identifier;Ljava/io/File;Lsun/rmi/rmic/iiop/BatchEnvironment;)Ljava/io/File;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokestatic sun.rmi.rmic.iiop.Util.getOutputDirectoryFor:(Lsun/tools/java/Identifier;Ljava/io/File;Lsun/rmi/rmic/iiop/BatchEnvironment;Z)Ljava/io/File;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 theClass Lsun/tools/java/Identifier;
0 1 1 rootDir Ljava/io/File;
0 1 2 env Lsun/rmi/rmic/iiop/BatchEnvironment;
MethodParameters:
Name Flags
theClass
rootDir
env
private static void ensureDirectory(java.io.File, sun.rmi.rmic.iiop.BatchEnvironment);
descriptor: (Ljava/io/File;Lsun/rmi/rmic/iiop/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.iiop.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/iiop/BatchEnvironment;
MethodParameters:
Name Flags
dir
env
public static java.lang.String correctPackageName(java.lang.String, boolean, boolean);
descriptor: (Ljava/lang/String;ZZ)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
iload 2
ifeq 4
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic com.sun.corba.se.impl.util.PackagePrefixChecker.correctPackageName:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 p Ljava/lang/String;
0 5 1 idl Z
0 5 2 standardPackage Z
MethodParameters:
Name Flags
p
idl
standardPackage
public static boolean isOffendingPackage(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.sun.corba.se.impl.util.PackagePrefixChecker.isOffendingPackage:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 p Ljava/lang/String;
MethodParameters:
Name Flags
p
public static boolean hasOffendingPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.sun.corba.se.impl.util.PackagePrefixChecker.hasOffendingPrefix:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 p Ljava/lang/String;
MethodParameters:
Name Flags
p
}
SourceFile: "Util.java"