class sun.awt.X11.FileDialogFilter implements java.io.FilenameFilter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.X11.FileDialogFilter
super_class: java.lang.Object
{
java.lang.String filter;
descriptor: Ljava/lang/String;
flags: (0x0000)
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
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 sun.awt.X11.FileDialogFilter.filter:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/FileDialogFilter;
0 3 1 f Ljava/lang/String;
MethodParameters:
Name Flags
f
public boolean accept(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.io.File
dup
aload 1
aload 2
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 3
start local 3 1: aload 3
invokevirtual java.io.File.isDirectory:()Z
ifeq 3
2: iconst_1
ireturn
3: StackMap locals: java.io.File
StackMap stack:
aload 0
aload 2
aload 0
getfield sun.awt.X11.FileDialogFilter.filter:Ljava/lang/String;
invokevirtual sun.awt.X11.FileDialogFilter.matches:(Ljava/lang/String;Ljava/lang/String;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/FileDialogFilter;
0 4 1 dir Ljava/io/File;
0 4 2 fileName Ljava/lang/String;
1 4 3 f Ljava/io/File;
MethodParameters:
Name Flags
dir
fileName
private boolean matches(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual sun.awt.X11.FileDialogFilter.convert:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 1
aload 3
invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/FileDialogFilter;
0 2 1 input Ljava/lang/String;
0 2 2 filter Ljava/lang/String;
1 2 3 regex Ljava/lang/String;
MethodParameters:
Name Flags
input
filter
private java.lang.String convert(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "^"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "$"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ldc "\\."
ldc "\\\\."
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
2: aload 2
ldc "\\?"
ldc "."
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
3: aload 2
ldc "\\*"
ldc ".*"
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/FileDialogFilter;
0 5 1 filter Ljava/lang/String;
1 5 2 regex Ljava/lang/String;
MethodParameters:
Name Flags
filter
}
SourceFile: "XFileDialogPeer.java"