public class com.sun.jmx.snmp.defaults.DefaultPaths
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.jmx.snmp.defaults.DefaultPaths
super_class: java.lang.Object
{
private static final java.lang.String INSTALL_PATH_RESOURCE_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com/sun/jdmk/defaults/install.path"
private static java.lang.String etcDir;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String tmpDir;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String installDir;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jmx/snmp/defaults/DefaultPaths;
public static java.lang.String getInstallDir();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.jmx.snmp.defaults.DefaultPaths.installDir:Ljava/lang/String;
ifnonnull 2
1: invokestatic com.sun.jmx.snmp.defaults.DefaultPaths.useRessourceFile:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
getstatic com.sun.jmx.snmp.defaults.DefaultPaths.installDir:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String getInstallDir(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic com.sun.jmx.snmp.defaults.DefaultPaths.installDir:Ljava/lang/String;
ifnonnull 4
1: aload 0
ifnonnull 3
2: invokestatic com.sun.jmx.snmp.defaults.DefaultPaths.getInstallDir:()Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokestatic com.sun.jmx.snmp.defaults.DefaultPaths.getInstallDir:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 0
ifnonnull 6
5: getstatic com.sun.jmx.snmp.defaults.DefaultPaths.installDir:Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
getstatic com.sun.jmx.snmp.defaults.DefaultPaths.installDir:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 dirname Ljava/lang/String;
MethodParameters:
Name Flags
dirname
public static void setInstallDir(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic com.sun.jmx.snmp.defaults.DefaultPaths.installDir:Ljava/lang/String;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dirname Ljava/lang/String;
MethodParameters:
Name Flags
dirname
public static java.lang.String getEtcDir();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.jmx.snmp.defaults.DefaultPaths.etcDir:Ljava/lang/String;
ifnonnull 2
1: ldc "etc"
invokestatic com.sun.jmx.snmp.defaults.DefaultPaths.getInstallDir:(Ljava/lang/String;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
getstatic com.sun.jmx.snmp.defaults.DefaultPaths.etcDir:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String getEtcDir(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic com.sun.jmx.snmp.defaults.DefaultPaths.etcDir:Ljava/lang/String;
ifnonnull 4
1: aload 0
ifnonnull 3
2: invokestatic com.sun.jmx.snmp.defaults.DefaultPaths.getEtcDir:()Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokestatic com.sun.jmx.snmp.defaults.DefaultPaths.getEtcDir:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 0
ifnonnull 6
5: getstatic com.sun.jmx.snmp.defaults.DefaultPaths.etcDir:Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
getstatic com.sun.jmx.snmp.defaults.DefaultPaths.etcDir:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 dirname Ljava/lang/String;
MethodParameters:
Name Flags
dirname
public static void setEtcDir(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic com.sun.jmx.snmp.defaults.DefaultPaths.etcDir:Ljava/lang/String;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dirname Ljava/lang/String;
MethodParameters:
Name Flags
dirname
public static java.lang.String getTmpDir();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.jmx.snmp.defaults.DefaultPaths.tmpDir:Ljava/lang/String;
ifnonnull 2
1: ldc "tmp"
invokestatic com.sun.jmx.snmp.defaults.DefaultPaths.getInstallDir:(Ljava/lang/String;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
getstatic com.sun.jmx.snmp.defaults.DefaultPaths.tmpDir:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String getTmpDir(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic com.sun.jmx.snmp.defaults.DefaultPaths.tmpDir:Ljava/lang/String;
ifnonnull 4
1: aload 0
ifnonnull 3
2: invokestatic com.sun.jmx.snmp.defaults.DefaultPaths.getTmpDir:()Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokestatic com.sun.jmx.snmp.defaults.DefaultPaths.getTmpDir:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 0
ifnonnull 6
5: getstatic com.sun.jmx.snmp.defaults.DefaultPaths.tmpDir:Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
getstatic com.sun.jmx.snmp.defaults.DefaultPaths.tmpDir:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 dirname Ljava/lang/String;
MethodParameters:
Name Flags
dirname
public static void setTmpDir(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic com.sun.jmx.snmp.defaults.DefaultPaths.tmpDir:Ljava/lang/String;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dirname Ljava/lang/String;
MethodParameters:
Name Flags
dirname
private static java.lang.String useRessourceFile();
descriptor: ()Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: aconst_null
astore 0
start local 0 1: aconst_null
astore 1
start local 1 2: ldc Lcom/sun/jmx/snmp/defaults/DefaultPaths;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
ldc "com/sun/jdmk/defaults/install.path"
invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
3: astore 0
4: aload 0
ifnonnull 10
5: aload 0
ifnull 6
aload 0
invokevirtual java.io.InputStream.close:()V
6: StackMap locals: java.io.InputStream java.io.BufferedReader
StackMap stack:
aload 1
ifnull 9
aload 1
invokevirtual java.io.BufferedReader.close:()V
7: goto 9
StackMap locals:
StackMap stack: java.lang.Exception
8: pop
9: StackMap locals:
StackMap stack:
aconst_null
areturn
10: StackMap locals:
StackMap stack:
new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 0
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 1
11: aload 1
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
putstatic com.sun.jmx.snmp.defaults.DefaultPaths.installDir:Ljava/lang/String;
12: goto 24
StackMap locals:
StackMap stack: java.lang.Exception
13: pop
14: aload 0
ifnull 15
aload 0
invokevirtual java.io.InputStream.close:()V
15: StackMap locals:
StackMap stack:
aload 1
ifnull 28
aload 1
invokevirtual java.io.BufferedReader.close:()V
16: goto 28
StackMap locals:
StackMap stack: java.lang.Exception
17: pop
goto 28
18: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
19: aload 0
ifnull 20
aload 0
invokevirtual java.io.InputStream.close:()V
20: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
ifnull 23
aload 1
invokevirtual java.io.BufferedReader.close:()V
21: goto 23
StackMap locals:
StackMap stack: java.lang.Exception
22: pop
23: StackMap locals:
StackMap stack:
aload 2
athrow
24: StackMap locals:
StackMap stack:
aload 0
ifnull 25
aload 0
invokevirtual java.io.InputStream.close:()V
25: StackMap locals:
StackMap stack:
aload 1
ifnull 28
aload 1
invokevirtual java.io.BufferedReader.close:()V
26: goto 28
StackMap locals:
StackMap stack: java.lang.Exception
27: pop
28: StackMap locals:
StackMap stack:
getstatic com.sun.jmx.snmp.defaults.DefaultPaths.installDir:Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 29 0 in Ljava/io/InputStream;
2 29 1 r Ljava/io/BufferedReader;
Exception table:
from to target type
5 7 8 Class java.lang.Exception
2 5 13 Class java.lang.Exception
10 12 13 Class java.lang.Exception
14 16 17 Class java.lang.Exception
2 5 18 any
10 14 18 any
19 21 22 Class java.lang.Exception
24 26 27 Class java.lang.Exception
}
SourceFile: "DefaultPaths.java"