public class jdk.javadoc.internal.doclets.toolkit.util.DocPath
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.javadoc.internal.doclets.toolkit.util.DocPath
super_class: java.lang.Object
{
private final java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final jdk.javadoc.internal.doclets.toolkit.util.DocPath empty;
descriptor: Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.javadoc.internal.doclets.toolkit.util.DocPath parent;
descriptor: Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new jdk.javadoc.internal.doclets.toolkit.util.DocPath
dup
ldc ""
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocPath.<init>:(Ljava/lang/String;)V
putstatic jdk.javadoc.internal.doclets.toolkit.util.DocPath.empty:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
1: new jdk.javadoc.internal.doclets.toolkit.util.DocPath
dup
ldc ".."
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocPath.<init>:(Ljava/lang/String;)V
putstatic jdk.javadoc.internal.doclets.toolkit.util.DocPath.parent:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
return
LocalVariableTable:
Start End Slot Name Signature
public static jdk.javadoc.internal.doclets.toolkit.util.DocPath create(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
StackMap locals:
StackMap stack:
1: getstatic jdk.javadoc.internal.doclets.toolkit.util.DocPath.empty:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
goto 3
StackMap locals:
StackMap stack:
2: new jdk.javadoc.internal.doclets.toolkit.util.DocPath
dup
aload 0
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocPath.<init>:(Ljava/lang/String;)V
StackMap locals:
StackMap stack: jdk.javadoc.internal.doclets.toolkit.util.DocPath
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 p Ljava/lang/String;
MethodParameters:
Name Flags
p
protected void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 2
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 3
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocPath java.lang.String
StackMap stack: jdk.javadoc.internal.doclets.toolkit.util.DocPath
2: aload 1
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocPath java.lang.String
StackMap stack: jdk.javadoc.internal.doclets.toolkit.util.DocPath java.lang.String
3: putfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
0 5 1 p Ljava/lang/String;
MethodParameters:
Name Flags
p
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.javadoc.internal.doclets.toolkit.util.DocPath
ifeq 1
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
aload 1
checkcast jdk.javadoc.internal.doclets.toolkit.util.DocPath
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
0 2 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
public jdk.javadoc.internal.doclets.toolkit.util.DocPath basename();
descriptor: ()Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 2
aload 0
goto 3
StackMap locals: int
StackMap stack:
2: new jdk.javadoc.internal.doclets.toolkit.util.DocPath
dup
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocPath.<init>:(Ljava/lang/String;)V
StackMap locals:
StackMap stack: jdk.javadoc.internal.doclets.toolkit.util.DocPath
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
1 4 1 sep I
public jdk.javadoc.internal.doclets.toolkit.util.DocPath parent();
descriptor: ()Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 2
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocPath.empty:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
goto 3
StackMap locals: int
StackMap stack:
2: new jdk.javadoc.internal.doclets.toolkit.util.DocPath
dup
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocPath.<init>:(Ljava/lang/String;)V
StackMap locals:
StackMap stack: jdk.javadoc.internal.doclets.toolkit.util.DocPath
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
1 4 1 sep I
public jdk.javadoc.internal.doclets.toolkit.util.DocPath resolve(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 4
3: new jdk.javadoc.internal.doclets.toolkit.util.DocPath
dup
aload 1
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocPath.<init>:(Ljava/lang/String;)V
areturn
4: StackMap locals:
StackMap stack:
new jdk.javadoc.internal.doclets.toolkit.util.DocPath
dup
new java.lang.StringBuilder
dup
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocPath.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
0 5 1 p Ljava/lang/String;
MethodParameters:
Name Flags
p
public jdk.javadoc.internal.doclets.toolkit.util.DocPath resolve(jdk.javadoc.internal.doclets.toolkit.util.DocPath);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 4
3: aload 1
areturn
4: StackMap locals:
StackMap stack:
new jdk.javadoc.internal.doclets.toolkit.util.DocPath
dup
new java.lang.StringBuilder
dup
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocPath.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
0 5 1 p Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
MethodParameters:
Name Flags
p
public jdk.javadoc.internal.doclets.toolkit.util.DocPath invert();
descriptor: ()Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new jdk.javadoc.internal.doclets.toolkit.util.DocPath
dup
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
ldc "[^/]+"
ldc ".."
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocPath.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
public jdk.javadoc.internal.doclets.toolkit.util.DocPath normalize();
descriptor: ()Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: aload 0
goto 3
2: StackMap locals:
StackMap stack:
new jdk.javadoc.internal.doclets.toolkit.util.DocPath
dup
ldc "/"
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocPath.normalize:(Ljava/lang/String;)Ljava/util/List;
invokestatic java.lang.String.join:(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocPath.<init>:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack: jdk.javadoc.internal.doclets.toolkit.util.DocPath
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
private static java.util.List<java.lang.String> normalize(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "/"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocPath.normalize:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
path
private static java.util.List<java.lang.String> normalize(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
jdk/javadoc/internal/doclets/toolkit/util/DocPath.lambda$0(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.noneMatch:(Ljava/util/function/Predicate;)Z
ifeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 3: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 16
StackMap locals: java.util.List java.util.List top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 5: aload 2
dup
astore 4
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 3
0: 6
46: 7
1472: 8
default: 15
}
StackMap locals: java.util.List java.util.List java.lang.String java.util.Iterator java.lang.String
StackMap stack:
6: aload 4
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 16
goto 15
StackMap locals:
StackMap stack:
7: aload 4
ldc "."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 16
goto 15
StackMap locals:
StackMap stack:
8: aload 4
ldc ".."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
goto 15
9: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.size:()I
istore 5
start local 5 10: iload 5
ifle 13
aload 1
iload 5
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
ldc ".."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
11: aload 1
iload 5
iconst_1
isub
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
12: goto 16
13: StackMap locals: int
StackMap stack:
aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: goto 16
end local 5 15: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 16: StackMap locals: java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
17: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 parts Ljava/util/List<Ljava/lang/String;>;
3 18 1 normalized Ljava/util/List<Ljava/lang/String;>;
5 16 2 part Ljava/lang/String;
10 15 5 n I
Signature: (Ljava/util/List<Ljava/lang/String;>;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
parts
public jdk.javadoc.internal.doclets.toolkit.util.DocPath relativize(jdk.javadoc.internal.doclets.toolkit.util.DocPath);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 4
3: aload 1
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocPath.normalize:(Ljava/lang/String;)Ljava/util/List;
astore 2
start local 2 5: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 3
start local 3 6: iload 3
iconst_m1
if_icmpne 8
7: aload 1
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocPath.normalize:(Ljava/lang/String;)Ljava/util/List;
goto 9
8: StackMap locals: java.util.List int
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
iconst_0
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocPath.normalize:(Ljava/lang/String;)Ljava/util/List;
9: StackMap locals:
StackMap stack: java.util.List
astore 4
start local 4 10: iconst_0
istore 5
start local 5 11: goto 13
12: StackMap locals: java.util.List int
StackMap stack:
iinc 5 1
13: StackMap locals:
StackMap stack:
iload 5
aload 2
invokeinterface java.util.List.size:()I
if_icmpge 16
14: iload 5
aload 4
invokeinterface java.util.List.size:()I
if_icmpge 16
15: aload 2
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
aload 4
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
16: StackMap locals:
StackMap stack:
iload 5
aload 2
invokeinterface java.util.List.size:()I
if_icmpne 19
17: aload 4
iload 5
aload 4
invokeinterface java.util.List.size:()I
invokeinterface java.util.List.subList:(II)Ljava/util/List;
astore 6
start local 6 18: goto 22
end local 6 19: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 20: aload 6
aload 2
invokeinterface java.util.List.size:()I
iload 5
isub
iconst_1
isub
ldc ".."
invokestatic java.util.Collections.nCopies:(ILjava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
21: aload 6
aload 4
iload 5
aload 4
invokeinterface java.util.List.size:()I
invokeinterface java.util.List.subList:(II)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
22: StackMap locals: java.util.List
StackMap stack:
new jdk.javadoc.internal.doclets.toolkit.util.DocPath
dup
ldc "/"
aload 6
invokestatic java.lang.String.join:(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocPath.<init>:(Ljava/lang/String;)V
areturn
end local 6 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 23 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
0 23 1 other Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
5 23 2 originParts Ljava/util/List<Ljava/lang/String;>;
6 23 3 sep I
10 23 4 destParts Ljava/util/List<Ljava/lang/String;>;
11 23 5 common I
18 19 6 newParts Ljava/util/List<Ljava/lang/String;>;
20 23 6 newParts Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
other
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
public jdk.javadoc.internal.doclets.toolkit.util.DocLink fragment(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocLink;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.javadoc.internal.doclets.toolkit.util.DocLink
dup
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
aload 1
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocLink.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
0 1 1 fragment Ljava/lang/String;
MethodParameters:
Name Flags
fragment
public java.lang.String getPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.DocPath.path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
private static boolean lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifne 1
aload 0
ldc "."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
aload 0
ldc ".."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 s Ljava/lang/String;
}
SourceFile: "DocPath.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles