final class sun.awt.X11.GtkFileDialogPeer extends sun.awt.X11.XDialogPeer implements java.awt.peer.FileDialogPeer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.awt.X11.GtkFileDialogPeer
super_class: sun.awt.X11.XDialogPeer
{
private final java.awt.FileDialog fd;
descriptor: Ljava/awt/FileDialog;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile long widget;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private long standaloneWindow;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private volatile boolean quit;
descriptor: Z
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
void <init>(java.awt.FileDialog);
descriptor: (Ljava/awt/FileDialog;)V
flags: (0x0000)
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=8, locals=4, args_size=2
start local 0 start local 1 0: invokestatic sun.awt.X11.XToolkit.awtLock:()V
1: aload 0
iload 1
ifeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack: sun.awt.X11.GtkFileDialogPeer
2: iconst_1
StackMap locals: sun.awt.X11.GtkFileDialogPeer int
StackMap stack: sun.awt.X11.GtkFileDialogPeer int
3: putfield sun.awt.X11.GtkFileDialogPeer.quit:Z
4: iload 1
ifeq 8
5: aload 0
invokedynamic run(Lsun/awt/X11/GtkFileDialogPeer;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
sun/awt/X11/GtkFileDialogPeer.lambda$0()V (7)
()V
astore 2
start local 2 6: new java.lang.Thread
dup
aconst_null
aload 2
ldc "ShowDialog"
lconst_0
iconst_0
invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;JZ)V
invokevirtual java.lang.Thread.start:()V
end local 2 7: goto 14
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.GtkFileDialogPeer.quit:()V
9: aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
iconst_0
invokevirtual java.awt.FileDialog.setVisible:(Z)V
10: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 3
12: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
13: aload 3
athrow
14: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/awt/X11/GtkFileDialogPeer;
0 16 1 b Z
6 7 2 task Ljava/lang/Runnable;
Exception table:
from to target type
1 11 11 any
MethodParameters:
Name Flags
b
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic sun.awt.X11.XToolkit.awtLock:()V
1: aload 0
iconst_1
putfield sun.awt.X11.GtkFileDialogPeer.quit:Z
2: aload 0
invokevirtual sun.awt.X11.GtkFileDialogPeer.quit:()V
3: goto 7
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
5: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
6: aload 1
athrow
7: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
8: aload 0
invokespecial sun.awt.X11.XDialogPeer.dispose:()V
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/X11/GtkFileDialogPeer;
Exception table:
from to target type
1 4 4 any
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
protected void requestXFocus(long, boolean);
descriptor: (JZ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield sun.awt.X11.GtkFileDialogPeer.standaloneWindow:J
lconst_0
lcmp
ifne 3
1: aload 0
lload 1
iload 3
invokespecial sun.awt.X11.XDialogPeer.requestXFocus:(JZ)V
2: return
3: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XWM.getWM:()Lsun/awt/X11/XWM;
invokevirtual sun.awt.X11.XWM.getNETProtocol:()Lsun/awt/X11/XNETProtocol;
astore 4
start local 4 4: aload 4
ifnull 6
5: aload 4
aload 0
getfield sun.awt.X11.GtkFileDialogPeer.standaloneWindow:J
invokevirtual sun.awt.X11.XNETProtocol.setActiveWindow:(J)V
6: StackMap locals: sun.awt.X11.XNETProtocol
StackMap stack:
return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11/GtkFileDialogPeer;
0 7 1 time J
0 7 3 timeProvided Z
4 7 4 net_protocol Lsun/awt/X11/XNETProtocol;
MethodParameters:
Name Flags
time
timeProvided
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
getfield sun.awt.X11.GtkFileDialogPeer.quit:Z
ifne 18
15: 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
aload 2
16: aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
invokevirtual java.awt.FileDialog.getFilenameFilter:()Ljava/io/FilenameFilter;
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: StackMap locals:
StackMap stack:
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;
boolean setWindow(long);
descriptor: (J)Z
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11.GtkFileDialogPeer.quit:Z
ifne 4
aload 0
getfield sun.awt.X11.GtkFileDialogPeer.widget:J
lconst_0
lcmp
ifeq 4
1: aload 0
lload 1
putfield sun.awt.X11.GtkFileDialogPeer.standaloneWindow:J
2: aload 0
invokevirtual sun.awt.X11.GtkFileDialogPeer.requestXFocus:()V
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/GtkFileDialogPeer;
0 5 1 xid J
MethodParameters:
Name Flags
xid
private void lambda$0();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.GtkFileDialogPeer.showNativeDialog:()V
1: aload 0
lconst_0
putfield sun.awt.X11.GtkFileDialogPeer.standaloneWindow:J
2: aload 0
getfield sun.awt.X11.GtkFileDialogPeer.fd:Ljava/awt/FileDialog;
iconst_0
invokevirtual java.awt.FileDialog.setVisible:(Z)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/GtkFileDialogPeer;
}
SourceFile: "GtkFileDialogPeer.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract FileDialogAccessor = sun.awt.AWTAccessor$FileDialogAccessor of sun.awt.AWTAccessor