abstract class jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator implements java.util.Comparator<javax.lang.model.element.Element>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator
super_class: java.lang.Object
{
final java.util.EnumMap<javax.lang.model.element.ElementKind, java.lang.Integer> elementKindOrder;
descriptor: Ljava/util/EnumMap;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/EnumMap<Ljavax/lang/model/element/ElementKind;Ljava/lang/Integer;>;
final jdk.javadoc.internal.doclets.toolkit.util.Utils this$0;
descriptor: Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(jdk.javadoc.internal.doclets.toolkit.util.Utils);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/Utils;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.this$0:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.EnumMap
dup
ldc Ljavax/lang/model/element/ElementKind;
invokespecial java.util.EnumMap.<init>:(Ljava/lang/Class;)V
putfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.elementKindOrder:Ljava/util/EnumMap;
2: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.elementKindOrder:Ljava/util/EnumMap;
getstatic javax.lang.model.element.ElementKind.MODULE:Ljavax/lang/model/element/ElementKind;
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.EnumMap.put:(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.elementKindOrder:Ljava/util/EnumMap;
getstatic javax.lang.model.element.ElementKind.PACKAGE:Ljavax/lang/model/element/ElementKind;
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.EnumMap.put:(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.elementKindOrder:Ljava/util/EnumMap;
getstatic javax.lang.model.element.ElementKind.CLASS:Ljavax/lang/model/element/ElementKind;
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.EnumMap.put:(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.elementKindOrder:Ljava/util/EnumMap;
getstatic javax.lang.model.element.ElementKind.ENUM:Ljavax/lang/model/element/ElementKind;
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.EnumMap.put:(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.elementKindOrder:Ljava/util/EnumMap;
getstatic javax.lang.model.element.ElementKind.ENUM_CONSTANT:Ljavax/lang/model/element/ElementKind;
iconst_4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.EnumMap.put:(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.elementKindOrder:Ljava/util/EnumMap;
getstatic javax.lang.model.element.ElementKind.INTERFACE:Ljavax/lang/model/element/ElementKind;
iconst_5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.EnumMap.put:(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.elementKindOrder:Ljava/util/EnumMap;
getstatic javax.lang.model.element.ElementKind.ANNOTATION_TYPE:Ljavax/lang/model/element/ElementKind;
bipush 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.EnumMap.put:(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.elementKindOrder:Ljava/util/EnumMap;
getstatic javax.lang.model.element.ElementKind.FIELD:Ljavax/lang/model/element/ElementKind;
bipush 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.EnumMap.put:(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.elementKindOrder:Ljava/util/EnumMap;
getstatic javax.lang.model.element.ElementKind.CONSTRUCTOR:Ljavax/lang/model/element/ElementKind;
bipush 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.EnumMap.put:(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.elementKindOrder:Ljava/util/EnumMap;
getstatic javax.lang.model.element.ElementKind.METHOD:Ljavax/lang/model/element/ElementKind;
bipush 9
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.EnumMap.put:(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Utils$ElementComparator;
MethodParameters:
Name Flags
this$0 final
protected int compareParameters(boolean, java.util.List<? extends javax.lang.model.element.VariableElement>, java.util.List<? extends javax.lang.model.element.VariableElement>);
descriptor: (ZLjava/util/List;Ljava/util/List;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.this$0:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
iload 1
aload 0
aload 2
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.getParametersAsString:(Ljava/util/List;)Ljava/lang/String;
1: aload 0
aload 3
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.getParametersAsString:(Ljava/util/List;)Ljava/lang/String;
2: invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.compareStrings:(ZLjava/lang/String;Ljava/lang/String;)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Utils$ElementComparator;
0 3 1 caseSensitive Z
0 3 2 params1 Ljava/util/List<+Ljavax/lang/model/element/VariableElement;>;
0 3 3 params2 Ljava/util/List<+Ljavax/lang/model/element/VariableElement;>;
Signature: (ZLjava/util/List<+Ljavax/lang/model/element/VariableElement;>;Ljava/util/List<+Ljavax/lang/model/element/VariableElement;>;)I
MethodParameters:
Name Flags
caseSensitive
params1
params2
java.lang.String getParametersAsString(java.util.List<? extends javax.lang.model.element.VariableElement>);
descriptor: (Ljava/util/List;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator java.util.List java.lang.StringBuilder top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.lang.model.element.VariableElement
astore 3
start local 3 3: aload 3
invokeinterface javax.lang.model.element.VariableElement.asType:()Ljavax/lang/model/type/TypeMirror;
astore 5
start local 5 4: aload 2
aload 0
aload 5
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.getTypeCode:(Ljavax/lang/model/type/TypeMirror;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 5 end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Utils$ElementComparator;
0 7 1 params Ljava/util/List<+Ljavax/lang/model/element/VariableElement;>;
1 7 2 sb Ljava/lang/StringBuilder;
3 5 3 param Ljavax/lang/model/element/VariableElement;
4 5 5 t Ljavax/lang/model/type/TypeMirror;
Signature: (Ljava/util/List<+Ljavax/lang/model/element/VariableElement;>;)Ljava/lang/String;
MethodParameters:
Name Flags
params
private java.lang.String getTypeCode(javax.lang.model.type.TypeMirror);
descriptor: (Ljavax/lang/model/type/TypeMirror;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator$1
dup
aload 0
invokespecial jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator$1.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/Utils$ElementComparator;)V
1: aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator$1.visit:(Ljavax/lang/model/type/TypeMirror;)Ljava/lang/Object;
checkcast java.lang.String
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Utils$ElementComparator;
0 3 1 t Ljavax/lang/model/type/TypeMirror;
MethodParameters:
Name Flags
t
protected int compareNames(javax.lang.model.element.Element, javax.lang.model.element.Element);
descriptor: (Ljavax/lang/model/element/Element;Ljavax/lang/model/element/Element;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.this$0:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.this$0:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.getSimpleName:(Ljavax/lang/model/element/Element;)Ljava/lang/String;
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.this$0:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 2
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.getSimpleName:(Ljavax/lang/model/element/Element;)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.compareStrings:(Ljava/lang/String;Ljava/lang/String;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Utils$ElementComparator;
0 1 1 e1 Ljavax/lang/model/element/Element;
0 1 2 e2 Ljavax/lang/model/element/Element;
MethodParameters:
Name Flags
e1
e2
protected int compareFullyQualifiedNames(javax.lang.model.element.Element, javax.lang.model.element.Element);
descriptor: (Ljavax/lang/model/element/Element;Ljavax/lang/model/element/Element;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.getFullyQualifiedName:(Ljavax/lang/model/element/Element;)Ljava/lang/String;
astore 3
start local 3 1: aload 0
aload 2
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.getFullyQualifiedName:(Ljavax/lang/model/element/Element;)Ljava/lang/String;
astore 4
start local 4 2: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.this$0:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 3
aload 4
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.compareStrings:(Ljava/lang/String;Ljava/lang/String;)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Utils$ElementComparator;
0 3 1 e1 Ljavax/lang/model/element/Element;
0 3 2 e2 Ljavax/lang/model/element/Element;
1 3 3 thisElement Ljava/lang/String;
2 3 4 thatElement Ljava/lang/String;
MethodParameters:
Name Flags
e1
e2
protected int compareElementTypeKinds(javax.lang.model.element.Element, javax.lang.model.element.Element);
descriptor: (Ljavax/lang/model/element/Element;Ljavax/lang/model/element/Element;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.elementKindOrder:Ljava/util/EnumMap;
aload 1
invokeinterface javax.lang.model.element.Element.getKind:()Ljavax/lang/model/element/ElementKind;
invokevirtual java.util.EnumMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
1: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.elementKindOrder:Ljava/util/EnumMap;
aload 2
invokeinterface javax.lang.model.element.Element.getKind:()Ljavax/lang/model/element/ElementKind;
invokevirtual java.util.EnumMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
2: invokestatic java.lang.Integer.compare:(II)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Utils$ElementComparator;
0 3 1 e1 Ljavax/lang/model/element/Element;
0 3 2 e2 Ljavax/lang/model/element/Element;
MethodParameters:
Name Flags
e1
e2
boolean hasParameters(javax.lang.model.element.Element);
descriptor: (Ljavax/lang/model/element/Element;)Z
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator$2
dup
aload 0
invokespecial jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator$2.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/Utils$ElementComparator;)V
1: aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator$2.visit:(Ljavax/lang/model/element/Element;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Utils$ElementComparator;
0 3 1 e Ljavax/lang/model/element/Element;
MethodParameters:
Name Flags
e
private java.lang.String getFullyQualifiedName(javax.lang.model.element.Element);
descriptor: (Ljavax/lang/model/element/Element;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator$3
dup
aload 0
invokespecial jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator$3.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/Utils$ElementComparator;)V
1: aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator$3.visit:(Ljavax/lang/model/element/Element;)Ljava/lang/Object;
checkcast java.lang.String
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Utils$ElementComparator;
0 3 1 e Ljavax/lang/model/element/Element;
MethodParameters:
Name Flags
e
static jdk.javadoc.internal.doclets.toolkit.util.Utils access$0(jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/Utils$ElementComparator;)Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator.this$0:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Ljavax/lang/model/element/Element;>;
SourceFile: "Utils.java"
NestHost: jdk.javadoc.internal.doclets.toolkit.util.Utils
InnerClasses:
private abstract ElementComparator = jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator of jdk.javadoc.internal.doclets.toolkit.util.Utils
jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator$1
jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator$2
jdk.javadoc.internal.doclets.toolkit.util.Utils$ElementComparator$3