public class com.sun.tools.hat.internal.server.PlatformClasses
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.hat.internal.server.PlatformClasses
super_class: java.lang.Object
{
static java.lang.String[] names;
descriptor: [Ljava/lang/String;
flags: (0x0008) ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic com.sun.tools.hat.internal.server.PlatformClasses.names:[Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
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 Lcom/sun/tools/hat/internal/server/PlatformClasses;
public static synchronized java.lang.String[] getNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=4, args_size=0
0: getstatic com.sun.tools.hat.internal.server.PlatformClasses.names:[Ljava/lang/String;
ifnonnull 20
1: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 0
start local 0 2: ldc Lcom/sun/tools/hat/internal/server/PlatformClasses;
3: ldc "/com/sun/tools/hat/resources/platform_names.txt"
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
4: astore 1
start local 1 5: aload 1
ifnull 19
6: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 1
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
7: astore 2
start local 2 8: StackMap locals: java.util.LinkedList java.io.InputStream java.io.BufferedReader
StackMap stack:
aload 2
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 3
start local 3 9: aload 3
ifnonnull 11
10: goto 14
11: StackMap locals: java.lang.String
StackMap stack:
aload 3
invokevirtual java.lang.String.length:()I
ifle 8
12: aload 0
aload 3
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
end local 3 13: goto 8
14: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.BufferedReader.close:()V
15: aload 1
invokevirtual java.io.InputStream.close:()V
end local 2 16: goto 19
StackMap locals: java.util.LinkedList java.io.InputStream
StackMap stack: java.io.IOException
17: astore 2
start local 2 18: aload 2
invokevirtual java.io.IOException.printStackTrace:()V
end local 2 19: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual java.util.LinkedList.size:()I
anewarray java.lang.String
invokevirtual java.util.LinkedList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
putstatic com.sun.tools.hat.internal.server.PlatformClasses.names:[Ljava/lang/String;
end local 1 end local 0 20: StackMap locals:
StackMap stack:
getstatic com.sun.tools.hat.internal.server.PlatformClasses.names:[Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
2 20 0 list Ljava/util/LinkedList<Ljava/lang/String;>;
5 20 1 str Ljava/io/InputStream;
8 16 2 rdr Ljava/io/BufferedReader;
9 13 3 s Ljava/lang/String;
18 19 2 ex Ljava/io/IOException;
Exception table:
from to target type
6 16 17 Class java.io.IOException
public static boolean isPlatformClass(com.sun.tools.hat.internal.model.JavaClass);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaClass;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.isBootstrap:()Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getName:()Ljava/lang/String;
astore 1
start local 1 3: aload 1
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
4: aload 1
bipush 91
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 5: iload 2
iconst_m1
if_icmpeq 9
6: aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 76
if_icmpeq 8
7: iconst_1
ireturn
8: StackMap locals: java.lang.String int
StackMap stack:
aload 1
iload 2
iconst_2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
end local 2 9: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.hat.internal.server.PlatformClasses.getNames:()[Ljava/lang/String;
astore 2
start local 2 10: iconst_0
istore 3
start local 3 11: goto 15
12: StackMap locals: java.lang.String[] int
StackMap stack:
aload 1
aload 2
iload 3
aaload
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 14
13: iconst_1
ireturn
14: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
aload 2
arraylength
if_icmplt 12
end local 3 16: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 clazz Lcom/sun/tools/hat/internal/model/JavaClass;
3 17 1 name Ljava/lang/String;
5 9 2 index I
10 17 2 nms [Ljava/lang/String;
11 16 3 i I
MethodParameters:
Name Flags
clazz
}
SourceFile: "PlatformClasses.java"