final class sun.awt.X11.XTaskbarPeer implements java.awt.peer.TaskbarPeer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.awt.X11.XTaskbarPeer
super_class: java.lang.Object
{
private static boolean nativeLibraryLoaded;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean initExecuted;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.awt.PopupMenu ;
descriptor: Ljava/awt/PopupMenu;
flags: (0x0002) ACC_PRIVATE
private static boolean isUnity;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static volatile int[] $SWITCH_TABLE$java$awt$Taskbar$Feature;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: iconst_0
putstatic sun.awt.X11.XTaskbarPeer.nativeLibraryLoaded:Z
1: iconst_0
putstatic sun.awt.X11.XTaskbarPeer.initExecuted:Z
2: invokedynamic run()Ljava/security/PrivilegedAction;
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:
()Ljava/lang/Object;
sun/awt/X11/XTaskbarPeer.lambda$0()Ljava/lang/String; (6)
()Ljava/lang/String;
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 4: aload 0
ifnull 5
aload 0
ldc "Unity"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
iconst_1
goto 6
StackMap locals: java.lang.String
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: putstatic sun.awt.X11.XTaskbarPeer.isUnity:Z
end local 0 7: return
LocalVariableTable:
Start End Slot Name Signature
4 7 0 de Ljava/lang/String;
private static void initWithLock();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=3, args_size=0
0: invokestatic sun.awt.X11.XToolkit.awtLock:()V
1: getstatic sun.awt.X11.XTaskbarPeer.initExecuted:Z
ifne 19
2: new sun.security.action.GetPropertyAction
dup
ldc "java.desktop.appName"
ldc ""
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 4: aload 0
5: invokestatic sun.awt.UNIXToolkit.getEnabledGtkVersion:()Lsun/awt/UNIXToolkit$GtkVersions;
invokevirtual sun.awt.UNIXToolkit$GtkVersions.ordinal:()I
6: invokestatic sun.awt.UNIXToolkit.isGtkVerbose:()Z
7: invokestatic sun.awt.X11.XTaskbarPeer.init:(Ljava/lang/String;IZ)Z
putstatic sun.awt.X11.XTaskbarPeer.nativeLibraryLoaded:Z
8: getstatic sun.awt.X11.XTaskbarPeer.nativeLibraryLoaded:Z
ifeq 19
9: new java.lang.Thread
dup
aconst_null
invokedynamic run()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/XTaskbarPeer.lambda$1()V (6)
()V
10: ldc "TaskBar"
lconst_0
iconst_0
11: invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;JZ)V
astore 1
start local 1 12: aload 1
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
13: aload 1
invokevirtual java.lang.Thread.start:()V
end local 1 end local 0 14: goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 2
16: iconst_1
putstatic sun.awt.X11.XTaskbarPeer.initExecuted:Z
17: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
18: aload 2
athrow
19: StackMap locals:
StackMap stack:
iconst_1
putstatic sun.awt.X11.XTaskbarPeer.initExecuted:Z
20: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
21: return
LocalVariableTable:
Start End Slot Name Signature
4 14 0 dname Ljava/lang/String;
12 14 1 t Ljava/lang/Thread;
Exception table:
from to target type
1 15 15 any
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.awt.X11.XTaskbarPeer.menu:Ljava/awt/PopupMenu;
2: invokestatic sun.awt.X11.XTaskbarPeer.initWithLock:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XTaskbarPeer;
static boolean isTaskbarSupported();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.awt.X11.XTaskbarPeer.isUnity:Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XTaskbarPeer.initWithLock:()V
3: getstatic sun.awt.X11.XTaskbarPeer.nativeLibraryLoaded:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isSupported(java.awt.Taskbar$Feature);
descriptor: (Ljava/awt/Taskbar$Feature;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic sun.awt.X11.XTaskbarPeer.$SWITCH_TABLE$java$awt$Taskbar$Feature:()[I
aload 1
invokevirtual java.awt.Taskbar$Feature.ordinal:()I
iaload
tableswitch { // 2 - 9
2: 1
3: 2
4: 2
5: 1
6: 2
7: 1
8: 2
9: 1
default: 2
}
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XTaskbarPeer;
0 3 1 feature Ljava/awt/Taskbar$Feature;
MethodParameters:
Name Flags
feature
public void setProgressValue(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: iload 1
iflt 3
1: iload 1
bipush 100
2: if_icmpgt 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 2
start local 2 5: iload 2
ifeq 7
6: iload 1
i2d
ldc 100.0
ddiv
goto 8
7: StackMap locals: int
StackMap stack:
dconst_0
8: StackMap locals:
StackMap stack: double
dstore 3
start local 3 9: aload 0
dload 3
iload 2
invokevirtual sun.awt.X11.XTaskbarPeer.updateProgress:(DZ)V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/awt/X11/XTaskbarPeer;
0 11 1 value I
5 11 2 visible Z
9 11 3 v D
MethodParameters:
Name Flags
value
public void setIconBadge(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: lconst_0
lstore 3
start local 3 2: aload 1
ifnull 10
3: aload 1
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 3
4: iconst_1
istore 2
5: goto 10
StackMap locals: sun.awt.X11.XTaskbarPeer java.lang.String int long
StackMap stack: java.lang.NumberFormatException
6: pop
7: new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "The "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.awt.Taskbar$Feature.ICON_BADGE_TEXT:Ljava/awt/Taskbar$Feature;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
8: ldc " feature is not supported on the current platform!"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
lload 3
iload 2
invokevirtual sun.awt.X11.XTaskbarPeer.setBadge:(JZ)V
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/awt/X11/XTaskbarPeer;
0 12 1 badge Ljava/lang/String;
1 12 2 visible Z
2 12 3 val J
Exception table:
from to target type
3 5 6 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
badge
public java.awt.PopupMenu ();
descriptor: ()Ljava/awt/PopupMenu;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XTaskbarPeer.menu:Ljava/awt/PopupMenu;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XTaskbarPeer;
public synchronized void (java.awt.PopupMenu);
descriptor: (Ljava/awt/PopupMenu;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.awt.X11.XTaskbarPeer.menu:Ljava/awt/PopupMenu;
1: aload 0
getfield sun.awt.X11.XTaskbarPeer.menu:Ljava/awt/PopupMenu;
ifnull 11
aload 0
getfield sun.awt.X11.XTaskbarPeer.menu:Ljava/awt/PopupMenu;
invokevirtual java.awt.PopupMenu.getItemCount:()I
ifle 11
2: aload 0
getfield sun.awt.X11.XTaskbarPeer.menu:Ljava/awt/PopupMenu;
invokevirtual java.awt.PopupMenu.getItemCount:()I
istore 2
start local 2 3: iload 2
anewarray java.awt.MenuItem
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 8
6: StackMap locals: int java.awt.MenuItem[] int
StackMap stack:
aload 3
iload 4
aload 0
getfield sun.awt.X11.XTaskbarPeer.menu:Ljava/awt/PopupMenu;
iload 4
invokevirtual java.awt.PopupMenu.getItem:(I)Ljava/awt/MenuItem;
aastore
7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 2
if_icmplt 6
end local 4 9: aload 0
aload 3
invokevirtual sun.awt.X11.XTaskbarPeer.setNativeMenu:([Ljava/awt/MenuItem;)V
end local 3 end local 2 10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
aconst_null
invokevirtual sun.awt.X11.XTaskbarPeer.setNativeMenu:([Ljava/awt/MenuItem;)V
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/awt/X11/XTaskbarPeer;
0 13 1 m Ljava/awt/PopupMenu;
3 10 2 msize I
4 10 3 items [Ljava/awt/MenuItem;
5 9 4 i I
MethodParameters:
Name Flags
m
public void requestUserAttention(boolean, boolean);
descriptor: (ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual sun.awt.X11.XTaskbarPeer.setUrgent:(Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XTaskbarPeer;
0 2 1 enabled Z
0 2 2 critical Z
MethodParameters:
Name Flags
enabled
critical
private static void (java.awt.MenuItem);
descriptor: (Ljava/awt/MenuItem;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
ifnull 11
1: new java.awt.event.ActionEvent
dup
aload 0
sipush 1001
2: aload 0
invokevirtual java.awt.MenuItem.getActionCommand:()Ljava/lang/String;
3: invokespecial java.awt.event.ActionEvent.<init>:(Ljava/lang/Object;ILjava/lang/String;)V
astore 1
start local 1 4: invokestatic sun.awt.X11.XToolkit.awtLock:()V
5: aload 1
invokevirtual java.awt.event.ActionEvent.getSource:()Ljava/lang/Object;
invokestatic sun.awt.X11.XToolkit.targetToAppContext:(Ljava/lang/Object;)Lsun/awt/AppContext;
aload 1
invokestatic sun.awt.X11.XToolkit.postEvent:(Lsun/awt/AppContext;Ljava/awt/AWTEvent;)V
6: goto 10
StackMap locals: java.awt.MenuItem java.awt.event.ActionEvent
StackMap stack: java.lang.Throwable
7: astore 2
8: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
9: aload 2
athrow
10: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
end local 1 11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 mi Ljava/awt/MenuItem;
4 11 1 ae Ljava/awt/event/ActionEvent;
Exception table:
from to target type
4 7 7 any
MethodParameters:
Name Flags
mi
private static native boolean init(java.lang.String, int, boolean);
descriptor: (Ljava/lang/String;IZ)Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
name
version
verbose
private static native void runloop();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private native void setBadge(long, boolean);
descriptor: (JZ)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
value
visible
private native void updateProgress(double, boolean);
descriptor: (DZ)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
value
visible
private native void setUrgent(boolean);
descriptor: (Z)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
urgent
private native void (java.awt.MenuItem[]);
descriptor: ([Ljava/awt/MenuItem;)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
items
static int[] $SWITCH_TABLE$java$awt$Taskbar$Feature();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic sun.awt.X11.XTaskbarPeer.$SWITCH_TABLE$java$awt$Taskbar$Feature:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic java.awt.Taskbar$Feature.values:()[Ljava/awt/Taskbar$Feature;
arraylength
newarray 10
astore 0
2: aload 0
getstatic java.awt.Taskbar$Feature.ICON_BADGE_IMAGE_WINDOW:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar$Feature.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic java.awt.Taskbar$Feature.ICON_BADGE_NUMBER:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar$Feature.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic java.awt.Taskbar$Feature.ICON_BADGE_TEXT:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar$Feature.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic java.awt.Taskbar$Feature.ICON_IMAGE:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar$Feature.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic java.awt.Taskbar$Feature.MENU:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar$Feature.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic java.awt.Taskbar$Feature.PROGRESS_STATE_WINDOW:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar$Feature.ordinal:()I
bipush 6
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic java.awt.Taskbar$Feature.PROGRESS_VALUE:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar$Feature.ordinal:()I
bipush 7
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic java.awt.Taskbar$Feature.PROGRESS_VALUE_WINDOW:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar$Feature.ordinal:()I
bipush 8
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic java.awt.Taskbar$Feature.USER_ATTENTION:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar$Feature.ordinal:()I
bipush 9
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
getstatic java.awt.Taskbar$Feature.USER_ATTENTION_WINDOW:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar$Feature.ordinal:()I
bipush 10
iastore
30: goto 32
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
31: pop
StackMap locals:
StackMap stack:
32: aload 0
dup
putstatic sun.awt.X11.XTaskbarPeer.$SWITCH_TABLE$java$awt$Taskbar$Feature:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
29 30 31 Class java.lang.NoSuchFieldError
private static java.lang.String lambda$0();
descriptor: ()Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "XDG_CURRENT_DESKTOP"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$1();
descriptor: ()V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic sun.awt.X11.XTaskbarPeer.runloop:()V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "XTaskbarPeer.java"
InnerClasses:
public final Feature = java.awt.Taskbar$Feature of java.awt.Taskbar
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final GtkVersions = sun.awt.UNIXToolkit$GtkVersions of sun.awt.UNIXToolkit