public final class org.codehaus.plexus.util.SelectorUtils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.codehaus.plexus.util.SelectorUtils
super_class: java.lang.Object
{
public static final java.lang.String PATTERN_HANDLER_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "["
public static final java.lang.String PATTERN_HANDLER_SUFFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "]"
public static final java.lang.String REGEX_HANDLER_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "%regex["
public static final java.lang.String ANT_HANDLER_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "%ant["
private static org.codehaus.plexus.util.SelectorUtils instance;
descriptor: Lorg/codehaus/plexus/util/SelectorUtils;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: .line 86
new org.codehaus.plexus.util.SelectorUtils
dup
invokespecial org.codehaus.plexus.util.SelectorUtils.<init>:()V
putstatic org.codehaus.plexus.util.SelectorUtils.instance:Lorg/codehaus/plexus/util/SelectorUtils;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // org.codehaus.plexus.util.SelectorUtils this
0: .line 91
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 93
return
end local 0 // org.codehaus.plexus.util.SelectorUtils this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/codehaus/plexus/util/SelectorUtils;
public static org.codehaus.plexus.util.SelectorUtils getInstance();
descriptor: ()Lorg/codehaus/plexus/util/SelectorUtils;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: .line 100
getstatic org.codehaus.plexus.util.SelectorUtils.instance:Lorg/codehaus/plexus/util/SelectorUtils;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean matchPatternStart(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 // java.lang.String pattern
start local 1 // java.lang.String str
0: .line 115
aload 0 /* pattern */
aload 1 /* str */
iconst_1
invokestatic org.codehaus.plexus.util.SelectorUtils.matchPatternStart:(Ljava/lang/String;Ljava/lang/String;Z)Z
ireturn
end local 1 // java.lang.String str
end local 0 // java.lang.String pattern
LocalVariableTable:
Start End Slot Name Signature
0 1 0 pattern Ljava/lang/String;
0 1 1 str Ljava/lang/String;
MethodParameters:
Name Flags
pattern
str
public static boolean matchPatternStart(java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 // java.lang.String pattern
start local 1 // java.lang.String str
start local 2 // boolean isCaseSensitive
0: .line 131
aload 0 /* pattern */
invokestatic org.codehaus.plexus.util.SelectorUtils.isRegexPrefixedPattern:(Ljava/lang/String;)Z
ifeq 2
1: .line 135
iconst_1
ireturn
2: .line 139
StackMap locals:
StackMap stack:
aload 0 /* pattern */
invokestatic org.codehaus.plexus.util.SelectorUtils.isAntPrefixedPattern:(Ljava/lang/String;)Z
ifeq 6
3: .line 141
aload 0 /* pattern */
ldc "%ant["
invokevirtual java.lang.String.length:()I
4: .line 142
aload 0 /* pattern */
invokevirtual java.lang.String.length:()I
ldc "]"
invokevirtual java.lang.String.length:()I
isub
5: .line 141
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 0 /* pattern */
6: .line 145
StackMap locals:
StackMap stack:
aload 1 /* str */
bipush 92
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 3 /* altStr */
start local 3 // java.lang.String altStr
7: .line 147
aload 0 /* pattern */
aload 1 /* str */
getstatic java.io.File.separator:Ljava/lang/String;
iload 2 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.matchAntPathPatternStart:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
ifne 10
8: .line 148
aload 0 /* pattern */
aload 3 /* altStr */
ldc "/"
iload 2 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.matchAntPathPatternStart:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
ifne 10
9: .line 147
iconst_0
ireturn
StackMap locals: java.lang.String
StackMap stack:
10: iconst_1
ireturn
end local 3 // java.lang.String altStr
end local 2 // boolean isCaseSensitive
end local 1 // java.lang.String str
end local 0 // java.lang.String pattern
LocalVariableTable:
Start End Slot Name Signature
0 11 0 pattern Ljava/lang/String;
0 11 1 str Ljava/lang/String;
0 11 2 isCaseSensitive Z
7 11 3 altStr Ljava/lang/String;
MethodParameters:
Name Flags
pattern
str
isCaseSensitive
static boolean isAntPrefixedPattern(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 // java.lang.String pattern
0: .line 154
aload 0 /* pattern */
invokevirtual java.lang.String.length:()I
ldc "%ant["
invokevirtual java.lang.String.length:()I
ldc "]"
invokevirtual java.lang.String.length:()I
iadd
iconst_1
iadd
if_icmple 3
1: .line 155
aload 0 /* pattern */
ldc "%ant["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
aload 0 /* pattern */
ldc "]"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 3
2: .line 154
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 // java.lang.String pattern
LocalVariableTable:
Start End Slot Name Signature
0 4 0 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
static boolean matchAntPathPatternStart(org.codehaus.plexus.util.MatchPattern, java.lang.String, java.lang.String, boolean);
descriptor: (Lorg/codehaus/plexus/util/MatchPattern;Ljava/lang/String;Ljava/lang/String;Z)Z
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 // org.codehaus.plexus.util.MatchPattern pattern
start local 1 // java.lang.String str
start local 2 // java.lang.String separator
start local 3 // boolean isCaseSensitive
0: .line 162
aload 0 /* pattern */
aload 1 /* str */
aload 2 /* separator */
invokestatic org.codehaus.plexus.util.SelectorUtils.separatorPatternStartSlashMismatch:(Lorg/codehaus/plexus/util/MatchPattern;Ljava/lang/String;Ljava/lang/String;)Z
ifeq 2
1: .line 164
iconst_0
ireturn
2: .line 167
StackMap locals:
StackMap stack:
aload 0 /* pattern */
invokevirtual org.codehaus.plexus.util.MatchPattern.getTokenizedPathString:()[Ljava/lang/String;
aload 1 /* str */
aload 2 /* separator */
iload 3 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.matchAntPathPatternStart:([Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
ireturn
end local 3 // boolean isCaseSensitive
end local 2 // java.lang.String separator
end local 1 // java.lang.String str
end local 0 // org.codehaus.plexus.util.MatchPattern pattern
LocalVariableTable:
Start End Slot Name Signature
0 3 0 pattern Lorg/codehaus/plexus/util/MatchPattern;
0 3 1 str Ljava/lang/String;
0 3 2 separator Ljava/lang/String;
0 3 3 isCaseSensitive Z
MethodParameters:
Name Flags
pattern
str
separator
isCaseSensitive
static boolean matchAntPathPatternStart(java.lang.String, java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 // java.lang.String pattern
start local 1 // java.lang.String str
start local 2 // java.lang.String separator
start local 3 // boolean isCaseSensitive
0: .line 176
aload 0 /* pattern */
aload 1 /* str */
aload 2 /* separator */
invokestatic org.codehaus.plexus.util.SelectorUtils.separatorPatternStartSlashMismatch:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z
ifeq 2
1: .line 178
iconst_0
ireturn
2: .line 181
StackMap locals:
StackMap stack:
aload 0 /* pattern */
aload 2 /* separator */
invokestatic org.codehaus.plexus.util.SelectorUtils.tokenizePathToString:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
astore 4 /* patDirs */
start local 4 // java.lang.String[] patDirs
3: .line 182
aload 4 /* patDirs */
aload 1 /* str */
aload 2 /* separator */
iload 3 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.matchAntPathPatternStart:([Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
ireturn
end local 4 // java.lang.String[] patDirs
end local 3 // boolean isCaseSensitive
end local 2 // java.lang.String separator
end local 1 // java.lang.String str
end local 0 // java.lang.String pattern
LocalVariableTable:
Start End Slot Name Signature
0 4 0 pattern Ljava/lang/String;
0 4 1 str Ljava/lang/String;
0 4 2 separator Ljava/lang/String;
0 4 3 isCaseSensitive Z
3 4 4 patDirs [Ljava/lang/String;
MethodParameters:
Name Flags
pattern
str
separator
isCaseSensitive
private static boolean separatorPatternStartSlashMismatch(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 // java.lang.String pattern
start local 1 // java.lang.String str
start local 2 // java.lang.String separator
0: .line 191
aload 1 /* str */
aload 2 /* separator */
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
aload 0 /* pattern */
aload 2 /* separator */
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ixor
ireturn
end local 2 // java.lang.String separator
end local 1 // java.lang.String str
end local 0 // java.lang.String pattern
LocalVariableTable:
Start End Slot Name Signature
0 1 0 pattern Ljava/lang/String;
0 1 1 str Ljava/lang/String;
0 1 2 separator Ljava/lang/String;
MethodParameters:
Name Flags
pattern
str
separator
private static boolean separatorPatternStartSlashMismatch(org.codehaus.plexus.util.MatchPattern, java.lang.String, java.lang.String);
descriptor: (Lorg/codehaus/plexus/util/MatchPattern;Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 // org.codehaus.plexus.util.MatchPattern matchPattern
start local 1 // java.lang.String str
start local 2 // java.lang.String separator
0: .line 196
aload 1 /* str */
aload 2 /* separator */
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
aload 0 /* matchPattern */
aload 2 /* separator */
invokevirtual org.codehaus.plexus.util.MatchPattern.startsWith:(Ljava/lang/String;)Z
ixor
ireturn
end local 2 // java.lang.String separator
end local 1 // java.lang.String str
end local 0 // org.codehaus.plexus.util.MatchPattern matchPattern
LocalVariableTable:
Start End Slot Name Signature
0 1 0 matchPattern Lorg/codehaus/plexus/util/MatchPattern;
0 1 1 str Ljava/lang/String;
0 1 2 separator Ljava/lang/String;
MethodParameters:
Name Flags
matchPattern
str
separator
static boolean matchAntPathPatternStart(java.lang.String[], java.lang.String, java.lang.String, boolean);
descriptor: ([Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=10, args_size=4
start local 0 // java.lang.String[] patDirs
start local 1 // java.lang.String str
start local 2 // java.lang.String separator
start local 3 // boolean isCaseSensitive
0: .line 201
aload 1 /* str */
aload 2 /* separator */
invokestatic org.codehaus.plexus.util.SelectorUtils.tokenizePathToString:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
astore 4 /* strDirs */
start local 4 // java.lang.String[] strDirs
1: .line 203
iconst_0
istore 5 /* patIdxStart */
start local 5 // int patIdxStart
2: .line 204
aload 0 /* patDirs */
arraylength
iconst_1
isub
istore 6 /* patIdxEnd */
start local 6 // int patIdxEnd
3: .line 205
iconst_0
istore 7 /* strIdxStart */
start local 7 // int strIdxStart
4: .line 206
aload 4 /* strDirs */
arraylength
iconst_1
isub
istore 8 /* strIdxEnd */
start local 8 // int strIdxEnd
5: .line 209
goto 13
6: .line 211
StackMap locals: java.lang.String[] java.lang.String java.lang.String int java.lang.String[] int int int int
StackMap stack:
aload 0 /* patDirs */
iload 5 /* patIdxStart */
aaload
astore 9 /* patDir */
start local 9 // java.lang.String patDir
7: .line 212
aload 9 /* patDir */
ldc "**"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: .line 214
goto 14
9: .line 216
StackMap locals: java.lang.String
StackMap stack:
aload 9 /* patDir */
aload 4 /* strDirs */
iload 7 /* strIdxStart */
aaload
iload 3 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.match:(Ljava/lang/String;Ljava/lang/String;Z)Z
ifne 11
10: .line 218
iconst_0
ireturn
11: .line 220
StackMap locals:
StackMap stack:
iinc 5 /* patIdxStart */ 1
12: .line 221
iinc 7 /* strIdxStart */ 1
end local 9 // java.lang.String patDir
13: .line 209
StackMap locals:
StackMap stack:
iload 5 /* patIdxStart */
iload 6 /* patIdxEnd */
if_icmpgt 14
iload 7 /* strIdxStart */
iload 8 /* strIdxEnd */
if_icmple 6
14: .line 224
StackMap locals:
StackMap stack:
iload 7 /* strIdxStart */
iload 8 /* strIdxEnd */
if_icmpgt 15
iload 5 /* patIdxStart */
iload 6 /* patIdxEnd */
if_icmple 15
iconst_0
ireturn
StackMap locals:
StackMap stack:
15: iconst_1
ireturn
end local 8 // int strIdxEnd
end local 7 // int strIdxStart
end local 6 // int patIdxEnd
end local 5 // int patIdxStart
end local 4 // java.lang.String[] strDirs
end local 3 // boolean isCaseSensitive
end local 2 // java.lang.String separator
end local 1 // java.lang.String str
end local 0 // java.lang.String[] patDirs
LocalVariableTable:
Start End Slot Name Signature
0 16 0 patDirs [Ljava/lang/String;
0 16 1 str Ljava/lang/String;
0 16 2 separator Ljava/lang/String;
0 16 3 isCaseSensitive Z
1 16 4 strDirs [Ljava/lang/String;
2 16 5 patIdxStart I
3 16 6 patIdxEnd I
4 16 7 strIdxStart I
5 16 8 strIdxEnd I
7 13 9 patDir Ljava/lang/String;
MethodParameters:
Name Flags
patDirs
str
separator
isCaseSensitive
public static boolean matchPath(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 // java.lang.String pattern
start local 1 // java.lang.String str
0: .line 236
aload 0 /* pattern */
aload 1 /* str */
iconst_1
invokestatic org.codehaus.plexus.util.SelectorUtils.matchPath:(Ljava/lang/String;Ljava/lang/String;Z)Z
ireturn
end local 1 // java.lang.String str
end local 0 // java.lang.String pattern
LocalVariableTable:
Start End Slot Name Signature
0 1 0 pattern Ljava/lang/String;
0 1 1 str Ljava/lang/String;
MethodParameters:
Name Flags
pattern
str
public static boolean matchPath(java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 // java.lang.String pattern
start local 1 // java.lang.String str
start local 2 // boolean isCaseSensitive
0: .line 249
aload 0 /* pattern */
aload 1 /* str */
getstatic java.io.File.separator:Ljava/lang/String;
iload 2 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.matchPath:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
ireturn
end local 2 // boolean isCaseSensitive
end local 1 // java.lang.String str
end local 0 // java.lang.String pattern
LocalVariableTable:
Start End Slot Name Signature
0 1 0 pattern Ljava/lang/String;
0 1 1 str Ljava/lang/String;
0 1 2 isCaseSensitive Z
MethodParameters:
Name Flags
pattern
str
isCaseSensitive
public static boolean matchPath(java.lang.String, java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 // java.lang.String pattern
start local 1 // java.lang.String str
start local 2 // java.lang.String separator
start local 3 // boolean isCaseSensitive
0: .line 254
aload 0 /* pattern */
invokestatic org.codehaus.plexus.util.SelectorUtils.isRegexPrefixedPattern:(Ljava/lang/String;)Z
ifeq 4
1: .line 257
aload 0 /* pattern */
ldc "%regex["
invokevirtual java.lang.String.length:()I
aload 0 /* pattern */
invokevirtual java.lang.String.length:()I
ldc "]"
invokevirtual java.lang.String.length:()I
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
2: .line 256
astore 0 /* pattern */
3: .line 259
aload 1 /* str */
aload 0 /* pattern */
invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
ireturn
4: .line 263
StackMap locals:
StackMap stack:
aload 0 /* pattern */
invokestatic org.codehaus.plexus.util.SelectorUtils.isAntPrefixedPattern:(Ljava/lang/String;)Z
ifeq 8
5: .line 265
aload 0 /* pattern */
ldc "%ant["
invokevirtual java.lang.String.length:()I
6: .line 266
aload 0 /* pattern */
invokevirtual java.lang.String.length:()I
ldc "]"
invokevirtual java.lang.String.length:()I
isub
7: .line 265
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 0 /* pattern */
8: .line 269
StackMap locals:
StackMap stack:
aload 0 /* pattern */
aload 1 /* str */
aload 2 /* separator */
iload 3 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.matchAntPathPattern:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
ireturn
end local 3 // boolean isCaseSensitive
end local 2 // java.lang.String separator
end local 1 // java.lang.String str
end local 0 // java.lang.String pattern
LocalVariableTable:
Start End Slot Name Signature
0 9 0 pattern Ljava/lang/String;
0 9 1 str Ljava/lang/String;
0 9 2 separator Ljava/lang/String;
0 9 3 isCaseSensitive Z
MethodParameters:
Name Flags
pattern
str
separator
isCaseSensitive
static boolean isRegexPrefixedPattern(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 // java.lang.String pattern
0: .line 275
aload 0 /* pattern */
invokevirtual java.lang.String.length:()I
ldc "%regex["
invokevirtual java.lang.String.length:()I
ldc "]"
invokevirtual java.lang.String.length:()I
iadd
iconst_1
iadd
if_icmple 3
1: .line 276
aload 0 /* pattern */
ldc "%regex["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
aload 0 /* pattern */
ldc "]"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 3
2: .line 275
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 // java.lang.String pattern
LocalVariableTable:
Start End Slot Name Signature
0 4 0 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
static boolean matchAntPathPattern(org.codehaus.plexus.util.MatchPattern, java.lang.String, java.lang.String, boolean);
descriptor: (Lorg/codehaus/plexus/util/MatchPattern;Ljava/lang/String;Ljava/lang/String;Z)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=6, args_size=4
start local 0 // org.codehaus.plexus.util.MatchPattern matchPattern
start local 1 // java.lang.String str
start local 2 // java.lang.String separator
start local 3 // boolean isCaseSensitive
0: .line 282
aload 0 /* matchPattern */
aload 1 /* str */
aload 2 /* separator */
invokestatic org.codehaus.plexus.util.SelectorUtils.separatorPatternStartSlashMismatch:(Lorg/codehaus/plexus/util/MatchPattern;Ljava/lang/String;Ljava/lang/String;)Z
ifeq 2
1: .line 284
iconst_0
ireturn
2: .line 286
StackMap locals:
StackMap stack:
aload 0 /* matchPattern */
invokevirtual org.codehaus.plexus.util.MatchPattern.getTokenizedPathString:()[Ljava/lang/String;
astore 4 /* patDirs */
start local 4 // java.lang.String[] patDirs
3: .line 287
aload 1 /* str */
aload 2 /* separator */
invokestatic org.codehaus.plexus.util.SelectorUtils.tokenizePathToString:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
astore 5 /* strDirs */
start local 5 // java.lang.String[] strDirs
4: .line 288
aload 4 /* patDirs */
aload 5 /* strDirs */
iload 3 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.matchAntPathPattern:([Ljava/lang/String;[Ljava/lang/String;Z)Z
ireturn
end local 5 // java.lang.String[] strDirs
end local 4 // java.lang.String[] patDirs
end local 3 // boolean isCaseSensitive
end local 2 // java.lang.String separator
end local 1 // java.lang.String str
end local 0 // org.codehaus.plexus.util.MatchPattern matchPattern
LocalVariableTable:
Start End Slot Name Signature
0 5 0 matchPattern Lorg/codehaus/plexus/util/MatchPattern;
0 5 1 str Ljava/lang/String;
0 5 2 separator Ljava/lang/String;
0 5 3 isCaseSensitive Z
3 5 4 patDirs [Ljava/lang/String;
4 5 5 strDirs [Ljava/lang/String;
MethodParameters:
Name Flags
matchPattern
str
separator
isCaseSensitive
static boolean matchAntPathPattern(java.lang.String, java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=6, args_size=4
start local 0 // java.lang.String pattern
start local 1 // java.lang.String str
start local 2 // java.lang.String separator
start local 3 // boolean isCaseSensitive
0: .line 293
aload 0 /* pattern */
aload 1 /* str */
aload 2 /* separator */
invokestatic org.codehaus.plexus.util.SelectorUtils.separatorPatternStartSlashMismatch:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z
ifeq 2
1: .line 295
iconst_0
ireturn
2: .line 297
StackMap locals:
StackMap stack:
aload 0 /* pattern */
aload 2 /* separator */
invokestatic org.codehaus.plexus.util.SelectorUtils.tokenizePathToString:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
astore 4 /* patDirs */
start local 4 // java.lang.String[] patDirs
3: .line 298
aload 1 /* str */
aload 2 /* separator */
invokestatic org.codehaus.plexus.util.SelectorUtils.tokenizePathToString:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
astore 5 /* strDirs */
start local 5 // java.lang.String[] strDirs
4: .line 299
aload 4 /* patDirs */
aload 5 /* strDirs */
iload 3 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.matchAntPathPattern:([Ljava/lang/String;[Ljava/lang/String;Z)Z
ireturn
end local 5 // java.lang.String[] strDirs
end local 4 // java.lang.String[] patDirs
end local 3 // boolean isCaseSensitive
end local 2 // java.lang.String separator
end local 1 // java.lang.String str
end local 0 // java.lang.String pattern
LocalVariableTable:
Start End Slot Name Signature
0 5 0 pattern Ljava/lang/String;
0 5 1 str Ljava/lang/String;
0 5 2 separator Ljava/lang/String;
0 5 3 isCaseSensitive Z
3 5 4 patDirs [Ljava/lang/String;
4 5 5 strDirs [Ljava/lang/String;
MethodParameters:
Name Flags
pattern
str
separator
isCaseSensitive
static boolean matchAntPathPattern(java.lang.String[], java.lang.String[], boolean);
descriptor: ([Ljava/lang/String;[Ljava/lang/String;Z)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=15, args_size=3
start local 0 // java.lang.String[] patDirs
start local 1 // java.lang.String[] strDirs
start local 2 // boolean isCaseSensitive
0: .line 305
iconst_0
istore 3 /* patIdxStart */
start local 3 // int patIdxStart
1: .line 306
aload 0 /* patDirs */
arraylength
iconst_1
isub
istore 4 /* patIdxEnd */
start local 4 // int patIdxEnd
2: .line 307
iconst_0
istore 5 /* strIdxStart */
start local 5 // int strIdxStart
3: .line 308
aload 1 /* strDirs */
arraylength
iconst_1
isub
istore 6 /* strIdxEnd */
start local 6 // int strIdxEnd
4: .line 311
goto 12
5: .line 313
StackMap locals: java.lang.String[] java.lang.String[] int int int int int
StackMap stack:
aload 0 /* patDirs */
iload 3 /* patIdxStart */
aaload
astore 7 /* patDir */
start local 7 // java.lang.String patDir
6: .line 314
aload 7 /* patDir */
ldc "**"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: .line 316
goto 13
8: .line 318
StackMap locals: java.lang.String
StackMap stack:
aload 7 /* patDir */
aload 1 /* strDirs */
iload 5 /* strIdxStart */
aaload
iload 2 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.match:(Ljava/lang/String;Ljava/lang/String;Z)Z
ifne 10
9: .line 320
iconst_0
ireturn
10: .line 322
StackMap locals:
StackMap stack:
iinc 3 /* patIdxStart */ 1
11: .line 323
iinc 5 /* strIdxStart */ 1
end local 7 // java.lang.String patDir
12: .line 311
StackMap locals:
StackMap stack:
iload 3 /* patIdxStart */
iload 4 /* patIdxEnd */
if_icmpgt 13
iload 5 /* strIdxStart */
iload 6 /* strIdxEnd */
if_icmple 5
13: .line 325
StackMap locals:
StackMap stack:
iload 5 /* strIdxStart */
iload 6 /* strIdxEnd */
if_icmple 21
14: .line 328
iload 3 /* patIdxStart */
istore 7 /* i */
start local 7 // int i
15: goto 19
16: .line 330
StackMap locals: int
StackMap stack:
aload 0 /* patDirs */
iload 7 /* i */
aaload
ldc "**"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
17: .line 332
iconst_0
ireturn
18: .line 328
StackMap locals:
StackMap stack:
iinc 7 /* i */ 1
StackMap locals:
StackMap stack:
19: iload 7 /* i */
iload 4 /* patIdxEnd */
if_icmple 16
end local 7 // int i
20: .line 335
iconst_1
ireturn
21: .line 339
StackMap locals:
StackMap stack:
iload 3 /* patIdxStart */
iload 4 /* patIdxEnd */
if_icmple 30
22: .line 342
iconst_0
ireturn
23: .line 349
StackMap locals:
StackMap stack:
aload 0 /* patDirs */
iload 4 /* patIdxEnd */
aaload
astore 7 /* patDir */
start local 7 // java.lang.String patDir
24: .line 350
aload 7 /* patDir */
ldc "**"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
25: .line 352
goto 31
26: .line 354
StackMap locals: java.lang.String
StackMap stack:
aload 7 /* patDir */
aload 1 /* strDirs */
iload 6 /* strIdxEnd */
aaload
iload 2 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.match:(Ljava/lang/String;Ljava/lang/String;Z)Z
ifne 28
27: .line 356
iconst_0
ireturn
28: .line 358
StackMap locals:
StackMap stack:
iinc 4 /* patIdxEnd */ -1
29: .line 359
iinc 6 /* strIdxEnd */ -1
end local 7 // java.lang.String patDir
30: .line 347
StackMap locals:
StackMap stack:
iload 3 /* patIdxStart */
iload 4 /* patIdxEnd */
if_icmpgt 31
iload 5 /* strIdxStart */
iload 6 /* strIdxEnd */
if_icmple 23
31: .line 361
StackMap locals:
StackMap stack:
iload 5 /* strIdxStart */
iload 6 /* strIdxEnd */
if_icmple 71
32: .line 364
iload 3 /* patIdxStart */
istore 7 /* i */
start local 7 // int i
33: goto 37
34: .line 366
StackMap locals: int
StackMap stack:
aload 0 /* patDirs */
iload 7 /* i */
aaload
ldc "**"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 36
35: .line 368
iconst_0
ireturn
36: .line 364
StackMap locals:
StackMap stack:
iinc 7 /* i */ 1
StackMap locals:
StackMap stack:
37: iload 7 /* i */
iload 4 /* patIdxEnd */
if_icmple 34
end local 7 // int i
38: .line 371
iconst_1
ireturn
39: .line 376
StackMap locals:
StackMap stack:
iconst_m1
istore 7 /* patIdxTmp */
start local 7 // int patIdxTmp
40: .line 377
iload 3 /* patIdxStart */
iconst_1
iadd
istore 8 /* i */
start local 8 // int i
41: goto 46
42: .line 379
StackMap locals: int int
StackMap stack:
aload 0 /* patDirs */
iload 8 /* i */
aaload
ldc "**"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 45
43: .line 381
iload 8 /* i */
istore 7 /* patIdxTmp */
44: .line 382
goto 47
45: .line 377
StackMap locals:
StackMap stack:
iinc 8 /* i */ 1
StackMap locals:
StackMap stack:
46: iload 8 /* i */
iload 4 /* patIdxEnd */
if_icmple 42
end local 8 // int i
47: .line 385
StackMap locals:
StackMap stack:
iload 7 /* patIdxTmp */
iload 3 /* patIdxStart */
iconst_1
iadd
if_icmpne 50
48: .line 388
iinc 3 /* patIdxStart */ 1
49: .line 389
goto 71
50: .line 393
StackMap locals:
StackMap stack:
iload 7 /* patIdxTmp */
iload 3 /* patIdxStart */
isub
iconst_1
isub
istore 8 /* patLength */
start local 8 // int patLength
51: .line 394
iload 6 /* strIdxEnd */
iload 5 /* strIdxStart */
isub
iconst_1
iadd
istore 9 /* strLength */
start local 9 // int strLength
52: .line 395
iconst_m1
istore 10 /* foundIdx */
start local 10 // int foundIdx
53: .line 396
iconst_0
istore 11 /* i */
start local 11 // int i
54: goto 66
55: .line 398
StackMap locals: java.lang.String[] java.lang.String[] int int int int int int int int int int
StackMap stack:
iconst_0
istore 12 /* j */
start local 12 // int j
56: goto 62
57: .line 400
StackMap locals: int
StackMap stack:
aload 0 /* patDirs */
iload 3 /* patIdxStart */
iload 12 /* j */
iadd
iconst_1
iadd
aaload
astore 13 /* subPat */
start local 13 // java.lang.String subPat
58: .line 401
aload 1 /* strDirs */
iload 5 /* strIdxStart */
iload 11 /* i */
iadd
iload 12 /* j */
iadd
aaload
astore 14 /* subStr */
start local 14 // java.lang.String subStr
59: .line 402
aload 13 /* subPat */
aload 14 /* subStr */
iload 2 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.match:(Ljava/lang/String;Ljava/lang/String;Z)Z
ifne 61
60: .line 404
goto 65
end local 14 // java.lang.String subStr
end local 13 // java.lang.String subPat
61: .line 398
StackMap locals:
StackMap stack:
iinc 12 /* j */ 1
StackMap locals:
StackMap stack:
62: iload 12 /* j */
iload 8 /* patLength */
if_icmplt 57
end local 12 // int j
63: .line 408
iload 5 /* strIdxStart */
iload 11 /* i */
iadd
istore 10 /* foundIdx */
64: .line 409
goto 67
65: .line 396
StackMap locals:
StackMap stack:
iinc 11 /* i */ 1
StackMap locals:
StackMap stack:
66: iload 11 /* i */
iload 9 /* strLength */
iload 8 /* patLength */
isub
if_icmple 55
end local 11 // int i
67: .line 412
StackMap locals:
StackMap stack:
iload 10 /* foundIdx */
iconst_m1
if_icmpne 69
68: .line 414
iconst_0
ireturn
69: .line 417
StackMap locals:
StackMap stack:
iload 7 /* patIdxTmp */
istore 3 /* patIdxStart */
70: .line 418
iload 10 /* foundIdx */
iload 8 /* patLength */
iadd
istore 5 /* strIdxStart */
end local 10 // int foundIdx
end local 9 // int strLength
end local 8 // int patLength
end local 7 // int patIdxTmp
71: .line 374
StackMap locals: java.lang.String[] java.lang.String[] int int int int int
StackMap stack:
iload 3 /* patIdxStart */
iload 4 /* patIdxEnd */
if_icmpeq 72
iload 5 /* strIdxStart */
iload 6 /* strIdxEnd */
if_icmple 39
72: .line 421
StackMap locals:
StackMap stack:
iload 3 /* patIdxStart */
istore 7 /* i */
start local 7 // int i
73: goto 77
74: .line 423
StackMap locals: int
StackMap stack:
aload 0 /* patDirs */
iload 7 /* i */
aaload
ldc "**"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 76
75: .line 425
iconst_0
ireturn
76: .line 421
StackMap locals:
StackMap stack:
iinc 7 /* i */ 1
StackMap locals:
StackMap stack:
77: iload 7 /* i */
iload 4 /* patIdxEnd */
if_icmple 74
end local 7 // int i
78: .line 429
iconst_1
ireturn
end local 6 // int strIdxEnd
end local 5 // int strIdxStart
end local 4 // int patIdxEnd
end local 3 // int patIdxStart
end local 2 // boolean isCaseSensitive
end local 1 // java.lang.String[] strDirs
end local 0 // java.lang.String[] patDirs
LocalVariableTable:
Start End Slot Name Signature
0 79 0 patDirs [Ljava/lang/String;
0 79 1 strDirs [Ljava/lang/String;
0 79 2 isCaseSensitive Z
1 79 3 patIdxStart I
2 79 4 patIdxEnd I
3 79 5 strIdxStart I
4 79 6 strIdxEnd I
6 12 7 patDir Ljava/lang/String;
15 20 7 i I
24 30 7 patDir Ljava/lang/String;
33 38 7 i I
40 71 7 patIdxTmp I
41 47 8 i I
51 71 8 patLength I
52 71 9 strLength I
53 71 10 foundIdx I
54 67 11 i I
56 63 12 j I
58 61 13 subPat Ljava/lang/String;
59 61 14 subStr Ljava/lang/String;
73 78 7 i I
MethodParameters:
Name Flags
patDirs
strDirs
isCaseSensitive
static boolean matchAntPathPattern(char[][], char[][], boolean);
descriptor: ([[C[[CZ)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=15, args_size=3
start local 0 // char[][] patDirs
start local 1 // char[][] strDirs
start local 2 // boolean isCaseSensitive
0: .line 434
iconst_0
istore 3 /* patIdxStart */
start local 3 // int patIdxStart
1: .line 435
aload 0 /* patDirs */
arraylength
iconst_1
isub
istore 4 /* patIdxEnd */
start local 4 // int patIdxEnd
2: .line 436
iconst_0
istore 5 /* strIdxStart */
start local 5 // int strIdxStart
3: .line 437
aload 1 /* strDirs */
arraylength
iconst_1
isub
istore 6 /* strIdxEnd */
start local 6 // int strIdxEnd
4: .line 440
goto 12
5: .line 442
StackMap locals: char[][] char[][] int int int int int
StackMap stack:
aload 0 /* patDirs */
iload 3 /* patIdxStart */
aaload
astore 7 /* patDir */
start local 7 // char[] patDir
6: .line 443
aload 7 /* patDir */
invokestatic org.codehaus.plexus.util.SelectorUtils.isDoubleStar:([C)Z
ifeq 8
7: .line 445
goto 13
8: .line 447
StackMap locals: char[]
StackMap stack:
aload 7 /* patDir */
aload 1 /* strDirs */
iload 5 /* strIdxStart */
aaload
iload 2 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.match:([C[CZ)Z
ifne 10
9: .line 449
iconst_0
ireturn
10: .line 451
StackMap locals:
StackMap stack:
iinc 3 /* patIdxStart */ 1
11: .line 452
iinc 5 /* strIdxStart */ 1
end local 7 // char[] patDir
12: .line 440
StackMap locals:
StackMap stack:
iload 3 /* patIdxStart */
iload 4 /* patIdxEnd */
if_icmpgt 13
iload 5 /* strIdxStart */
iload 6 /* strIdxEnd */
if_icmple 5
13: .line 454
StackMap locals:
StackMap stack:
iload 5 /* strIdxStart */
iload 6 /* strIdxEnd */
if_icmple 21
14: .line 457
iload 3 /* patIdxStart */
istore 7 /* i */
start local 7 // int i
15: goto 19
16: .line 459
StackMap locals: int
StackMap stack:
aload 0 /* patDirs */
iload 7 /* i */
aaload
invokestatic org.codehaus.plexus.util.SelectorUtils.isDoubleStar:([C)Z
ifne 18
17: .line 461
iconst_0
ireturn
18: .line 457
StackMap locals:
StackMap stack:
iinc 7 /* i */ 1
StackMap locals:
StackMap stack:
19: iload 7 /* i */
iload 4 /* patIdxEnd */
if_icmple 16
end local 7 // int i
20: .line 464
iconst_1
ireturn
21: .line 468
StackMap locals:
StackMap stack:
iload 3 /* patIdxStart */
iload 4 /* patIdxEnd */
if_icmple 30
22: .line 471
iconst_0
ireturn
23: .line 478
StackMap locals:
StackMap stack:
aload 0 /* patDirs */
iload 4 /* patIdxEnd */
aaload
astore 7 /* patDir */
start local 7 // char[] patDir
24: .line 479
aload 7 /* patDir */
invokestatic org.codehaus.plexus.util.SelectorUtils.isDoubleStar:([C)Z
ifeq 26
25: .line 481
goto 31
26: .line 483
StackMap locals: char[]
StackMap stack:
aload 7 /* patDir */
aload 1 /* strDirs */
iload 6 /* strIdxEnd */
aaload
iload 2 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.match:([C[CZ)Z
ifne 28
27: .line 485
iconst_0
ireturn
28: .line 487
StackMap locals:
StackMap stack:
iinc 4 /* patIdxEnd */ -1
29: .line 488
iinc 6 /* strIdxEnd */ -1
end local 7 // char[] patDir
30: .line 476
StackMap locals:
StackMap stack:
iload 3 /* patIdxStart */
iload 4 /* patIdxEnd */
if_icmpgt 31
iload 5 /* strIdxStart */
iload 6 /* strIdxEnd */
if_icmple 23
31: .line 490
StackMap locals:
StackMap stack:
iload 5 /* strIdxStart */
iload 6 /* strIdxEnd */
if_icmple 71
32: .line 493
iload 3 /* patIdxStart */
istore 7 /* i */
start local 7 // int i
33: goto 37
34: .line 495
StackMap locals: int
StackMap stack:
aload 0 /* patDirs */
iload 7 /* i */
aaload
invokestatic org.codehaus.plexus.util.SelectorUtils.isDoubleStar:([C)Z
ifne 36
35: .line 497
iconst_0
ireturn
36: .line 493
StackMap locals:
StackMap stack:
iinc 7 /* i */ 1
StackMap locals:
StackMap stack:
37: iload 7 /* i */
iload 4 /* patIdxEnd */
if_icmple 34
end local 7 // int i
38: .line 500
iconst_1
ireturn
39: .line 505
StackMap locals:
StackMap stack:
iconst_m1
istore 7 /* patIdxTmp */
start local 7 // int patIdxTmp
40: .line 506
iload 3 /* patIdxStart */
iconst_1
iadd
istore 8 /* i */
start local 8 // int i
41: goto 46
42: .line 508
StackMap locals: int int
StackMap stack:
aload 0 /* patDirs */
iload 8 /* i */
aaload
invokestatic org.codehaus.plexus.util.SelectorUtils.isDoubleStar:([C)Z
ifeq 45
43: .line 510
iload 8 /* i */
istore 7 /* patIdxTmp */
44: .line 511
goto 47
45: .line 506
StackMap locals:
StackMap stack:
iinc 8 /* i */ 1
StackMap locals:
StackMap stack:
46: iload 8 /* i */
iload 4 /* patIdxEnd */
if_icmple 42
end local 8 // int i
47: .line 514
StackMap locals:
StackMap stack:
iload 7 /* patIdxTmp */
iload 3 /* patIdxStart */
iconst_1
iadd
if_icmpne 50
48: .line 517
iinc 3 /* patIdxStart */ 1
49: .line 518
goto 71
50: .line 522
StackMap locals:
StackMap stack:
iload 7 /* patIdxTmp */
iload 3 /* patIdxStart */
isub
iconst_1
isub
istore 8 /* patLength */
start local 8 // int patLength
51: .line 523
iload 6 /* strIdxEnd */
iload 5 /* strIdxStart */
isub
iconst_1
iadd
istore 9 /* strLength */
start local 9 // int strLength
52: .line 524
iconst_m1
istore 10 /* foundIdx */
start local 10 // int foundIdx
53: .line 525
iconst_0
istore 11 /* i */
start local 11 // int i
54: goto 66
55: .line 527
StackMap locals: char[][] char[][] int int int int int int int int int int
StackMap stack:
iconst_0
istore 12 /* j */
start local 12 // int j
56: goto 62
57: .line 529
StackMap locals: int
StackMap stack:
aload 0 /* patDirs */
iload 3 /* patIdxStart */
iload 12 /* j */
iadd
iconst_1
iadd
aaload
astore 13 /* subPat */
start local 13 // char[] subPat
58: .line 530
aload 1 /* strDirs */
iload 5 /* strIdxStart */
iload 11 /* i */
iadd
iload 12 /* j */
iadd
aaload
astore 14 /* subStr */
start local 14 // char[] subStr
59: .line 531
aload 13 /* subPat */
aload 14 /* subStr */
iload 2 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.match:([C[CZ)Z
ifne 61
60: .line 533
goto 65
end local 14 // char[] subStr
end local 13 // char[] subPat
61: .line 527
StackMap locals:
StackMap stack:
iinc 12 /* j */ 1
StackMap locals:
StackMap stack:
62: iload 12 /* j */
iload 8 /* patLength */
if_icmplt 57
end local 12 // int j
63: .line 537
iload 5 /* strIdxStart */
iload 11 /* i */
iadd
istore 10 /* foundIdx */
64: .line 538
goto 67
65: .line 525
StackMap locals:
StackMap stack:
iinc 11 /* i */ 1
StackMap locals:
StackMap stack:
66: iload 11 /* i */
iload 9 /* strLength */
iload 8 /* patLength */
isub
if_icmple 55
end local 11 // int i
67: .line 541
StackMap locals:
StackMap stack:
iload 10 /* foundIdx */
iconst_m1
if_icmpne 69
68: .line 543
iconst_0
ireturn
69: .line 546
StackMap locals:
StackMap stack:
iload 7 /* patIdxTmp */
istore 3 /* patIdxStart */
70: .line 547
iload 10 /* foundIdx */
iload 8 /* patLength */
iadd
istore 5 /* strIdxStart */
end local 10 // int foundIdx
end local 9 // int strLength
end local 8 // int patLength
end local 7 // int patIdxTmp
71: .line 503
StackMap locals: char[][] char[][] int int int int int
StackMap stack:
iload 3 /* patIdxStart */
iload 4 /* patIdxEnd */
if_icmpeq 72
iload 5 /* strIdxStart */
iload 6 /* strIdxEnd */
if_icmple 39
72: .line 550
StackMap locals:
StackMap stack:
iload 3 /* patIdxStart */
istore 7 /* i */
start local 7 // int i
73: goto 77
74: .line 552
StackMap locals: int
StackMap stack:
aload 0 /* patDirs */
iload 7 /* i */
aaload
invokestatic org.codehaus.plexus.util.SelectorUtils.isDoubleStar:([C)Z
ifne 76
75: .line 554
iconst_0
ireturn
76: .line 550
StackMap locals:
StackMap stack:
iinc 7 /* i */ 1
StackMap locals:
StackMap stack:
77: iload 7 /* i */
iload 4 /* patIdxEnd */
if_icmple 74
end local 7 // int i
78: .line 558
iconst_1
ireturn
end local 6 // int strIdxEnd
end local 5 // int strIdxStart
end local 4 // int patIdxEnd
end local 3 // int patIdxStart
end local 2 // boolean isCaseSensitive
end local 1 // char[][] strDirs
end local 0 // char[][] patDirs
LocalVariableTable:
Start End Slot Name Signature
0 79 0 patDirs [[C
0 79 1 strDirs [[C
0 79 2 isCaseSensitive Z
1 79 3 patIdxStart I
2 79 4 patIdxEnd I
3 79 5 strIdxStart I
4 79 6 strIdxEnd I
6 12 7 patDir [C
15 20 7 i I
24 30 7 patDir [C
33 38 7 i I
40 71 7 patIdxTmp I
41 47 8 i I
51 71 8 patLength I
52 71 9 strLength I
53 71 10 foundIdx I
54 67 11 i I
56 63 12 j I
58 61 13 subPat [C
59 61 14 subStr [C
73 78 7 i I
MethodParameters:
Name Flags
patDirs
strDirs
isCaseSensitive
private static boolean isDoubleStar(char[]);
descriptor: ([C)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 // char[] patDir
0: .line 563
aload 0 /* patDir */
ifnull 1
aload 0 /* patDir */
arraylength
iconst_2
if_icmpne 1
aload 0 /* patDir */
iconst_0
caload
bipush 42
if_icmpne 1
aload 0 /* patDir */
iconst_1
caload
bipush 42
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 // char[] patDir
LocalVariableTable:
Start End Slot Name Signature
0 2 0 patDir [C
MethodParameters:
Name Flags
patDir
public static boolean match(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 // java.lang.String pattern
start local 1 // java.lang.String str
0: .line 577
aload 0 /* pattern */
aload 1 /* str */
iconst_1
invokestatic org.codehaus.plexus.util.SelectorUtils.match:(Ljava/lang/String;Ljava/lang/String;Z)Z
ireturn
end local 1 // java.lang.String str
end local 0 // java.lang.String pattern
LocalVariableTable:
Start End Slot Name Signature
0 1 0 pattern Ljava/lang/String;
0 1 1 str Ljava/lang/String;
MethodParameters:
Name Flags
pattern
str
public static boolean match(java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 // java.lang.String pattern
start local 1 // java.lang.String str
start local 2 // boolean isCaseSensitive
0: .line 592
aload 0 /* pattern */
invokevirtual java.lang.String.toCharArray:()[C
astore 3 /* patArr */
start local 3 // char[] patArr
1: .line 593
aload 1 /* str */
invokevirtual java.lang.String.toCharArray:()[C
astore 4 /* strArr */
start local 4 // char[] strArr
2: .line 594
aload 3 /* patArr */
aload 4 /* strArr */
iload 2 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.match:([C[CZ)Z
ireturn
end local 4 // char[] strArr
end local 3 // char[] patArr
end local 2 // boolean isCaseSensitive
end local 1 // java.lang.String str
end local 0 // java.lang.String pattern
LocalVariableTable:
Start End Slot Name Signature
0 3 0 pattern Ljava/lang/String;
0 3 1 str Ljava/lang/String;
0 3 2 isCaseSensitive Z
1 3 3 patArr [C
2 3 4 strArr [C
MethodParameters:
Name Flags
pattern
str
isCaseSensitive
public static boolean match(char[], char[], boolean);
descriptor: ([C[CZ)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=15, args_size=3
start local 0 // char[] patArr
start local 1 // char[] strArr
start local 2 // boolean isCaseSensitive
0: .line 599
iconst_0
istore 3 /* patIdxStart */
start local 3 // int patIdxStart
1: .line 600
aload 0 /* patArr */
arraylength
iconst_1
isub
istore 4 /* patIdxEnd */
start local 4 // int patIdxEnd
2: .line 601
iconst_0
istore 5 /* strIdxStart */
start local 5 // int strIdxStart
3: .line 602
aload 1 /* strArr */
arraylength
iconst_1
isub
istore 6 /* strIdxEnd */
start local 6 // int strIdxEnd
4: .line 605
iconst_0
istore 8 /* containsStar */
start local 8 // boolean containsStar
5: .line 606
aload 0 /* patArr */
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 11
StackMap locals: char[] char[] int int int int int top int top int int char[]
StackMap stack:
6: aload 12
iload 10
caload
istore 9 /* aPatArr */
start local 9 // char aPatArr
7: .line 608
iload 9 /* aPatArr */
bipush 42
if_icmpne 10
8: .line 610
iconst_1
istore 8 /* containsStar */
9: .line 611
goto 12
end local 9 // char aPatArr
10: .line 606
StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
11: iload 10
iload 11
if_icmplt 6
12: .line 615
StackMap locals: char[] char[] int int int int int top int
StackMap stack:
iload 8 /* containsStar */
ifne 23
13: .line 618
iload 4 /* patIdxEnd */
iload 6 /* strIdxEnd */
if_icmpeq 15
14: .line 620
iconst_0
ireturn
15: .line 622
StackMap locals:
StackMap stack:
iconst_0
istore 9 /* i */
start local 9 // int i
16: goto 21
17: .line 624
StackMap locals: int
StackMap stack:
aload 0 /* patArr */
iload 9 /* i */
caload
istore 7 /* ch */
start local 7 // char ch
18: .line 625
iload 7 /* ch */
bipush 63
if_icmpeq 20
iload 7 /* ch */
aload 1 /* strArr */
iload 9 /* i */
caload
iload 2 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.equals:(CCZ)Z
ifne 20
19: .line 627
iconst_0
ireturn
20: .line 622
StackMap locals: char[] char[] int int int int int int int int
StackMap stack:
iinc 9 /* i */ 1
end local 7 // char ch
StackMap locals: char[] char[] int int int int int top int int
StackMap stack:
21: iload 9 /* i */
iload 4 /* patIdxEnd */
if_icmple 17
end local 9 // int i
22: .line 630
iconst_1
ireturn
23: .line 633
StackMap locals:
StackMap stack:
iload 4 /* patIdxEnd */
ifne 29
24: .line 635
iconst_1
ireturn
start local 7 // char ch
25: .line 641
StackMap locals: char[] char[] int int int int int int int
StackMap stack:
iload 7 /* ch */
bipush 63
if_icmpeq 27
iload 7 /* ch */
aload 1 /* strArr */
iload 5 /* strIdxStart */
caload
iload 2 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.equals:(CCZ)Z
ifne 27
26: .line 643
iconst_0
ireturn
27: .line 645
StackMap locals:
StackMap stack:
iinc 3 /* patIdxStart */ 1
28: .line 646
iinc 5 /* strIdxStart */ 1
end local 7 // char ch
29: .line 639
StackMap locals: char[] char[] int int int int int top int
StackMap stack:
aload 0 /* patArr */
iload 3 /* patIdxStart */
caload
dup
istore 7 /* ch */
start local 7 // char ch
30: bipush 42
if_icmpeq 31
iload 5 /* strIdxStart */
iload 6 /* strIdxEnd */
if_icmple 25
31: .line 648
StackMap locals: char[] char[] int int int int int int int
StackMap stack:
iload 5 /* strIdxStart */
iload 6 /* strIdxEnd */
if_icmple 43
32: .line 652
iload 3 /* patIdxStart */
istore 9 /* i */
start local 9 // int i
33: goto 37
34: .line 654
StackMap locals: int
StackMap stack:
aload 0 /* patArr */
iload 9 /* i */
caload
bipush 42
if_icmpeq 36
35: .line 656
iconst_0
ireturn
36: .line 652
StackMap locals:
StackMap stack:
iinc 9 /* i */ 1
StackMap locals:
StackMap stack:
37: iload 9 /* i */
iload 4 /* patIdxEnd */
if_icmple 34
end local 9 // int i
38: .line 659
iconst_1
ireturn
39: .line 665
StackMap locals:
StackMap stack:
iload 7 /* ch */
bipush 63
if_icmpeq 41
iload 7 /* ch */
aload 1 /* strArr */
iload 6 /* strIdxEnd */
caload
iload 2 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.equals:(CCZ)Z
ifne 41
40: .line 667
iconst_0
ireturn
41: .line 669
StackMap locals:
StackMap stack:
iinc 4 /* patIdxEnd */ -1
42: .line 670
iinc 6 /* strIdxEnd */ -1
43: .line 663
StackMap locals:
StackMap stack:
aload 0 /* patArr */
iload 4 /* patIdxEnd */
caload
dup
istore 7 /* ch */
bipush 42
if_icmpeq 44
iload 5 /* strIdxStart */
iload 6 /* strIdxEnd */
if_icmple 39
44: .line 672
StackMap locals:
StackMap stack:
iload 5 /* strIdxStart */
iload 6 /* strIdxEnd */
if_icmple 83
45: .line 676
iload 3 /* patIdxStart */
istore 9 /* i */
start local 9 // int i
46: goto 50
47: .line 678
StackMap locals: int
StackMap stack:
aload 0 /* patArr */
iload 9 /* i */
caload
bipush 42
if_icmpeq 49
48: .line 680
iconst_0
ireturn
49: .line 676
StackMap locals:
StackMap stack:
iinc 9 /* i */ 1
StackMap locals:
StackMap stack:
50: iload 9 /* i */
iload 4 /* patIdxEnd */
if_icmple 47
end local 9 // int i
51: .line 683
iconst_1
ireturn
52: .line 690
StackMap locals:
StackMap stack:
iconst_m1
istore 9 /* patIdxTmp */
start local 9 // int patIdxTmp
53: .line 691
iload 3 /* patIdxStart */
iconst_1
iadd
istore 10 /* i */
start local 10 // int i
54: goto 59
55: .line 693
StackMap locals: int int
StackMap stack:
aload 0 /* patArr */
iload 10 /* i */
caload
bipush 42
if_icmpne 58
56: .line 695
iload 10 /* i */
istore 9 /* patIdxTmp */
57: .line 696
goto 60
58: .line 691
StackMap locals:
StackMap stack:
iinc 10 /* i */ 1
StackMap locals:
StackMap stack:
59: iload 10 /* i */
iload 4 /* patIdxEnd */
if_icmple 55
end local 10 // int i
60: .line 699
StackMap locals:
StackMap stack:
iload 9 /* patIdxTmp */
iload 3 /* patIdxStart */
iconst_1
iadd
if_icmpne 63
61: .line 702
iinc 3 /* patIdxStart */ 1
62: .line 703
goto 83
63: .line 707
StackMap locals:
StackMap stack:
iload 9 /* patIdxTmp */
iload 3 /* patIdxStart */
isub
iconst_1
isub
istore 10 /* patLength */
start local 10 // int patLength
64: .line 708
iload 6 /* strIdxEnd */
iload 5 /* strIdxStart */
isub
iconst_1
iadd
istore 11 /* strLength */
start local 11 // int strLength
65: .line 709
iconst_m1
istore 12 /* foundIdx */
start local 12 // int foundIdx
66: .line 710
iconst_0
istore 13 /* i */
start local 13 // int i
67: goto 78
68: .line 712
StackMap locals: char[] char[] int int int int int int int int int int int int
StackMap stack:
iconst_0
istore 14 /* j */
start local 14 // int j
69: goto 74
70: .line 714
StackMap locals: int
StackMap stack:
aload 0 /* patArr */
iload 3 /* patIdxStart */
iload 14 /* j */
iadd
iconst_1
iadd
caload
istore 7 /* ch */
71: .line 715
iload 7 /* ch */
bipush 63
if_icmpeq 73
iload 7 /* ch */
aload 1 /* strArr */
iload 5 /* strIdxStart */
iload 13 /* i */
iadd
iload 14 /* j */
iadd
caload
iload 2 /* isCaseSensitive */
invokestatic org.codehaus.plexus.util.SelectorUtils.equals:(CCZ)Z
ifne 73
72: .line 717
goto 77
73: .line 712
StackMap locals:
StackMap stack:
iinc 14 /* j */ 1
StackMap locals:
StackMap stack:
74: iload 14 /* j */
iload 10 /* patLength */
if_icmplt 70
end local 14 // int j
75: .line 721
iload 5 /* strIdxStart */
iload 13 /* i */
iadd
istore 12 /* foundIdx */
76: .line 722
goto 79
77: .line 710
StackMap locals:
StackMap stack:
iinc 13 /* i */ 1
StackMap locals:
StackMap stack:
78: iload 13 /* i */
iload 11 /* strLength */
iload 10 /* patLength */
isub
if_icmple 68
end local 13 // int i
79: .line 725
StackMap locals:
StackMap stack:
iload 12 /* foundIdx */
iconst_m1
if_icmpne 81
80: .line 727
iconst_0
ireturn
81: .line 730
StackMap locals:
StackMap stack:
iload 9 /* patIdxTmp */
istore 3 /* patIdxStart */
82: .line 731
iload 12 /* foundIdx */
iload 10 /* patLength */
iadd
istore 5 /* strIdxStart */
end local 12 // int foundIdx
end local 11 // int strLength
end local 10 // int patLength
end local 9 // int patIdxTmp
83: .line 688
StackMap locals: char[] char[] int int int int int int int
StackMap stack:
iload 3 /* patIdxStart */
iload 4 /* patIdxEnd */
if_icmpeq 84
iload 5 /* strIdxStart */
iload 6 /* strIdxEnd */
if_icmple 52
84: .line 736
StackMap locals:
StackMap stack:
iload 3 /* patIdxStart */
istore 9 /* i */
start local 9 // int i
85: goto 89
86: .line 738
StackMap locals: int
StackMap stack:
aload 0 /* patArr */
iload 9 /* i */
caload
bipush 42
if_icmpeq 88
87: .line 740
iconst_0
ireturn
88: .line 736
StackMap locals:
StackMap stack:
iinc 9 /* i */ 1
StackMap locals:
StackMap stack:
89: iload 9 /* i */
iload 4 /* patIdxEnd */
if_icmple 86
end local 9 // int i
90: .line 743
iconst_1
ireturn
end local 8 // boolean containsStar
end local 7 // char ch
end local 6 // int strIdxEnd
end local 5 // int strIdxStart
end local 4 // int patIdxEnd
end local 3 // int patIdxStart
end local 2 // boolean isCaseSensitive
end local 1 // char[] strArr
end local 0 // char[] patArr
LocalVariableTable:
Start End Slot Name Signature
0 91 0 patArr [C
0 91 1 strArr [C
0 91 2 isCaseSensitive Z
1 91 3 patIdxStart I
2 91 4 patIdxEnd I
3 91 5 strIdxStart I
4 91 6 strIdxEnd I
18 21 7 ch C
25 29 7 ch C
30 91 7 ch C
5 91 8 containsStar Z
7 10 9 aPatArr C
16 22 9 i I
33 38 9 i I
46 51 9 i I
53 83 9 patIdxTmp I
54 60 10 i I
64 83 10 patLength I
65 83 11 strLength I
66 83 12 foundIdx I
67 79 13 i I
69 75 14 j I
85 90 9 i I
MethodParameters:
Name Flags
patArr
strArr
isCaseSensitive
private static boolean equals(char, char, boolean);
descriptor: (CCZ)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 // char c1
start local 1 // char c2
start local 2 // boolean isCaseSensitive
0: .line 751
iload 0 /* c1 */
iload 1 /* c2 */
if_icmpne 2
1: .line 753
iconst_1
ireturn
2: .line 755
StackMap locals:
StackMap stack:
iload 2 /* isCaseSensitive */
ifne 6
3: .line 758
iload 0 /* c1 */
invokestatic java.lang.Character.toUpperCase:(C)C
iload 1 /* c2 */
invokestatic java.lang.Character.toUpperCase:(C)C
if_icmpeq 5
4: .line 759
iload 0 /* c1 */
invokestatic java.lang.Character.toLowerCase:(C)C
iload 1 /* c2 */
invokestatic java.lang.Character.toLowerCase:(C)C
if_icmpne 6
5: .line 761
StackMap locals:
StackMap stack:
iconst_1
ireturn
6: .line 764
StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 // boolean isCaseSensitive
end local 1 // char c2
end local 0 // char c1
LocalVariableTable:
Start End Slot Name Signature
0 7 0 c1 C
0 7 1 c2 C
0 7 2 isCaseSensitive Z
MethodParameters:
Name Flags
c1
c2
isCaseSensitive
private static java.lang.String[] tokenizePathToString(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 // java.lang.String path
start local 1 // java.lang.String separator
0: .line 769
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2 /* ret */
start local 2 // java.util.List ret
1: .line 770
new java.util.StringTokenizer
dup
aload 0 /* path */
aload 1 /* separator */
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3 /* st */
start local 3 // java.util.StringTokenizer st
2: .line 771
goto 4
3: .line 773
StackMap locals: java.util.List java.util.StringTokenizer
StackMap stack:
aload 2 /* ret */
aload 3 /* st */
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: .line 771
StackMap locals:
StackMap stack:
aload 3 /* st */
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
5: .line 775
aload 2 /* ret */
aload 2 /* ret */
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 // java.util.StringTokenizer st
end local 2 // java.util.List ret
end local 1 // java.lang.String separator
end local 0 // java.lang.String path
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 boolean isOutOfDate(java.io.File, java.io.File, int);
descriptor: (Ljava/io/File;Ljava/io/File;I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 // java.io.File src
start local 1 // java.io.File target
start local 2 // int granularity
0: .line 791
aload 0 /* src */
invokevirtual java.io.File.exists:()Z
ifne 2
1: .line 793
iconst_0
ireturn
2: .line 795
StackMap locals:
StackMap stack:
aload 1 /* target */
invokevirtual java.io.File.exists:()Z
ifne 4
3: .line 797
iconst_1
ireturn
4: .line 799
StackMap locals:
StackMap stack:
aload 0 /* src */
invokevirtual java.io.File.lastModified:()J
iload 2 /* granularity */
i2l
lsub
aload 1 /* target */
invokevirtual java.io.File.lastModified:()J
lcmp
ifle 6
5: .line 801
iconst_1
ireturn
6: .line 803
StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 // int granularity
end local 1 // java.io.File target
end local 0 // java.io.File src
LocalVariableTable:
Start End Slot Name Signature
0 7 0 src Ljava/io/File;
0 7 1 target Ljava/io/File;
0 7 2 granularity I
MethodParameters:
Name Flags
src
target
granularity
public static java.lang.String removeWhitespace(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 // java.lang.String input
0: .line 815
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1 /* result */
start local 1 // java.lang.StringBuilder result
1: .line 816
aload 0 /* input */
ifnull 6
2: .line 818
new java.util.StringTokenizer
dup
aload 0 /* input */
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 2 /* st */
start local 2 // java.util.StringTokenizer st
3: .line 819
goto 5
4: .line 821
StackMap locals: java.lang.StringBuilder java.util.StringTokenizer
StackMap stack:
aload 1 /* result */
aload 2 /* st */
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: .line 819
StackMap locals:
StackMap stack:
aload 2 /* st */
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 4
end local 2 // java.util.StringTokenizer st
6: .line 824
StackMap locals:
StackMap stack:
aload 1 /* result */
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 // java.lang.StringBuilder result
end local 0 // java.lang.String input
LocalVariableTable:
Start End Slot Name Signature
0 7 0 input Ljava/lang/String;
1 7 1 result Ljava/lang/StringBuilder;
3 6 2 st Ljava/util/StringTokenizer;
MethodParameters:
Name Flags
input
}
SourceFile: "SelectorUtils.java"