public class org.codehaus.plexus.util.MatchPatterns
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.codehaus.plexus.util.MatchPatterns
super_class: java.lang.Object
{
private final org.codehaus.plexus.util.MatchPattern[] patterns;
descriptor: [Lorg/codehaus/plexus/util/MatchPattern;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(org.codehaus.plexus.util.MatchPattern[]);
descriptor: ([Lorg/codehaus/plexus/util/MatchPattern;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, 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
putfield org.codehaus.plexus.util.MatchPatterns.patterns:[Lorg/codehaus/plexus/util/MatchPattern;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/codehaus/plexus/util/MatchPatterns;
0 3 1 patterns [Lorg/codehaus/plexus/util/MatchPattern;
MethodParameters:
Name Flags
patterns
public boolean matches(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic java.io.File.separator:Ljava/lang/String;
invokestatic org.codehaus.plexus.util.MatchPattern.tokenizePathToString:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 1: aload 0
aload 1
aload 3
iload 2
invokevirtual org.codehaus.plexus.util.MatchPatterns.matches:(Ljava/lang/String;[Ljava/lang/String;Z)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/codehaus/plexus/util/MatchPatterns;
0 2 1 name Ljava/lang/String;
0 2 2 isCaseSensitive Z
1 2 3 tokenized [Ljava/lang/String;
MethodParameters:
Name Flags
name
isCaseSensitive
public boolean matches(java.lang.String, java.lang.String[], boolean);
descriptor: (Ljava/lang/String;[Ljava/lang/String;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
arraylength
anewarray char[]
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: goto 5
3: StackMap locals: char[][] int
StackMap stack:
aload 4
iload 5
aload 2
iload 5
aaload
invokevirtual java.lang.String.toCharArray:()[C
aastore
4: iinc 5 1
StackMap locals:
StackMap stack:
5: iload 5
aload 2
arraylength
if_icmplt 3
end local 5 6: aload 0
getfield org.codehaus.plexus.util.MatchPatterns.patterns:[Lorg/codehaus/plexus/util/MatchPattern;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 11
StackMap locals: org.codehaus.plexus.util.MatchPatterns java.lang.String java.lang.String[] int char[][] top int int org.codehaus.plexus.util.MatchPattern[]
StackMap stack:
7: aload 8
iload 6
aaload
astore 5
start local 5 8: aload 5
aload 1
aload 4
iload 3
invokevirtual org.codehaus.plexus.util.MatchPattern.matchPath:(Ljava/lang/String;[[CZ)Z
ifeq 10
9: iconst_1
ireturn
end local 5 10: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
iload 7
if_icmplt 7
12: iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/codehaus/plexus/util/MatchPatterns;
0 13 1 name Ljava/lang/String;
0 13 2 tokenizedName [Ljava/lang/String;
0 13 3 isCaseSensitive Z
1 13 4 tokenizedNameChar [[C
2 6 5 i I
8 10 5 pattern Lorg/codehaus/plexus/util/MatchPattern;
MethodParameters:
Name Flags
name
tokenizedName
isCaseSensitive
public boolean matchesPatternStart(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.codehaus.plexus.util.MatchPatterns.patterns:[Lorg/codehaus/plexus/util/MatchPattern;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 5
StackMap locals: org.codehaus.plexus.util.MatchPatterns java.lang.String int top int int org.codehaus.plexus.util.MatchPattern[]
StackMap stack:
1: aload 6
iload 4
aaload
astore 3
start local 3 2: aload 3
aload 1
iload 2
invokevirtual org.codehaus.plexus.util.MatchPattern.matchPatternStart:(Ljava/lang/String;Z)Z
ifeq 4
3: iconst_1
ireturn
end local 3 4: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 5
if_icmplt 1
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/codehaus/plexus/util/MatchPatterns;
0 7 1 name Ljava/lang/String;
0 7 2 isCaseSensitive Z
2 4 3 includesPattern Lorg/codehaus/plexus/util/MatchPattern;
MethodParameters:
Name Flags
name
isCaseSensitive
public static org.codehaus.plexus.util.MatchPatterns from(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Lorg/codehaus/plexus/util/MatchPatterns;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
arraylength
istore 1
start local 1 1: iload 1
anewarray org.codehaus.plexus.util.MatchPattern
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int org.codehaus.plexus.util.MatchPattern[] int
StackMap stack:
aload 2
iload 3
aload 0
iload 3
aaload
invokestatic org.codehaus.plexus.util.MatchPattern.fromString:(Ljava/lang/String;)Lorg/codehaus/plexus/util/MatchPattern;
aastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 1
if_icmplt 4
end local 3 7: new org.codehaus.plexus.util.MatchPatterns
dup
aload 2
invokespecial org.codehaus.plexus.util.MatchPatterns.<init>:([Lorg/codehaus/plexus/util/MatchPattern;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 sources [Ljava/lang/String;
1 8 1 length I
2 8 2 result [Lorg/codehaus/plexus/util/MatchPattern;
3 7 3 i I
MethodParameters:
Name Flags
sources
public static org.codehaus.plexus.util.MatchPatterns from(java.lang.Iterable<java.lang.String>);
descriptor: (Ljava/lang/Iterable;)Lorg/codehaus/plexus/util/MatchPatterns;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.codehaus.plexus.util.MatchPatterns
dup
aload 0
invokestatic org.codehaus.plexus.util.MatchPatterns.getMatchPatterns:(Ljava/lang/Iterable;)[Lorg/codehaus/plexus/util/MatchPattern;
invokespecial org.codehaus.plexus.util.MatchPatterns.<init>:([Lorg/codehaus/plexus/util/MatchPattern;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 strings Ljava/lang/Iterable<Ljava/lang/String;>;
Signature: (Ljava/lang/Iterable<Ljava/lang/String;>;)Lorg/codehaus/plexus/util/MatchPatterns;
MethodParameters:
Name Flags
strings
private static org.codehaus.plexus.util.MatchPattern[] getMatchPatterns(java.lang.Iterable<java.lang.String>);
descriptor: (Ljava/lang/Iterable;)[Lorg/codehaus/plexus/util/MatchPattern;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.lang.Iterable java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 1
aload 2
invokestatic org.codehaus.plexus.util.MatchPattern.fromString:(Ljava/lang/String;)Lorg/codehaus/plexus/util/MatchPattern;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
aload 1
invokeinterface java.util.List.size:()I
anewarray org.codehaus.plexus.util.MatchPattern
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.codehaus.plexus.util.MatchPattern[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 items Ljava/lang/Iterable<Ljava/lang/String;>;
1 6 1 result Ljava/util/List<Lorg/codehaus/plexus/util/MatchPattern;>;
3 4 2 string Ljava/lang/String;
Signature: (Ljava/lang/Iterable<Ljava/lang/String;>;)[Lorg/codehaus/plexus/util/MatchPattern;
MethodParameters:
Name Flags
items
}
SourceFile: "MatchPatterns.java"