class sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction extends javax.swing.AbstractAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction
super_class: javax.swing.AbstractAction
{
final sun.swing.plaf.synth.SynthFileChooserUI this$0;
descriptor: Lsun/swing/plaf/synth/SynthFileChooserUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
protected void <init>(sun.swing.plaf.synth.SynthFileChooserUI);
descriptor: (Lsun/swing/plaf/synth/SynthFileChooserUI;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 // sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction this
0: .line 308
aload 0 /* this */
aload 1
putfield sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction.this$0:Lsun/swing/plaf/synth/SynthFileChooserUI;
1: .line 309
aload 0 /* this */
ldc "fileNameCompletion"
invokespecial javax.swing.AbstractAction.<init>:(Ljava/lang/String;)V
2: .line 310
return
end local 0 // sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/swing/plaf/synth/SynthFileChooserUI$FileNameCompletionAction;
MethodParameters:
Name Flags
this$0 final
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 // sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction this
start local 1 // java.awt.event.ActionEvent e
0: .line 313
aload 0 /* this */
getfield sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction.this$0:Lsun/swing/plaf/synth/SynthFileChooserUI;
invokevirtual sun.swing.plaf.synth.SynthFileChooserUI.getFileChooser:()Ljavax/swing/JFileChooser;
astore 2 /* chooser */
start local 2 // javax.swing.JFileChooser chooser
1: .line 315
aload 0 /* this */
getfield sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction.this$0:Lsun/swing/plaf/synth/SynthFileChooserUI;
invokevirtual sun.swing.plaf.synth.SynthFileChooserUI.getFileName:()Ljava/lang/String;
astore 3 /* fileName */
start local 3 // java.lang.String fileName
2: .line 317
aload 3 /* fileName */
ifnull 4
3: .line 319
aload 3 /* fileName */
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 3 /* fileName */
4: .line 322
StackMap locals: javax.swing.JFileChooser java.lang.String
StackMap stack:
aload 0 /* this */
getfield sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction.this$0:Lsun/swing/plaf/synth/SynthFileChooserUI;
invokevirtual sun.swing.plaf.synth.SynthFileChooserUI.resetGlobFilter:()V
5: .line 324
aload 3 /* fileName */
ifnull 7
aload 3 /* fileName */
invokevirtual java.lang.String.isEmpty:()Z
ifne 7
6: .line 325
aload 2 /* chooser */
invokevirtual javax.swing.JFileChooser.isMultiSelectionEnabled:()Z
ifeq 8
aload 3 /* fileName */
ldc "\""
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 8
7: .line 326
StackMap locals:
StackMap stack:
return
8: .line 329
StackMap locals:
StackMap stack:
aload 2 /* chooser */
invokevirtual javax.swing.JFileChooser.getFileFilter:()Ljavax/swing/filechooser/FileFilter;
astore 4 /* currentFilter */
start local 4 // javax.swing.filechooser.FileFilter currentFilter
9: .line 330
aload 0 /* this */
getfield sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction.this$0:Lsun/swing/plaf/synth/SynthFileChooserUI;
getfield sun.swing.plaf.synth.SynthFileChooserUI.globFilter:Lsun/swing/plaf/synth/SynthFileChooserUI$GlobFilter;
ifnonnull 11
10: .line 331
aload 0 /* this */
getfield sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction.this$0:Lsun/swing/plaf/synth/SynthFileChooserUI;
new sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter
dup
aload 0 /* this */
getfield sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction.this$0:Lsun/swing/plaf/synth/SynthFileChooserUI;
invokespecial sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter.<init>:(Lsun/swing/plaf/synth/SynthFileChooserUI;)V
putfield sun.swing.plaf.synth.SynthFileChooserUI.globFilter:Lsun/swing/plaf/synth/SynthFileChooserUI$GlobFilter;
11: .line 334
StackMap locals: javax.swing.filechooser.FileFilter
StackMap stack:
aload 0 /* this */
getfield sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction.this$0:Lsun/swing/plaf/synth/SynthFileChooserUI;
getfield sun.swing.plaf.synth.SynthFileChooserUI.globFilter:Lsun/swing/plaf/synth/SynthFileChooserUI$GlobFilter;
aload 3 /* fileName */
invokestatic sun.swing.plaf.synth.SynthFileChooserUI.isGlobPattern:(Ljava/lang/String;)Z
ifne 12
new java.lang.StringBuilder
dup
aload 3 /* fileName */
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "*"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 13
StackMap locals:
StackMap stack: sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter
12: aload 3 /* fileName */
StackMap locals: sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction java.awt.event.ActionEvent javax.swing.JFileChooser java.lang.String javax.swing.filechooser.FileFilter
StackMap stack: sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter java.lang.String
13: invokevirtual sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter.setPattern:(Ljava/lang/String;)V
14: .line 335
aload 4 /* currentFilter */
instanceof sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter
ifne 16
15: .line 336
aload 0 /* this */
getfield sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction.this$0:Lsun/swing/plaf/synth/SynthFileChooserUI;
aload 4 /* currentFilter */
putfield sun.swing.plaf.synth.SynthFileChooserUI.actualFileFilter:Ljavax/swing/filechooser/FileFilter;
16: .line 338
StackMap locals:
StackMap stack:
aload 2 /* chooser */
aconst_null
invokevirtual javax.swing.JFileChooser.setFileFilter:(Ljavax/swing/filechooser/FileFilter;)V
17: .line 339
aload 2 /* chooser */
aload 0 /* this */
getfield sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction.this$0:Lsun/swing/plaf/synth/SynthFileChooserUI;
getfield sun.swing.plaf.synth.SynthFileChooserUI.globFilter:Lsun/swing/plaf/synth/SynthFileChooserUI$GlobFilter;
invokevirtual javax.swing.JFileChooser.setFileFilter:(Ljavax/swing/filechooser/FileFilter;)V
18: .line 340
aload 0 /* this */
getfield sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction.this$0:Lsun/swing/plaf/synth/SynthFileChooserUI;
aload 3 /* fileName */
putfield sun.swing.plaf.synth.SynthFileChooserUI.fileNameCompletionString:Ljava/lang/String;
19: .line 341
goto 21
StackMap locals:
StackMap stack: java.util.regex.PatternSyntaxException
20: pop
21: .line 344
StackMap locals:
StackMap stack:
return
end local 4 // javax.swing.filechooser.FileFilter currentFilter
end local 3 // java.lang.String fileName
end local 2 // javax.swing.JFileChooser chooser
end local 1 // java.awt.event.ActionEvent e
end local 0 // sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction this
LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/swing/plaf/synth/SynthFileChooserUI$FileNameCompletionAction;
0 22 1 e Ljava/awt/event/ActionEvent;
1 22 2 chooser Ljavax/swing/JFileChooser;
2 22 3 fileName Ljava/lang/String;
9 22 4 currentFilter Ljavax/swing/filechooser/FileFilter;
Exception table:
from to target type
11 19 20 Class java.util.regex.PatternSyntaxException
MethodParameters:
Name Flags
e
}
SourceFile: "SynthFileChooserUI.java"
NestHost: sun.swing.plaf.synth.SynthFileChooserUI
InnerClasses:
private FileNameCompletionAction = sun.swing.plaf.synth.SynthFileChooserUI$FileNameCompletionAction of sun.swing.plaf.synth.SynthFileChooserUI
GlobFilter = sun.swing.plaf.synth.SynthFileChooserUI$GlobFilter of sun.swing.plaf.synth.SynthFileChooserUI