public class jdk.javadoc.internal.doclets.toolkit.util.DocLink
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.javadoc.internal.doclets.toolkit.util.DocLink
super_class: java.lang.Object
{
final jdk.javadoc.internal.doclets.toolkit.util.DocPath path;
descriptor: Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
flags: (0x0010) ACC_FINAL
final java.lang.String fragment;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
public static jdk.javadoc.internal.doclets.toolkit.util.DocLink fragment(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocLink;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new jdk.javadoc.internal.doclets.toolkit.util.DocLink
dup
aconst_null
aload 0
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocLink.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fragment Ljava/lang/String;
MethodParameters:
Name Flags
fragment
public void <init>(jdk.javadoc.internal.doclets.toolkit.util.DocPath);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocLink.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocLink;
0 2 1 path Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
MethodParameters:
Name Flags
path
public void <init>(jdk.javadoc.internal.doclets.toolkit.util.DocPath, java.lang.String);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.javadoc.internal.doclets.toolkit.util.DocLink.path:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
2: aload 0
aload 2
putfield jdk.javadoc.internal.doclets.toolkit.util.DocLink.fragment:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocLink;
0 4 1 path Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
0 4 2 fragment Ljava/lang/String;
MethodParameters:
Name Flags
path
fragment
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocPath.create:(Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
aload 2
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocLink.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocLink;
0 2 1 path Ljava/lang/String;
0 2 2 fragment Ljava/lang/String;
MethodParameters:
Name Flags
path
fragment
public jdk.javadoc.internal.doclets.toolkit.util.DocLink relativizeAgainst(jdk.javadoc.internal.doclets.toolkit.util.DocPath);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljdk/javadoc/internal/doclets/toolkit/util/DocLink;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.isEmpty:()Z
ifne 1
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocLink.path:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
ifnonnull 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocLink.path:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocLink.isAbsoluteURL:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Z
ifeq 4
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocLink.path:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.relativize:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
astore 2
start local 2 5: aload 2
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.isEmpty:()Z
ifeq 7
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocLink.fragment:Ljava/lang/String;
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocLink.isEmpty:(Ljava/lang/String;)Z
ifeq 7
6: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocLink.path:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.basename:()Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
astore 2
7: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocPath
StackMap stack:
new jdk.javadoc.internal.doclets.toolkit.util.DocLink
dup
aload 2
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocLink.fragment:Ljava/lang/String;
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocLink.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocLink;
0 8 1 base Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
5 8 2 newPath Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
MethodParameters:
Name Flags
base
private boolean isAbsoluteURL(jdk.javadoc.internal.doclets.toolkit.util.DocPath);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.getPath:()Ljava/lang/String;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 9
3: StackMap locals: java.lang.String int
StackMap stack:
aload 2
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 4: iload 4
invokestatic java.lang.Character.isLetter:(C)Z
ifeq 6
5: goto 8
6: StackMap locals: int
StackMap stack:
iload 4
bipush 58
if_icmpne 7
iload 3
iconst_2
iadd
aload 2
invokevirtual java.lang.String.length:()I
if_icmpge 7
aload 2
iload 3
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 7
aload 2
iload 3
iconst_2
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 7
iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
end local 4 8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 2
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 3 10: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocLink;
0 11 1 path Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
1 11 2 s Ljava/lang/String;
2 10 3 i I
4 8 4 c C
MethodParameters:
Name Flags
path
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocLink.path:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
ifnull 2
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocLink.fragment:Ljava/lang/String;
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocLink.isEmpty:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocLink.path:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.getPath:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocLink.path:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
ifnull 5
4: aload 1
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocLink.path:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocLink.fragment:Ljava/lang/String;
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocLink.isEmpty:(Ljava/lang/String;)Z
ifne 7
6: aload 1
ldc "#"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocLink.fragment:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocLink;
3 8 1 sb Ljava/lang/StringBuilder;
private static boolean isEmpty(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
}
SourceFile: "DocLink.java"