class sun.awt.X11.GtkFileDialogPeer extends sun.awt.X11.XDialogPeer implements java.awt.peer.FileDialogPeer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.X11.GtkFileDialogPeer
super_class: sun.awt.X11.XDialogPeer
{
private java.awt.FileDialog fd;
descriptor: Ljava/awt/FileDialog;
flags: (0x0002) ACC_PRIVATE
private volatile long widget;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic sun.awt.X11.GtkFileDialogPeer.initIDs:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.awt.FileDialog);
descriptor: (Ljava/awt/FileDialog;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XDialogPeer.<init>:(Ljava/awt/Dialog;)V
1: aload 0
lconst_0
putfield sun.awt.X11.GtkFileDialogPeer.widget:J
2: aload 0
aload 1
putfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/GtkFileDialogPeer;
0 4 1 fd Ljava/awt/FileDialog;
MethodParameters:
Name Flags
fd
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private native void run(java.lang.String, int, java.lang.String, java.lang.String, java.io.FilenameFilter, boolean, int, int);
descriptor: (Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/io/FilenameFilter;ZII)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
title
mode
dir
file
filter
isMultipleMode
x
y
private native void quit();
descriptor: ()V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
public native void toFront();
descriptor: ()V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
public native void setBounds(int, int, int, int, int);
descriptor: (IIIII)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
x
y
width
height
op
private void setFileInternal(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: invokestatic sun.awt.AWTAccessor.getFileDialogAccessor:()Lsun/awt/AWTAccessor$FileDialogAccessor;
1: astore 3
start local 3 2: aload 2
ifnonnull 7
3: aload 3
aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
aconst_null
invokeinterface sun.awt.AWTAccessor$FileDialogAccessor.setDirectory:(Ljava/awt/FileDialog;Ljava/lang/String;)V
4: aload 3
aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
aconst_null
invokeinterface sun.awt.AWTAccessor$FileDialogAccessor.setFile:(Ljava/awt/FileDialog;Ljava/lang/String;)V
5: aload 3
aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
aconst_null
invokeinterface sun.awt.AWTAccessor$FileDialogAccessor.setFiles:(Ljava/awt/FileDialog;[Ljava/io/File;)V
6: goto 25
7: StackMap locals: sun.awt.AWTAccessor$FileDialogAccessor
StackMap stack:
aload 1
astore 4
start local 4 8: aload 1
ifnull 13
9: aload 1
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 11
10: aload 1
goto 12
StackMap locals: java.lang.String
StackMap stack:
11: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: StackMap locals:
StackMap stack: java.lang.String
astore 4
13: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
aload 4
invokeinterface sun.awt.AWTAccessor$FileDialogAccessor.setDirectory:(Ljava/awt/FileDialog;Ljava/lang/String;)V
14: aload 3
aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
aload 2
iconst_0
aaload
invokeinterface sun.awt.AWTAccessor$FileDialogAccessor.setFile:(Ljava/awt/FileDialog;Ljava/lang/String;)V
15: aload 2
ifnull 16
aload 2
arraylength
goto 17
StackMap locals:
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: istore 5
start local 5 18: iload 5
anewarray java.io.File
astore 6
start local 6 19: iconst_0
istore 7
start local 7 20: goto 23
21: StackMap locals: int java.io.File[] int
StackMap stack:
aload 6
iload 7
new java.io.File
dup
aload 1
aload 2
iload 7
aaload
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
aastore
22: iinc 7 1
StackMap locals:
StackMap stack:
23: iload 7
iload 5
if_icmplt 21
end local 7 24: aload 3
aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
aload 6
invokeinterface sun.awt.AWTAccessor$FileDialogAccessor.setFiles:(Ljava/awt/FileDialog;[Ljava/io/File;)V
end local 6 end local 5 end local 4 25: StackMap locals: sun.awt.X11.GtkFileDialogPeer java.lang.String java.lang.String[] sun.awt.AWTAccessor$FileDialogAccessor
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lsun/awt/X11/GtkFileDialogPeer;
0 26 1 directory Ljava/lang/String;
0 26 2 filenames [Ljava/lang/String;
2 26 3 accessor Lsun/awt/AWTAccessor$FileDialogAccessor;
8 25 4 with_separator Ljava/lang/String;
18 25 5 filesNumber I
19 25 6 files [Ljava/io/File;
20 24 7 i I
MethodParameters:
Name Flags
directory
filenames
private boolean filenameFilterCallback(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
invokevirtual java.awt.FileDialog.getFilenameFilter:()Ljava/io/FilenameFilter;
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 3: aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
invokevirtual java.awt.FileDialog.getFilenameFilter:()Ljava/io/FilenameFilter;
new java.io.File
dup
aload 2
invokevirtual java.io.File.getParent:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
4: aload 2
invokevirtual java.io.File.getName:()Ljava/lang/String;
5: invokeinterface java.io.FilenameFilter.accept:(Ljava/io/File;Ljava/lang/String;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/GtkFileDialogPeer;
0 6 1 fullname Ljava/lang/String;
3 6 2 filen Ljava/io/File;
MethodParameters:
Name Flags
fullname
public void setVisible(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: invokestatic sun.awt.X11.XToolkit.awtLock:()V
1: iload 1
ifeq 5
2: new sun.awt.X11.GtkFileDialogPeer$1
dup
aload 0
invokespecial sun.awt.X11.GtkFileDialogPeer$1.<init>:(Lsun/awt/X11/GtkFileDialogPeer;)V
astore 2
start local 2 3: aload 2
invokevirtual java.lang.Thread.start:()V
end local 2 4: goto 11
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.GtkFileDialogPeer.quit:()V
6: aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
iconst_0
invokevirtual java.awt.FileDialog.setVisible:(Z)V
7: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 3
9: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
10: aload 3
athrow
11: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/awt/X11/GtkFileDialogPeer;
0 13 1 b Z
3 4 2 t Ljava/lang/Thread;
Exception table:
from to target type
1 8 8 any
MethodParameters:
Name Flags
b
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.GtkFileDialogPeer.quit:()V
1: aload 0
invokespecial sun.awt.X11.XDialogPeer.dispose:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/GtkFileDialogPeer;
public void setDirectory(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/GtkFileDialogPeer;
0 1 1 dir Ljava/lang/String;
MethodParameters:
Name Flags
dir
public void setFile(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/GtkFileDialogPeer;
0 1 1 file Ljava/lang/String;
MethodParameters:
Name Flags
file
public void setFilenameFilter(java.io.FilenameFilter);
descriptor: (Ljava/io/FilenameFilter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/GtkFileDialogPeer;
0 1 1 filter Ljava/io/FilenameFilter;
MethodParameters:
Name Flags
filter
private void showNativeDialog();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
invokevirtual java.awt.FileDialog.getDirectory:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
invokevirtual java.awt.FileDialog.getFile:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 14
3: new java.io.File
dup
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
invokevirtual java.awt.FileDialog.getMode:()I
ifne 11
5: aload 1
ifnull 11
6: aload 3
invokevirtual java.io.File.getParent:()Ljava/lang/String;
ifnonnull 11
7: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 8
ldc ""
goto 9
8: StackMap locals: sun.awt.X11.GtkFileDialogPeer java.lang.String java.lang.String java.io.File
StackMap stack: java.lang.StringBuilder
getstatic java.io.File.separator:Ljava/lang/String;
StackMap locals: sun.awt.X11.GtkFileDialogPeer java.lang.String java.lang.String java.io.File
StackMap stack: java.lang.StringBuilder java.lang.String
9: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
invokevirtual java.awt.FileDialog.getMode:()I
iconst_1
if_icmpne 14
aload 3
invokevirtual java.io.File.getParent:()Ljava/lang/String;
ifnull 14
12: aload 3
invokevirtual java.io.File.getName:()Ljava/lang/String;
astore 2
13: aload 3
invokevirtual java.io.File.getParent:()Ljava/lang/String;
astore 1
end local 3 14: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
invokevirtual java.awt.FileDialog.getTitle:()Ljava/lang/String;
aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
invokevirtual java.awt.FileDialog.getMode:()I
aload 1
15: aload 2
aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
invokevirtual java.awt.FileDialog.getFilenameFilter:()Ljava/io/FilenameFilter;
16: aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
invokevirtual java.awt.FileDialog.isMultipleMode:()Z
aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
invokevirtual java.awt.FileDialog.getX:()I
aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
invokevirtual java.awt.FileDialog.getY:()I
17: invokevirtual sun.awt.X11.GtkFileDialogPeer.run:(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/io/FilenameFilter;ZII)V
18: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/awt/X11/GtkFileDialogPeer;
1 19 1 dirname Ljava/lang/String;
2 19 2 filename Ljava/lang/String;
4 14 3 file Ljava/io/File;
}
SourceFile: "GtkFileDialogPeer.java"
NestMembers:
sun.awt.X11.GtkFileDialogPeer$1
InnerClasses:
public abstract FileDialogAccessor = sun.awt.AWTAccessor$FileDialogAccessor of sun.awt.AWTAccessor
sun.awt.X11.GtkFileDialogPeer$1