public final class org.apache.maven.wagon.PathUtils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.maven.wagon.PathUtils
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/maven/wagon/PathUtils;
public static java.lang.String dirname(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "/"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 1
start local 1 1: iload 1
iflt 2
aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 3
StackMap locals: int
StackMap stack:
2: ldc ""
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 path Ljava/lang/String;
1 4 1 i I
MethodParameters:
Name Flags
path final
public static java.lang.String filename(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "/"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 1
start local 1 1: iload 1
iflt 2
aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 3
StackMap locals: int
StackMap stack:
2: aload 0
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 path Ljava/lang/String;
1 4 1 i I
MethodParameters:
Name Flags
path final
public static java.lang.String[] dirnames(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.apache.maven.wagon.PathUtils.dirname:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc "/"
iconst_m1
invokestatic org.apache.maven.wagon.PathUtils.split:(Ljava/lang/String;Ljava/lang/String;I)[Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 path Ljava/lang/String;
1 2 1 dirname Ljava/lang/String;
MethodParameters:
Name Flags
path final
private static java.lang.String[] split(java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;I)[Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 3
1: new java.util.StringTokenizer
dup
aload 0
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: goto 4
end local 3 3: StackMap locals:
StackMap stack:
new java.util.StringTokenizer
dup
aload 0
aload 1
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 4: StackMap locals: java.util.StringTokenizer
StackMap stack:
aload 3
invokevirtual java.util.StringTokenizer.countTokens:()I
istore 4
start local 4 5: iload 2
ifle 7
iload 4
iload 2
if_icmple 7
6: iload 2
istore 4
7: StackMap locals: int
StackMap stack:
iload 4
anewarray java.lang.String
astore 5
start local 5 8: iconst_0
istore 6
start local 6 9: iconst_0
istore 8
start local 8 10: goto 20
11: StackMap locals: java.lang.String java.lang.String int java.util.StringTokenizer int java.lang.String[] int top int
StackMap stack:
iload 2
ifle 16
iload 6
iload 4
iconst_1
isub
if_icmpne 16
12: aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 9
start local 9 13: aload 0
aload 9
iload 8
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
istore 7
start local 7 14: aload 5
iload 6
aload 0
iload 7
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aastore
15: goto 21
end local 9 end local 7 16: StackMap locals:
StackMap stack:
aload 5
iload 6
aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
aastore
17: aload 0
aload 5
iload 6
aaload
iload 8
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
istore 7
start local 7 18: iload 7
aload 5
iload 6
aaload
invokevirtual java.lang.String.length:()I
iadd
istore 8
19: iinc 6 1
end local 7 20: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 11
21: StackMap locals:
StackMap stack:
aload 5
areturn
end local 8 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 22 0 str Ljava/lang/String;
0 22 1 separator Ljava/lang/String;
0 22 2 max I
2 3 3 tok Ljava/util/StringTokenizer;
4 22 3 tok Ljava/util/StringTokenizer;
5 22 4 listSize I
8 22 5 list [Ljava/lang/String;
9 22 6 i I
14 16 7 lastTokenBegin I
18 20 7 lastTokenBegin I
10 22 8 lastTokenEnd I
13 16 9 endToken Ljava/lang/String;
MethodParameters:
Name Flags
str final
separator final
max final
public static java.lang.String host(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
ldc "localhost"
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.maven.wagon.PathUtils.authorization:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 3: aload 1
bipush 64
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 4: iload 2
iflt 5
aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 6
StackMap locals: java.lang.String int
StackMap stack:
5: aload 1
StackMap locals:
StackMap stack: java.lang.String
6: astore 3
start local 3 7: aload 3
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 91
if_icmpne 9
aload 3
aload 3
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 93
if_icmpne 9
8: aload 3
iconst_1
aload 3
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 10
9: StackMap locals: java.lang.String
StackMap stack:
aload 3
10: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 url Ljava/lang/String;
3 11 1 authorization Ljava/lang/String;
4 11 2 index I
7 11 3 host Ljava/lang/String;
MethodParameters:
Name Flags
url final
static java.lang.String authorization(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: ldc "localhost"
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.maven.wagon.PathUtils.protocol:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 3: aload 1
ifnull 4
aload 1
ldc "file"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
4: StackMap locals: java.lang.String
StackMap stack:
ldc "localhost"
areturn
5: StackMap locals:
StackMap stack:
aload 0
astore 2
start local 2 6: aload 1
ldc "scm"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: aload 2
aload 2
ldc ":"
iconst_4
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
8: StackMap locals: java.lang.String
StackMap stack:
aload 2
invokestatic org.apache.maven.wagon.PathUtils.protocol:(Ljava/lang/String;)Ljava/lang/String;
astore 1
9: aload 1
ldc "file"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 11
10: ldc "localhost"
areturn
11: StackMap locals:
StackMap stack:
aload 2
aload 2
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
12: aload 2
ldc "//"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 14
13: aload 2
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
14: StackMap locals:
StackMap stack:
aload 2
ldc "/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 3
start local 3 15: iload 3
ifle 17
16: aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
17: StackMap locals: int
StackMap stack:
aload 2
bipush 64
invokevirtual java.lang.String.indexOf:(I)I
istore 3
18: iload 3
ifle 19
aload 2
iload 3
invokestatic org.apache.maven.wagon.PathUtils.endOfHostPosition:(Ljava/lang/String;I)I
goto 20
StackMap locals:
StackMap stack:
19: aload 2
iconst_0
invokestatic org.apache.maven.wagon.PathUtils.endOfHostPosition:(Ljava/lang/String;I)I
StackMap locals:
StackMap stack: int
20: istore 3
21: iload 3
ifle 23
22: aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
23: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 url Ljava/lang/String;
3 24 1 protocol Ljava/lang/String;
6 24 2 host Ljava/lang/String;
15 24 3 pos I
MethodParameters:
Name Flags
url final
private static int endOfHostPosition(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
bipush 93
iload 1
invokevirtual java.lang.String.indexOf:(II)I
istore 2
start local 2 1: iload 2
ifle 2
iload 2
iconst_1
iadd
goto 3
StackMap locals: int
StackMap stack:
2: aload 0
ldc ":"
iload 1
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
StackMap locals:
StackMap stack: int
3: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 host Ljava/lang/String;
0 4 1 pos I
1 4 2 endOfIPv6Pos I
MethodParameters:
Name Flags
host
pos
public static java.lang.String protocol(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
2: ldc ""
areturn
3: StackMap locals: int
StackMap stack:
aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 url Ljava/lang/String;
1 4 1 pos I
MethodParameters:
Name Flags
url final
public static int port(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
invokestatic org.apache.maven.wagon.PathUtils.protocol:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
ldc "file"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
2: StackMap locals: java.lang.String
StackMap stack:
iconst_m1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.maven.wagon.PathUtils.authorization:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 4: aload 2
ifnonnull 6
5: iconst_m1
ireturn
6: StackMap locals: java.lang.String
StackMap stack:
aload 1
ldc "scm"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: aload 0
aload 0
ldc ":"
iconst_4
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 0
8: StackMap locals:
StackMap stack:
aload 0
iconst_1
iconst_0
ldc "file:"
iconst_0
iconst_5
invokevirtual java.lang.String.regionMatches:(ZILjava/lang/String;II)Z
ifne 9
aload 0
iconst_1
iconst_0
ldc "local:"
iconst_0
bipush 6
invokevirtual java.lang.String.regionMatches:(ZILjava/lang/String;II)Z
ifeq 10
9: StackMap locals:
StackMap stack:
iconst_m1
ireturn
10: StackMap locals:
StackMap stack:
aload 0
aload 0
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 0
11: aload 0
ldc "//"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
12: aload 0
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 0
13: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
istore 3
start local 3 14: aload 0
invokevirtual java.lang.String.length:()I
iload 3
if_icmple 21
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpne 21
15: aload 0
bipush 47
iload 3
invokevirtual java.lang.String.indexOf:(II)I
istore 4
start local 4 16: iload 4
iload 3
iconst_1
iadd
if_icmpne 18
17: iconst_m1
ireturn
18: StackMap locals: int int
StackMap stack:
iload 4
iconst_m1
if_icmpne 20
19: aload 0
invokevirtual java.lang.String.length:()I
istore 4
20: StackMap locals:
StackMap stack:
aload 0
iload 3
iconst_1
iadd
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
ireturn
end local 4 21: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 url Ljava/lang/String;
1 22 1 protocol Ljava/lang/String;
4 22 2 authorization Ljava/lang/String;
14 22 3 start I
16 21 4 end I
MethodParameters:
Name Flags
url
public static java.lang.String basedir(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: aload 0
invokestatic org.apache.maven.wagon.PathUtils.protocol:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 1
ldc "scm"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
3: aload 0
iconst_1
iconst_0
ldc "scm:svn:"
iconst_0
bipush 8
invokevirtual java.lang.String.regionMatches:(ZILjava/lang/String;II)Z
ifeq 6
4: aload 0
aload 0
ldc ":"
iconst_4
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 0
5: aload 0
invokestatic org.apache.maven.wagon.PathUtils.protocol:(Ljava/lang/String;)Ljava/lang/String;
astore 1
6: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 1
ldc "file"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 25
7: aload 0
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
8: aload 2
invokestatic org.apache.maven.wagon.PathUtils.decode:(Ljava/lang/String;)Ljava/lang/String;
astore 2
9: aload 2
ldc "//"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 22
10: aload 2
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
11: aload 2
invokevirtual java.lang.String.length:()I
iconst_2
if_icmplt 14
aload 2
iconst_1
invokevirtual java.lang.String.charAt:(I)C
bipush 124
if_icmpeq 12
aload 2
iconst_1
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpne 14
12: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.String.valueOf:(C)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 2
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
13: goto 22
14: StackMap locals:
StackMap stack:
aload 2
ldc "/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 3
start local 3 15: iload 3
iflt 17
16: aload 2
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
17: StackMap locals: int
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
iconst_2
if_icmplt 20
aload 2
iconst_1
invokevirtual java.lang.String.charAt:(I)C
bipush 124
if_icmpeq 18
aload 2
iconst_1
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpne 20
18: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.String.valueOf:(C)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 2
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
19: goto 22
20: StackMap locals:
StackMap stack:
iload 3
iflt 22
21: new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
end local 3 22: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
iconst_2
if_icmplt 43
aload 2
iconst_1
invokevirtual java.lang.String.charAt:(I)C
bipush 124
if_icmpne 43
23: new java.lang.StringBuilder
dup
aload 2
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.String.valueOf:(C)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 2
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
24: goto 43
25: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.maven.wagon.PathUtils.authorization:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 26: aload 0
invokestatic org.apache.maven.wagon.PathUtils.port:(Ljava/lang/String;)I
istore 4
start local 4 27: iconst_0
istore 5
start local 5 28: aload 1
ldc "scm"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 32
29: aload 0
ldc ":"
iconst_4
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
iconst_1
iadd
istore 5
30: aload 0
ldc ":"
iload 5
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
iconst_1
iadd
istore 5
31: goto 35
32: StackMap locals: java.lang.String int int
StackMap stack:
aload 0
ldc "://"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 6
start local 6 33: iload 6
iconst_m1
if_icmpeq 35
34: iload 6
iconst_3
iadd
istore 5
end local 6 35: StackMap locals:
StackMap stack:
iload 5
aload 3
invokevirtual java.lang.String.length:()I
iadd
istore 5
36: iload 4
iconst_m1
if_icmpeq 38
37: iload 5
iload 4
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iadd
iconst_1
iadd
istore 5
38: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
iload 5
if_icmple 43
39: aload 0
iload 5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
40: aload 2
ldc ":"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 42
41: aload 2
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
42: StackMap locals:
StackMap stack:
aload 2
bipush 58
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 2
end local 5 end local 4 end local 3 43: StackMap locals:
StackMap stack:
aload 2
ifnonnull 45
44: ldc "/"
astore 2
45: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 url Ljava/lang/String;
1 46 1 protocol Ljava/lang/String;
2 46 2 retValue Ljava/lang/String;
15 22 3 index I
26 43 3 authorization Ljava/lang/String;
27 43 4 port I
28 43 5 pos I
33 35 6 index I
MethodParameters:
Name Flags
url
private static java.lang.String decode(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: aload 0
ifnull 9
2: iconst_m1
istore 2
start local 2 3: goto 8
4: StackMap locals: java.lang.String int
StackMap stack:
iload 2
iconst_2
iadd
aload 1
invokevirtual java.lang.String.length:()I
if_icmpge 8
5: aload 1
iload 2
iconst_1
iadd
iload 2
iconst_3
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 6: aload 3
bipush 16
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
i2c
istore 4
start local 4 7: new java.lang.StringBuilder
dup
aload 1
iconst_0
iload 2
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
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
iload 2
iconst_3
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
end local 4 end local 3 8: StackMap locals:
StackMap stack:
aload 1
bipush 37
iload 2
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
dup
istore 2
ifge 4
end local 2 9: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 url Ljava/lang/String;
1 10 1 decoded Ljava/lang/String;
3 9 2 pos I
6 8 3 hexStr Ljava/lang/String;
7 8 4 ch C
MethodParameters:
Name Flags
url
public static java.lang.String user(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokestatic org.apache.maven.wagon.PathUtils.authorization:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
bipush 64
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 2: iload 2
ifle 9
3: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 4: aload 3
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 2
5: iload 2
ifle 7
6: aload 3
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
7: StackMap locals: java.lang.String int java.lang.String
StackMap stack:
iload 2
ifge 9
8: aload 3
areturn
end local 3 9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 url Ljava/lang/String;
1 10 1 host Ljava/lang/String;
2 10 2 index I
4 9 3 userInfo Ljava/lang/String;
MethodParameters:
Name Flags
url
public static java.lang.String password(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokestatic org.apache.maven.wagon.PathUtils.authorization:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
bipush 64
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 2: iload 2
ifle 7
3: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 4: aload 3
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 2
5: iload 2
iflt 7
6: aload 3
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
end local 3 7: StackMap locals: java.lang.String int
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 url Ljava/lang/String;
1 8 1 host Ljava/lang/String;
2 8 2 index I
4 7 3 userInfo Ljava/lang/String;
MethodParameters:
Name Flags
url
public static java.lang.String toRelative(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
bipush 92
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 1
1: aload 0
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
bipush 92
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 3
start local 3 2: aload 1
aload 3
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
3: aload 1
aload 3
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
start local 2 4: aload 2
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
5: aload 2
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
6: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
ifgt 10
7: ldc "."
astore 2
8: goto 10
end local 2 9: StackMap locals: java.io.File java.lang.String top java.lang.String
StackMap stack:
aload 1
astore 2
start local 2 10: StackMap locals: java.io.File java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 basedir Ljava/io/File;
0 11 1 absolutePath Ljava/lang/String;
4 9 2 relative Ljava/lang/String;
10 11 2 relative Ljava/lang/String;
2 11 3 basedirPath Ljava/lang/String;
MethodParameters:
Name Flags
basedir
absolutePath
}
SourceFile: "PathUtils.java"