abstract class com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator<T extends com.sun.javadoc.Doc> implements java.util.Comparator<com.sun.javadoc.Doc>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
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/doclets/internal/toolkit/util/Utils$DocComparator<TT;>;
boolean hasParameters(com.sun.javadoc.Doc);
descriptor: (Lcom/sun/javadoc/Doc;)Z
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.javadoc.ExecutableMemberDoc
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator<TT;>;
0 1 1 d Lcom/sun/javadoc/Doc;
MethodParameters:
Name Flags
d
com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator$DocKind getDocKind(com.sun.javadoc.Doc);
descriptor: (Lcom/sun/javadoc/Doc;)Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator$DocKind;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.sun.javadoc.Doc.isAnnotationType:()Z
ifne 1
aload 1
invokeinterface com.sun.javadoc.Doc.isAnnotationTypeElement:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
getstatic com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator$DocKind.ANNOTATION:Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator$DocKind;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.sun.javadoc.Doc.isEnum:()Z
ifne 3
aload 1
invokeinterface com.sun.javadoc.Doc.isEnumConstant:()Z
ifeq 4
3: StackMap locals:
StackMap stack:
getstatic com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator$DocKind.ENUM:Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator$DocKind;
areturn
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.sun.javadoc.Doc.isField:()Z
ifeq 6
5: getstatic com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator$DocKind.FIELD:Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator$DocKind;
areturn
6: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.sun.javadoc.Doc.isInterface:()Z
ifeq 8
7: getstatic com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator$DocKind.INTERFACE:Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator$DocKind;
areturn
8: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.sun.javadoc.Doc.isClass:()Z
ifeq 10
9: getstatic com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator$DocKind.CLASS:Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator$DocKind;
areturn
10: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.sun.javadoc.Doc.isConstructor:()Z
ifeq 12
11: getstatic com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator$DocKind.CONSTRUCTOR:Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator$DocKind;
areturn
12: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.sun.javadoc.Doc.isMethod:()Z
ifeq 14
13: getstatic com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator$DocKind.METHOD:Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator$DocKind;
areturn
14: StackMap locals:
StackMap stack:
getstatic com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator$DocKind.PACKAGE:Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator$DocKind;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator<TT;>;
0 15 1 d Lcom/sun/javadoc/Doc;
MethodParameters:
Name Flags
d
protected int compareDocKinds(com.sun.javadoc.Doc, com.sun.javadoc.Doc);
descriptor: (Lcom/sun/javadoc/Doc;Lcom/sun/javadoc/Doc;)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
aload 1
invokevirtual com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator.getDocKind:(Lcom/sun/javadoc/Doc;)Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator$DocKind;
aload 0
aload 2
invokevirtual com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator.getDocKind:(Lcom/sun/javadoc/Doc;)Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator$DocKind;
invokevirtual com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator$DocKind.compareTo:(Ljava/lang/Enum;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator<TT;>;
0 1 1 d1 Lcom/sun/javadoc/Doc;
0 1 2 d2 Lcom/sun/javadoc/Doc;
MethodParameters:
Name Flags
d1
d2
protected int compareParameters(boolean, com.sun.javadoc.Parameter[], com.sun.javadoc.Parameter[]);
descriptor: (Z[Lcom/sun/javadoc/Parameter;[Lcom/sun/javadoc/Parameter;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokevirtual com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator.getParametersAsString:([Lcom/sun/javadoc/Parameter;)Ljava/lang/String;
astore 4
start local 4 1: aload 0
aload 3
invokevirtual com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator.getParametersAsString:([Lcom/sun/javadoc/Parameter;)Ljava/lang/String;
astore 5
start local 5 2: iload 1
aload 4
aload 5
invokestatic com.sun.tools.doclets.internal.toolkit.util.Utils.compareStrings:(ZLjava/lang/String;Ljava/lang/String;)I
ireturn
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 3 0 this Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator<TT;>;
0 3 1 caseSensitive Z
0 3 2 params1 [Lcom/sun/javadoc/Parameter;
0 3 3 params2 [Lcom/sun/javadoc/Parameter;
1 3 4 s1 Ljava/lang/String;
2 3 5 s2 Ljava/lang/String;
MethodParameters:
Name Flags
caseSensitive
params1
params2
protected java.lang.String getParametersAsString(com.sun.javadoc.Parameter[]);
descriptor: ([Lcom/sun/javadoc/Parameter;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=9, 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
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 12
StackMap locals: com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator com.sun.javadoc.Parameter[] java.lang.StringBuilder top int int com.sun.javadoc.Parameter[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 3
invokeinterface com.sun.javadoc.Parameter.type:()Lcom/sun/javadoc/Type;
astore 7
start local 7 4: aload 7
invokeinterface com.sun.javadoc.Type.asParameterizedType:()Lcom/sun/javadoc/ParameterizedType;
ifnull 6
aload 7
invokeinterface com.sun.javadoc.Type.getElementType:()Lcom/sun/javadoc/Type;
ifnull 6
5: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 7
invokeinterface com.sun.javadoc.Type.getElementType:()Lcom/sun/javadoc/Type;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 7
invokeinterface com.sun.javadoc.Type.dimension:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 7
6: StackMap locals: com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator com.sun.javadoc.Parameter[] java.lang.StringBuilder com.sun.javadoc.Parameter int int com.sun.javadoc.Parameter[] com.sun.javadoc.Type
StackMap stack:
aload 7
invokeinterface com.sun.javadoc.Type.toString:()Ljava/lang/String;
7: StackMap locals:
StackMap stack: java.lang.String
astore 8
start local 8 8: aload 2
aload 7
invokeinterface com.sun.javadoc.Type.isPrimitive:()Z
ifeq 9
ldc "P"
goto 10
StackMap locals: com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator com.sun.javadoc.Parameter[] java.lang.StringBuilder com.sun.javadoc.Parameter int int com.sun.javadoc.Parameter[] com.sun.javadoc.Type java.lang.String
StackMap stack: java.lang.StringBuilder
9: ldc "R"
StackMap locals: com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator com.sun.javadoc.Parameter[] java.lang.StringBuilder com.sun.javadoc.Parameter int int com.sun.javadoc.Parameter[] com.sun.javadoc.Type java.lang.String
StackMap stack: java.lang.StringBuilder java.lang.String
10: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 8 end local 7 end local 3 11: iinc 4 1
StackMap locals: com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator com.sun.javadoc.Parameter[] java.lang.StringBuilder top int int com.sun.javadoc.Parameter[]
StackMap stack:
12: iload 4
iload 5
if_icmplt 2
13: 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 14 0 this Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator<TT;>;
0 14 1 params [Lcom/sun/javadoc/Parameter;
1 14 2 sb Ljava/lang/StringBuilder;
3 11 3 param Lcom/sun/javadoc/Parameter;
4 11 7 t Lcom/sun/javadoc/Type;
8 11 8 tname Ljava/lang/String;
MethodParameters:
Name Flags
params
protected int compareNames(com.sun.javadoc.Doc, com.sun.javadoc.Doc);
descriptor: (Lcom/sun/javadoc/Doc;Lcom/sun/javadoc/Doc;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface com.sun.javadoc.Doc.name:()Ljava/lang/String;
aload 2
invokeinterface com.sun.javadoc.Doc.name:()Ljava/lang/String;
invokestatic com.sun.tools.doclets.internal.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 Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator<TT;>;
0 1 1 d1 Lcom/sun/javadoc/Doc;
0 1 2 d2 Lcom/sun/javadoc/Doc;
MethodParameters:
Name Flags
d1
d2
protected int compareFullyQualifiedNames(com.sun.javadoc.Doc, com.sun.javadoc.Doc);
descriptor: (Lcom/sun/javadoc/Doc;Lcom/sun/javadoc/Doc;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof com.sun.javadoc.ProgramElementDoc
ifeq 2
1: aload 1
checkcast com.sun.javadoc.ProgramElementDoc
invokeinterface com.sun.javadoc.ProgramElementDoc.qualifiedName:()Ljava/lang/String;
goto 3
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.sun.javadoc.Doc.name:()Ljava/lang/String;
3: StackMap locals:
StackMap stack: java.lang.String
astore 3
start local 3 4: aload 2
instanceof com.sun.javadoc.ProgramElementDoc
ifeq 6
5: aload 2
checkcast com.sun.javadoc.ProgramElementDoc
invokeinterface com.sun.javadoc.ProgramElementDoc.qualifiedName:()Ljava/lang/String;
goto 7
6: StackMap locals: java.lang.String
StackMap stack:
aload 2
invokeinterface com.sun.javadoc.Doc.name:()Ljava/lang/String;
7: StackMap locals:
StackMap stack: java.lang.String
astore 4
start local 4 8: aload 3
aload 4
invokestatic com.sun.tools.doclets.internal.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 9 0 this Lcom/sun/tools/doclets/internal/toolkit/util/Utils$DocComparator<TT;>;
0 9 1 d1 Lcom/sun/javadoc/Doc;
0 9 2 d2 Lcom/sun/javadoc/Doc;
4 9 3 name1 Ljava/lang/String;
8 9 4 name2 Ljava/lang/String;
MethodParameters:
Name Flags
d1
d2
}
Signature: <T::Lcom/sun/javadoc/Doc;>Ljava/lang/Object;Ljava/util/Comparator<Lcom/sun/javadoc/Doc;>;
SourceFile: "Utils.java"
NestHost: com.sun.tools.doclets.internal.toolkit.util.Utils
InnerClasses:
abstract DocComparator = com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator of com.sun.tools.doclets.internal.toolkit.util.Utils
final DocKind = com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator$DocKind of com.sun.tools.doclets.internal.toolkit.util.Utils$DocComparator