public final class org.codehaus.plexus.interpolation.util.ValueSourceUtils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.codehaus.plexus.interpolation.util.ValueSourceUtils
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/codehaus/plexus/interpolation/util/ValueSourceUtils;
public static java.lang.String trimPrefix(java.lang.String, java.util.Collection<java.lang.String>, boolean);
descriptor: (Ljava/lang/String;Ljava/util/Collection;Z)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 3: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: java.lang.String java.util.Collection int java.lang.String top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 5: aload 0
aload 4
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
6: aload 0
aload 4
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
7: aload 3
ldc "."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
8: aload 3
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
9: goto 11
end local 4 10: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
11: StackMap locals: java.lang.String java.util.Collection int java.lang.String
StackMap stack:
aload 3
ifnonnull 13
iload 2
ifeq 13
12: aload 0
astore 3
13: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 expression Ljava/lang/String;
0 14 1 possiblePrefixes Ljava/util/Collection<Ljava/lang/String;>;
0 14 2 allowUnprefixedExpressions Z
3 14 3 realExpr Ljava/lang/String;
5 10 4 prefix Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;Z)Ljava/lang/String;
MethodParameters:
Name Flags
expression
possiblePrefixes
allowUnprefixedExpressions
public static java.lang.String trimPrefix(java.lang.String, java.lang.String[], boolean);
descriptor: (Ljava/lang/String;[Ljava/lang/String;Z)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 3: aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 11
StackMap locals: java.lang.String java.lang.String[] int java.lang.String top int int java.lang.String[]
StackMap stack:
4: aload 7
iload 5
aaload
astore 4
start local 4 5: aload 0
aload 4
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
6: aload 0
aload 4
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
7: aload 3
ldc "."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 12
8: aload 3
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
9: goto 12
end local 4 10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 6
if_icmplt 4
12: StackMap locals: java.lang.String java.lang.String[] int java.lang.String
StackMap stack:
aload 3
ifnonnull 14
iload 2
ifeq 14
13: aload 0
astore 3
14: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 expression Ljava/lang/String;
0 15 1 possiblePrefixes [Ljava/lang/String;
0 15 2 allowUnprefixedExpressions Z
3 15 3 realExpr Ljava/lang/String;
5 10 4 prefix Ljava/lang/String;
MethodParameters:
Name Flags
expression
possiblePrefixes
allowUnprefixedExpressions
}
SourceFile: "ValueSourceUtils.java"