class sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter extends javax.swing.filechooser.FileFilter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter
super_class: javax.swing.filechooser.FileFilter
{
java.util.regex.Pattern pattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x0000)
java.lang.String globPattern;
descriptor: Ljava/lang/String;
flags: (0x0000)
final sun.swing.plaf.synth.SynthFileChooserUI this$0;
descriptor: Lsun/swing/plaf/synth/SynthFileChooserUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(sun.swing.plaf.synth.SynthFileChooserUI);
descriptor: (Lsun/swing/plaf/synth/SynthFileChooserUI;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter this
0: .line 410
aload 0 /* this */
aload 1
putfield sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter.this$0:Lsun/swing/plaf/synth/SynthFileChooserUI;
aload 0 /* this */
invokespecial javax.swing.filechooser.FileFilter.<init>:()V
return
end local 0 // sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/plaf/synth/SynthFileChooserUI$GlobFilter;
MethodParameters:
Name Flags
this$0 final
public void setPattern(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=2
start local 0 // sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter this
start local 1 // java.lang.String globPattern
0: .line 415
aload 1 /* globPattern */
invokevirtual java.lang.String.toCharArray:()[C
astore 2 /* gPat */
start local 2 // char[] gPat
1: .line 416
aload 2 /* gPat */
arraylength
iconst_2
imul
newarray 5
astore 3 /* rPat */
start local 3 // char[] rPat
2: .line 417
getstatic java.io.File.separatorChar:C
bipush 92
if_icmpne 3
iconst_1
goto 4
StackMap locals: char[] char[]
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 4 /* isWin32 */
start local 4 // boolean isWin32
5: .line 418
iconst_0
istore 5 /* inBrackets */
start local 5 // boolean inBrackets
6: .line 419
iconst_0
istore 6 /* j */
start local 6 // int j
7: .line 421
aload 0 /* this */
aload 1 /* globPattern */
putfield sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter.globPattern:Ljava/lang/String;
8: .line 423
iload 4 /* isWin32 */
ifeq 20
9: .line 425
aload 2 /* gPat */
arraylength
istore 7 /* len */
start local 7 // int len
10: .line 426
aload 1 /* globPattern */
ldc "*.*"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 12
11: .line 427
iinc 7 /* len */ -2
12: .line 429
StackMap locals: sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter java.lang.String char[] char[] int int int int
StackMap stack:
iconst_0
istore 8 /* i */
start local 8 // int i
13: goto 18
14: .line 430
StackMap locals: int
StackMap stack:
aload 2 /* gPat */
iload 8 /* i */
caload
bipush 42
if_icmpne 16
15: .line 431
aload 3 /* rPat */
iload 6 /* j */
iinc 6 /* j */ 1
bipush 46
castore
16: .line 433
StackMap locals:
StackMap stack:
aload 3 /* rPat */
iload 6 /* j */
iinc 6 /* j */ 1
aload 2 /* gPat */
iload 8 /* i */
caload
castore
17: .line 429
iinc 8 /* i */ 1
StackMap locals:
StackMap stack:
18: iload 8 /* i */
iload 7 /* len */
if_icmplt 14
end local 8 // int i
end local 7 // int len
19: .line 435
goto 57
20: .line 436
StackMap locals:
StackMap stack:
iconst_0
istore 7 /* i */
start local 7 // int i
21: goto 56
22: .line 437
StackMap locals: int
StackMap stack:
aload 2 /* gPat */
iload 7 /* i */
caload
lookupswitch { // 5
42: 23
63: 27
91: 31
92: 43
93: 40
default: 52
}
23: .line 439
StackMap locals:
StackMap stack:
iload 5 /* inBrackets */
ifne 25
24: .line 440
aload 3 /* rPat */
iload 6 /* j */
iinc 6 /* j */ 1
bipush 46
castore
25: .line 442
StackMap locals:
StackMap stack:
aload 3 /* rPat */
iload 6 /* j */
iinc 6 /* j */ 1
bipush 42
castore
26: .line 443
goto 55
27: .line 446
StackMap locals:
StackMap stack:
aload 3 /* rPat */
iload 6 /* j */
iinc 6 /* j */ 1
iload 5 /* inBrackets */
ifeq 28
bipush 63
goto 29
StackMap locals: sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter java.lang.String char[] char[] int int int int
StackMap stack: char[] int
28: bipush 46
StackMap locals: sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter java.lang.String char[] char[] int int int int
StackMap stack: char[] int int
29: castore
30: .line 447
goto 55
31: .line 450
StackMap locals:
StackMap stack:
iconst_1
istore 5 /* inBrackets */
32: .line 451
aload 3 /* rPat */
iload 6 /* j */
iinc 6 /* j */ 1
aload 2 /* gPat */
iload 7 /* i */
caload
castore
33: .line 453
iload 7 /* i */
aload 2 /* gPat */
arraylength
iconst_1
isub
if_icmpge 55
34: .line 454
aload 2 /* gPat */
iload 7 /* i */
iconst_1
iadd
caload
lookupswitch { // 3
33: 35
93: 38
94: 35
default: 39
}
35: .line 457
StackMap locals:
StackMap stack:
aload 3 /* rPat */
iload 6 /* j */
iinc 6 /* j */ 1
bipush 94
castore
36: .line 458
iinc 7 /* i */ 1
37: .line 459
goto 55
38: .line 462
StackMap locals:
StackMap stack:
aload 3 /* rPat */
iload 6 /* j */
iinc 6 /* j */ 1
aload 2 /* gPat */
iinc 7 /* i */ 1
iload 7 /* i */
caload
castore
39: .line 466
StackMap locals:
StackMap stack:
goto 55
40: .line 469
StackMap locals:
StackMap stack:
aload 3 /* rPat */
iload 6 /* j */
iinc 6 /* j */ 1
aload 2 /* gPat */
iload 7 /* i */
caload
castore
41: .line 470
iconst_0
istore 5 /* inBrackets */
42: .line 471
goto 55
43: .line 474
StackMap locals:
StackMap stack:
iload 7 /* i */
ifne 46
aload 2 /* gPat */
arraylength
iconst_1
if_icmple 46
aload 2 /* gPat */
iconst_1
caload
bipush 126
if_icmpne 46
44: .line 475
aload 3 /* rPat */
iload 6 /* j */
iinc 6 /* j */ 1
aload 2 /* gPat */
iinc 7 /* i */ 1
iload 7 /* i */
caload
castore
45: .line 476
goto 55
46: .line 477
StackMap locals:
StackMap stack:
aload 3 /* rPat */
iload 6 /* j */
iinc 6 /* j */ 1
bipush 92
castore
47: .line 478
iload 7 /* i */
aload 2 /* gPat */
arraylength
iconst_1
isub
if_icmpge 50
ldc "*?[]"
aload 2 /* gPat */
iload 7 /* i */
iconst_1
iadd
caload
invokevirtual java.lang.String.indexOf:(I)I
iflt 50
48: .line 479
aload 3 /* rPat */
iload 6 /* j */
iinc 6 /* j */ 1
aload 2 /* gPat */
iinc 7 /* i */ 1
iload 7 /* i */
caload
castore
49: .line 480
goto 55
50: .line 481
StackMap locals:
StackMap stack:
aload 3 /* rPat */
iload 6 /* j */
iinc 6 /* j */ 1
bipush 92
castore
51: .line 484
goto 55
52: .line 488
StackMap locals:
StackMap stack:
aload 2 /* gPat */
iload 7 /* i */
caload
invokestatic java.lang.Character.isLetterOrDigit:(C)Z
ifne 54
53: .line 489
aload 3 /* rPat */
iload 6 /* j */
iinc 6 /* j */ 1
bipush 92
castore
54: .line 491
StackMap locals:
StackMap stack:
aload 3 /* rPat */
iload 6 /* j */
iinc 6 /* j */ 1
aload 2 /* gPat */
iload 7 /* i */
caload
castore
55: .line 436
StackMap locals:
StackMap stack:
iinc 7 /* i */ 1
StackMap locals:
StackMap stack:
56: iload 7 /* i */
aload 2 /* gPat */
arraylength
if_icmplt 22
end local 7 // int i
57: .line 496
StackMap locals:
StackMap stack:
aload 0 /* this */
new java.lang.String
dup
aload 3 /* rPat */
iconst_0
iload 6 /* j */
invokespecial java.lang.String.<init>:([CII)V
iconst_2
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;I)Ljava/util/regex/Pattern;
putfield sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter.pattern:Ljava/util/regex/Pattern;
58: .line 497
return
end local 6 // int j
end local 5 // boolean inBrackets
end local 4 // boolean isWin32
end local 3 // char[] rPat
end local 2 // char[] gPat
end local 1 // java.lang.String globPattern
end local 0 // sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter this
LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Lsun/swing/plaf/synth/SynthFileChooserUI$GlobFilter;
0 59 1 globPattern Ljava/lang/String;
1 59 2 gPat [C
2 59 3 rPat [C
5 59 4 isWin32 Z
6 59 5 inBrackets Z
7 59 6 j I
10 19 7 len I
13 19 8 i I
21 57 7 i I
MethodParameters:
Name Flags
globPattern
public boolean accept(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter this
start local 1 // java.io.File f
0: .line 500
aload 1 /* f */
ifnonnull 2
1: .line 501
iconst_0
ireturn
2: .line 503
StackMap locals:
StackMap stack:
aload 1 /* f */
invokevirtual java.io.File.isDirectory:()Z
ifeq 4
3: .line 504
iconst_1
ireturn
4: .line 506
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter.pattern:Ljava/util/regex/Pattern;
aload 1 /* f */
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ireturn
end local 1 // java.io.File f
end local 0 // sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/swing/plaf/synth/SynthFileChooserUI$GlobFilter;
0 5 1 f Ljava/io/File;
MethodParameters:
Name Flags
f
public java.lang.String getDescription();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter this
0: .line 510
aload 0 /* this */
getfield sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter.globPattern:Ljava/lang/String;
areturn
end local 0 // sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/plaf/synth/SynthFileChooserUI$GlobFilter;
}
SourceFile: "SynthFileChooserUI.java"
NestHost: sun.swing.plaf.synth.SynthFileChooserUI
InnerClasses:
GlobFilter = sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter of sun.swing.plaf.synth.SynthFileChooserUI