public class java.awt.Taskbar
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.Taskbar
super_class: java.lang.Object
{
private java.awt.peer.TaskbarPeer peer;
descriptor: Ljava/awt/peer/TaskbarPeer;
flags: (0x0002) ACC_PRIVATE
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: aload 0
getfield java.awt.Taskbar.peer:Ljava/awt/peer/TaskbarPeer;
aload 1
invokeinterface java.awt.peer.TaskbarPeer.isSupported:(Ljava/awt/Taskbar$Feature;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Taskbar;
0 1 1 feature Ljava/awt/Taskbar$Feature;
MethodParameters:
Name Flags
feature
private void checkFeatureSupport(java.awt.Taskbar$Feature);
descriptor: (Ljava/awt/Taskbar$Feature;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.awt.Taskbar.isSupported:(Ljava/awt/Taskbar$Feature;)Z
ifne 4
1: new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "The "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.awt.Taskbar$Feature.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: 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;
3: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/Taskbar;
0 5 1 featureType Ljava/awt/Taskbar$Feature;
MethodParameters:
Name Flags
featureType
private void checkEventsProcessingPermission();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
new java.lang.RuntimePermission
dup
3: ldc "canProcessApplicationEvents"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
4: invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
5: StackMap locals: java.lang.SecurityManager
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/Taskbar;
1 6 1 sm Ljava/lang/SecurityManager;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
astore 1
start local 1 2: aload 1
instanceof sun.awt.SunToolkit
ifeq 4
3: aload 0
aload 1
checkcast sun.awt.SunToolkit
aload 0
invokevirtual sun.awt.SunToolkit.createTaskbarPeer:(Ljava/awt/Taskbar;)Ljava/awt/peer/TaskbarPeer;
putfield java.awt.Taskbar.peer:Ljava/awt/peer/TaskbarPeer;
4: StackMap locals: java.awt.Taskbar java.awt.Toolkit
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/Taskbar;
2 5 1 defaultToolkit Ljava/awt/Toolkit;
public static synchronized java.awt.Taskbar getTaskbar();
descriptor: ()Ljava/awt/Taskbar;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=0
0: invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifeq 1
new java.awt.HeadlessException
dup
invokespecial java.awt.HeadlessException.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
invokestatic java.awt.Taskbar.isTaskbarSupported:()Z
ifne 3
2: new java.lang.UnsupportedOperationException
dup
ldc "Taskbar API is not supported on the current platform"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
astore 0
start local 0 4: aload 0
ldc Ljava/awt/Taskbar;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.Taskbar
astore 1
start local 1 5: aload 1
ifnonnull 8
6: new java.awt.Taskbar
dup
invokespecial java.awt.Taskbar.<init>:()V
astore 1
7: aload 0
ldc Ljava/awt/Taskbar;
aload 1
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: StackMap locals: sun.awt.AppContext java.awt.Taskbar
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
4 9 0 context Lsun/awt/AppContext;
5 9 1 taskbar Ljava/awt/Taskbar;
public static boolean isTaskbarSupported();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
astore 0
start local 0 1: aload 0
instanceof sun.awt.SunToolkit
ifeq 3
2: aload 0
checkcast sun.awt.SunToolkit
invokevirtual sun.awt.SunToolkit.isTaskbarSupported:()Z
ireturn
3: StackMap locals: java.awt.Toolkit
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 defaultToolkit Ljava/awt/Toolkit;
public void requestUserAttention(boolean, boolean);
descriptor: (ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.awt.Taskbar.checkEventsProcessingPermission:()V
1: aload 0
getstatic java.awt.Taskbar$Feature.USER_ATTENTION:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar.checkFeatureSupport:(Ljava/awt/Taskbar$Feature;)V
2: aload 0
getfield java.awt.Taskbar.peer:Ljava/awt/peer/TaskbarPeer;
iload 1
iload 2
invokeinterface java.awt.peer.TaskbarPeer.requestUserAttention:(ZZ)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/Taskbar;
0 4 1 enabled Z
0 4 2 critical Z
MethodParameters:
Name Flags
enabled final
critical final
public void requestWindowUserAttention(java.awt.Window);
descriptor: (Ljava/awt/Window;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.awt.Taskbar.checkEventsProcessingPermission:()V
1: aload 0
getstatic java.awt.Taskbar$Feature.USER_ATTENTION_WINDOW:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar.checkFeatureSupport:(Ljava/awt/Taskbar$Feature;)V
2: aload 0
getfield java.awt.Taskbar.peer:Ljava/awt/peer/TaskbarPeer;
aload 1
invokeinterface java.awt.peer.TaskbarPeer.requestWindowUserAttention:(Ljava/awt/Window;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/Taskbar;
0 4 1 w Ljava/awt/Window;
MethodParameters:
Name Flags
w
public void (java.awt.PopupMenu);
descriptor: (Ljava/awt/PopupMenu;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.awt.Taskbar.checkEventsProcessingPermission:()V
1: aload 0
getstatic java.awt.Taskbar$Feature.MENU:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar.checkFeatureSupport:(Ljava/awt/Taskbar$Feature;)V
2: aload 0
getfield java.awt.Taskbar.peer:Ljava/awt/peer/TaskbarPeer;
aload 1
invokeinterface java.awt.peer.TaskbarPeer.setMenu:(Ljava/awt/PopupMenu;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/Taskbar;
0 4 1 menu Ljava/awt/PopupMenu;
MethodParameters:
Name Flags
menu final
public java.awt.PopupMenu ();
descriptor: ()Ljava/awt/PopupMenu;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.Taskbar.checkEventsProcessingPermission:()V
1: aload 0
getstatic java.awt.Taskbar$Feature.MENU:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar.checkFeatureSupport:(Ljava/awt/Taskbar$Feature;)V
2: aload 0
getfield java.awt.Taskbar.peer:Ljava/awt/peer/TaskbarPeer;
invokeinterface java.awt.peer.TaskbarPeer.getMenu:()Ljava/awt/PopupMenu;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/Taskbar;
public void setIconImage(java.awt.Image);
descriptor: (Ljava/awt/Image;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.awt.Taskbar.checkEventsProcessingPermission:()V
1: aload 0
getstatic java.awt.Taskbar$Feature.ICON_IMAGE:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar.checkFeatureSupport:(Ljava/awt/Taskbar$Feature;)V
2: aload 0
getfield java.awt.Taskbar.peer:Ljava/awt/peer/TaskbarPeer;
aload 1
invokeinterface java.awt.peer.TaskbarPeer.setIconImage:(Ljava/awt/Image;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/Taskbar;
0 4 1 image Ljava/awt/Image;
MethodParameters:
Name Flags
image final
public java.awt.Image getIconImage();
descriptor: ()Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.Taskbar.checkEventsProcessingPermission:()V
1: aload 0
getstatic java.awt.Taskbar$Feature.ICON_IMAGE:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar.checkFeatureSupport:(Ljava/awt/Taskbar$Feature;)V
2: aload 0
getfield java.awt.Taskbar.peer:Ljava/awt/peer/TaskbarPeer;
invokeinterface java.awt.peer.TaskbarPeer.getIconImage:()Ljava/awt/Image;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/Taskbar;
public void setIconBadge(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
invokevirtual java.awt.Taskbar.checkEventsProcessingPermission:()V
1: aload 0
getstatic java.awt.Taskbar$Feature.ICON_BADGE_NUMBER:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar.checkFeatureSupport:(Ljava/awt/Taskbar$Feature;)V
2: aload 0
getfield java.awt.Taskbar.peer:Ljava/awt/peer/TaskbarPeer;
aload 1
invokeinterface java.awt.peer.TaskbarPeer.setIconBadge:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/Taskbar;
0 4 1 badge Ljava/lang/String;
MethodParameters:
Name Flags
badge final
public void setWindowIconBadge(java.awt.Window, java.awt.Image);
descriptor: (Ljava/awt/Window;Ljava/awt/Image;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.awt.Taskbar.checkEventsProcessingPermission:()V
1: aload 0
getstatic java.awt.Taskbar$Feature.ICON_BADGE_IMAGE_WINDOW:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar.checkFeatureSupport:(Ljava/awt/Taskbar$Feature;)V
2: aload 1
ifnull 4
3: aload 0
getfield java.awt.Taskbar.peer:Ljava/awt/peer/TaskbarPeer;
aload 1
aload 2
invokeinterface java.awt.peer.TaskbarPeer.setWindowIconBadge:(Ljava/awt/Window;Ljava/awt/Image;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/Taskbar;
0 5 1 w Ljava/awt/Window;
0 5 2 badge Ljava/awt/Image;
MethodParameters:
Name Flags
w
badge final
public void setProgressValue(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.awt.Taskbar.checkEventsProcessingPermission:()V
1: aload 0
getstatic java.awt.Taskbar$Feature.PROGRESS_VALUE:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar.checkFeatureSupport:(Ljava/awt/Taskbar$Feature;)V
2: aload 0
getfield java.awt.Taskbar.peer:Ljava/awt/peer/TaskbarPeer;
iload 1
invokeinterface java.awt.peer.TaskbarPeer.setProgressValue:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/Taskbar;
0 4 1 value I
MethodParameters:
Name Flags
value
public void setWindowProgressValue(java.awt.Window, int);
descriptor: (Ljava/awt/Window;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.awt.Taskbar.checkEventsProcessingPermission:()V
1: aload 0
getstatic java.awt.Taskbar$Feature.PROGRESS_VALUE_WINDOW:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar.checkFeatureSupport:(Ljava/awt/Taskbar$Feature;)V
2: aload 1
ifnull 4
3: aload 0
getfield java.awt.Taskbar.peer:Ljava/awt/peer/TaskbarPeer;
aload 1
iload 2
invokeinterface java.awt.peer.TaskbarPeer.setWindowProgressValue:(Ljava/awt/Window;I)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/Taskbar;
0 5 1 w Ljava/awt/Window;
0 5 2 value I
MethodParameters:
Name Flags
w
value
public void setWindowProgressState(java.awt.Window, java.awt.Taskbar$State);
descriptor: (Ljava/awt/Window;Ljava/awt/Taskbar$State;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.awt.Taskbar.checkEventsProcessingPermission:()V
1: aload 0
getstatic java.awt.Taskbar$Feature.PROGRESS_STATE_WINDOW:Ljava/awt/Taskbar$Feature;
invokevirtual java.awt.Taskbar.checkFeatureSupport:(Ljava/awt/Taskbar$Feature;)V
2: aload 1
ifnull 4
3: aload 0
getfield java.awt.Taskbar.peer:Ljava/awt/peer/TaskbarPeer;
aload 1
aload 2
invokeinterface java.awt.peer.TaskbarPeer.setWindowProgressState:(Ljava/awt/Window;Ljava/awt/Taskbar$State;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/Taskbar;
0 5 1 w Ljava/awt/Window;
0 5 2 state Ljava/awt/Taskbar$State;
MethodParameters:
Name Flags
w
state
}
SourceFile: "Taskbar.java"
NestMembers:
java.awt.Taskbar$Feature java.awt.Taskbar$State
InnerClasses:
public final Feature = java.awt.Taskbar$Feature of java.awt.Taskbar
public final State = java.awt.Taskbar$State of java.awt.Taskbar