public class org.codehaus.plexus.util.MatchPattern
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.codehaus.plexus.util.MatchPattern
super_class: java.lang.Object
{
private final java.lang.String source;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String regexPattern;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String separator;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String[] tokenized;
descriptor: [Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final char[][] tokenizedChar;
descriptor: [[C
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, 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
invokestatic org.codehaus.plexus.util.SelectorUtils.isRegexPrefixedPattern:(Ljava/lang/String;)Z
ifeq 6
2: aload 1
ldc "%regex["
invokevirtual java.lang.String.length:()I
3: aload 1
invokevirtual java.lang.String.length:()I
ldc "]"
invokevirtual java.lang.String.length:()I
isub
4: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
5: goto 7
6: StackMap locals: org.codehaus.plexus.util.MatchPattern java.lang.String java.lang.String
StackMap stack: org.codehaus.plexus.util.MatchPattern
aconst_null
7: StackMap locals: org.codehaus.plexus.util.MatchPattern java.lang.String java.lang.String
StackMap stack: org.codehaus.plexus.util.MatchPattern java.lang.String
putfield org.codehaus.plexus.util.MatchPattern.regexPattern:Ljava/lang/String;
8: aload 0
aload 1
invokestatic org.codehaus.plexus.util.SelectorUtils.isAntPrefixedPattern:(Ljava/lang/String;)Z
ifeq 13
9: aload 1
ldc "%ant["
invokevirtual java.lang.String.length:()I
10: aload 1
invokevirtual java.lang.String.length:()I
ldc "]"
invokevirtual java.lang.String.length:()I
isub
11: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
12: goto 14
13: StackMap locals:
StackMap stack: org.codehaus.plexus.util.MatchPattern
aload 1
14: StackMap locals: org.codehaus.plexus.util.MatchPattern java.lang.String java.lang.String
StackMap stack: org.codehaus.plexus.util.MatchPattern java.lang.String
putfield org.codehaus.plexus.util.MatchPattern.source:Ljava/lang/String;
15: aload 0
aload 2
putfield org.codehaus.plexus.util.MatchPattern.separator:Ljava/lang/String;
16: aload 0
aload 0
getfield org.codehaus.plexus.util.MatchPattern.source:Ljava/lang/String;
aload 2
invokestatic org.codehaus.plexus.util.MatchPattern.tokenizePathToString:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
putfield org.codehaus.plexus.util.MatchPattern.tokenized:[Ljava/lang/String;
17: aload 0
aload 0
getfield org.codehaus.plexus.util.MatchPattern.tokenized:[Ljava/lang/String;
arraylength
anewarray char[]
putfield org.codehaus.plexus.util.MatchPattern.tokenizedChar:[[C
18: iconst_0
istore 3
start local 3 19: goto 22
20: StackMap locals: int
StackMap stack:
aload 0
getfield org.codehaus.plexus.util.MatchPattern.tokenizedChar:[[C
iload 3
aload 0
getfield org.codehaus.plexus.util.MatchPattern.tokenized:[Ljava/lang/String;
iload 3
aaload
invokevirtual java.lang.String.toCharArray:()[C
aastore
21: iinc 3 1
StackMap locals:
StackMap stack:
22: iload 3
aload 0
getfield org.codehaus.plexus.util.MatchPattern.tokenized:[Ljava/lang/String;
arraylength
if_icmplt 20
end local 3 23: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/codehaus/plexus/util/MatchPattern;
0 24 1 source Ljava/lang/String;
0 24 2 separator Ljava/lang/String;
19 23 3 i I
MethodParameters:
Name Flags
source
separator
public boolean matchPath(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.codehaus.plexus.util.MatchPattern.regexPattern:Ljava/lang/String;
ifnull 2
1: aload 1
aload 0
getfield org.codehaus.plexus.util.MatchPattern.regexPattern:Ljava/lang/String;
invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield org.codehaus.plexus.util.MatchPattern.separator:Ljava/lang/String;
iload 2
invokestatic org.codehaus.plexus.util.SelectorUtils.matchAntPathPattern:(Lorg/codehaus/plexus/util/MatchPattern;Ljava/lang/String;Ljava/lang/String;Z)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/codehaus/plexus/util/MatchPattern;
0 3 1 str Ljava/lang/String;
0 3 2 isCaseSensitive Z
MethodParameters:
Name Flags
str
isCaseSensitive
boolean matchPath(java.lang.String, char[][], boolean);
descriptor: (Ljava/lang/String;[[CZ)Z
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.codehaus.plexus.util.MatchPattern.regexPattern:Ljava/lang/String;
ifnull 2
1: aload 1
aload 0
getfield org.codehaus.plexus.util.MatchPattern.regexPattern:Ljava/lang/String;
invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.codehaus.plexus.util.MatchPattern.getTokenizedPathChars:()[[C
aload 2
iload 3
invokestatic org.codehaus.plexus.util.SelectorUtils.matchAntPathPattern:([[C[[CZ)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/codehaus/plexus/util/MatchPattern;
0 3 1 str Ljava/lang/String;
0 3 2 strDirs [[C
0 3 3 isCaseSensitive Z
MethodParameters:
Name Flags
str
strDirs
isCaseSensitive
public boolean matchPatternStart(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 0
getfield org.codehaus.plexus.util.MatchPattern.regexPattern:Ljava/lang/String;
ifnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
bipush 92
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 3
start local 3 3: aload 0
aload 1
getstatic java.io.File.separator:Ljava/lang/String;
iload 2
invokestatic org.codehaus.plexus.util.SelectorUtils.matchAntPathPatternStart:(Lorg/codehaus/plexus/util/MatchPattern;Ljava/lang/String;Ljava/lang/String;Z)Z
ifne 6
4: aload 0
aload 3
ldc "/"
iload 2
invokestatic org.codehaus.plexus.util.SelectorUtils.matchAntPathPatternStart:(Lorg/codehaus/plexus/util/MatchPattern;Ljava/lang/String;Ljava/lang/String;Z)Z
ifne 6
5: iconst_0
ireturn
StackMap locals: java.lang.String
StackMap stack:
6: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/codehaus/plexus/util/MatchPattern;
0 7 1 str Ljava/lang/String;
0 7 2 isCaseSensitive Z
3 7 3 altStr Ljava/lang/String;
MethodParameters:
Name Flags
str
isCaseSensitive
public java.lang.String[] getTokenizedPathString();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.codehaus.plexus.util.MatchPattern.tokenized:[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/codehaus/plexus/util/MatchPattern;
public char[][] getTokenizedPathChars();
descriptor: ()[[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.codehaus.plexus.util.MatchPattern.tokenizedChar:[[C
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/codehaus/plexus/util/MatchPattern;
public boolean startsWith(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.codehaus.plexus.util.MatchPattern.source:Ljava/lang/String;
aload 1
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/codehaus/plexus/util/MatchPattern;
0 1 1 string Ljava/lang/String;
MethodParameters:
Name Flags
string
static java.lang.String[] tokenizePathToString(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: 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 2: goto 4
3: StackMap locals: java.util.List java.util.StringTokenizer
StackMap stack:
aload 2
aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
5: aload 2
aload 2
invokeinterface java.util.List.size:()I
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 path Ljava/lang/String;
0 6 1 separator Ljava/lang/String;
1 6 2 ret Ljava/util/List<Ljava/lang/String;>;
2 6 3 st Ljava/util/StringTokenizer;
MethodParameters:
Name Flags
path
separator
public static org.codehaus.plexus.util.MatchPattern fromString(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/codehaus/plexus/util/MatchPattern;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.codehaus.plexus.util.MatchPattern
dup
aload 0
getstatic java.io.File.separator:Ljava/lang/String;
invokespecial org.codehaus.plexus.util.MatchPattern.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 source Ljava/lang/String;
MethodParameters:
Name Flags
source
}
SourceFile: "MatchPattern.java"