class jdk.jfr.internal.tool.Metadata$TypeComparator implements java.util.Comparator<jdk.jfr.internal.Type>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jfr.internal.tool.Metadata$TypeComparator
super_class: java.lang.Object
{
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/tool/Metadata$TypeComparator;
public int compare(jdk.jfr.internal.Type, jdk.jfr.internal.Type);
descriptor: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/Type;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.jfr.internal.tool.Metadata$TypeComparator.groupValue:(Ljdk/jfr/internal/Type;)I
istore 3
start local 3 1: aload 0
aload 2
invokevirtual jdk.jfr.internal.tool.Metadata$TypeComparator.groupValue:(Ljdk/jfr/internal/Type;)I
istore 4
start local 4 2: iload 3
iload 4
if_icmpne 15
3: aload 1
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
astore 5
start local 5 4: aload 2
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
astore 6
start local 6 5: aload 5
iconst_0
aload 5
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
start local 7 6: aload 6
iconst_0
aload 6
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
start local 8 7: aload 7
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: aload 5
aload 6
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
9: StackMap locals: jdk.jfr.internal.tool.Metadata$TypeComparator jdk.jfr.internal.Type jdk.jfr.internal.Type int int java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
getstatic jdk.jfr.internal.Type.SUPER_TYPE_EVENT:Ljava/lang/String;
aload 1
invokevirtual jdk.jfr.internal.Type.getSuperType:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
aload 7
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
10: aload 7
ldc "jdk.jfr"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: iconst_m1
ireturn
12: StackMap locals:
StackMap stack:
aload 8
ldc "jdk.jfr"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
13: iconst_1
ireturn
14: StackMap locals:
StackMap stack:
aload 7
aload 8
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
end local 8 end local 7 end local 6 end local 5 15: StackMap locals: jdk.jfr.internal.tool.Metadata$TypeComparator jdk.jfr.internal.Type jdk.jfr.internal.Type int int
StackMap stack:
aload 0
aload 1
invokevirtual jdk.jfr.internal.tool.Metadata$TypeComparator.groupValue:(Ljdk/jfr/internal/Type;)I
aload 0
aload 2
invokevirtual jdk.jfr.internal.tool.Metadata$TypeComparator.groupValue:(Ljdk/jfr/internal/Type;)I
invokestatic java.lang.Integer.compare:(II)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/jfr/internal/tool/Metadata$TypeComparator;
0 16 1 t1 Ljdk/jfr/internal/Type;
0 16 2 t2 Ljdk/jfr/internal/Type;
1 16 3 g1 I
2 16 4 g2 I
4 15 5 n1 Ljava/lang/String;
5 15 6 n2 Ljava/lang/String;
6 15 7 package1 Ljava/lang/String;
7 15 8 package2 Ljava/lang/String;
MethodParameters:
Name Flags
t1
t2
int groupValue(jdk.jfr.internal.Type);
descriptor: (Ljdk/jfr/internal/Type;)I
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.jfr.internal.Type.getSuperType:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_1
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
getstatic jdk.jfr.internal.Type.SUPER_TYPE_ANNOTATION:Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_3
ireturn
5: StackMap locals:
StackMap stack:
getstatic jdk.jfr.internal.Type.SUPER_TYPE_SETTING:Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: iconst_4
ireturn
7: StackMap locals:
StackMap stack:
getstatic jdk.jfr.internal.Type.SUPER_TYPE_EVENT:Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: iconst_5
ireturn
9: StackMap locals:
StackMap stack:
iconst_2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/jfr/internal/tool/Metadata$TypeComparator;
0 10 1 t Ljdk/jfr/internal/Type;
1 10 2 superType Ljava/lang/String;
MethodParameters:
Name Flags
t
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast jdk.jfr.internal.Type
aload 2
checkcast jdk.jfr.internal.Type
invokevirtual jdk.jfr.internal.tool.Metadata$TypeComparator.compare:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/Type;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Ljdk/jfr/internal/Type;>;
SourceFile: "Metadata.java"
NestHost: jdk.jfr.internal.tool.Metadata
InnerClasses:
private TypeComparator = jdk.jfr.internal.tool.Metadata$TypeComparator of jdk.jfr.internal.tool.Metadata