public final class com.sun.awt.AWTUtilities
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.awt.AWTUtilities
super_class: java.lang.Object
{
private static volatile int[] $SWITCH_TABLE$com$sun$awt$AWTUtilities$Translucency;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/awt/AWTUtilities;
public static boolean isTranslucencySupported(com.sun.awt.AWTUtilities$Translucency);
descriptor: (Lcom/sun/awt/AWTUtilities$Translucency;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.sun.awt.AWTUtilities.$SWITCH_TABLE$com$sun$awt$AWTUtilities$Translucency:()[I
aload 0
invokevirtual com.sun.awt.AWTUtilities$Translucency.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 1
2: 2
3: 3
default: 4
}
1: StackMap locals:
StackMap stack:
invokestatic com.sun.awt.AWTUtilities.isWindowShapingSupported:()Z
ireturn
2: StackMap locals:
StackMap stack:
invokestatic com.sun.awt.AWTUtilities.isWindowOpacitySupported:()Z
ireturn
3: StackMap locals:
StackMap stack:
invokestatic com.sun.awt.AWTUtilities.isWindowTranslucencySupported:()Z
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 translucencyKind Lcom/sun/awt/AWTUtilities$Translucency;
MethodParameters:
Name Flags
translucencyKind
private static boolean isWindowOpacitySupported();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, 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
ifne 3
2: iconst_0
ireturn
3: StackMap locals: java.awt.Toolkit
StackMap stack:
aload 0
checkcast sun.awt.SunToolkit
invokevirtual sun.awt.SunToolkit.isWindowOpacitySupported:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 curToolkit Ljava/awt/Toolkit;
public static void setWindowOpacity(java.awt.Window, float);
descriptor: (Ljava/awt/Window;F)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 4
1: new java.lang.NullPointerException
dup
2: ldc "The window argument should not be null."
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
invokestatic sun.awt.AWTAccessor.getWindowAccessor:()Lsun/awt/AWTAccessor$WindowAccessor;
aload 0
fload 1
invokeinterface sun.awt.AWTAccessor$WindowAccessor.setOpacity:(Ljava/awt/Window;F)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 window Ljava/awt/Window;
0 6 1 opacity F
MethodParameters:
Name Flags
window
opacity
public static float getWindowOpacity(java.awt.Window);
descriptor: (Ljava/awt/Window;)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 4
1: new java.lang.NullPointerException
dup
2: ldc "The window argument should not be null."
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
invokestatic sun.awt.AWTAccessor.getWindowAccessor:()Lsun/awt/AWTAccessor$WindowAccessor;
aload 0
invokeinterface sun.awt.AWTAccessor$WindowAccessor.getOpacity:(Ljava/awt/Window;)F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 window Ljava/awt/Window;
MethodParameters:
Name Flags
window
public static boolean isWindowShapingSupported();
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
ifne 3
2: iconst_0
ireturn
3: StackMap locals: java.awt.Toolkit
StackMap stack:
aload 0
checkcast sun.awt.SunToolkit
invokevirtual sun.awt.SunToolkit.isWindowShapingSupported:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 curToolkit Ljava/awt/Toolkit;
public static java.awt.Shape getWindowShape(java.awt.Window);
descriptor: (Ljava/awt/Window;)Ljava/awt/Shape;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 4
1: new java.lang.NullPointerException
dup
2: ldc "The window argument should not be null."
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
invokestatic sun.awt.AWTAccessor.getWindowAccessor:()Lsun/awt/AWTAccessor$WindowAccessor;
aload 0
invokeinterface sun.awt.AWTAccessor$WindowAccessor.getShape:(Ljava/awt/Window;)Ljava/awt/Shape;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 window Ljava/awt/Window;
MethodParameters:
Name Flags
window
public static void setWindowShape(java.awt.Window, java.awt.Shape);
descriptor: (Ljava/awt/Window;Ljava/awt/Shape;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 4
1: new java.lang.NullPointerException
dup
2: ldc "The window argument should not be null."
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
invokestatic sun.awt.AWTAccessor.getWindowAccessor:()Lsun/awt/AWTAccessor$WindowAccessor;
aload 0
aload 1
invokeinterface sun.awt.AWTAccessor$WindowAccessor.setShape:(Ljava/awt/Window;Ljava/awt/Shape;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 window Ljava/awt/Window;
0 6 1 shape Ljava/awt/Shape;
MethodParameters:
Name Flags
window
shape
private static boolean isWindowTranslucencySupported();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=0
0: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
astore 0
start local 0 1: aload 0
instanceof sun.awt.SunToolkit
ifne 3
2: iconst_0
ireturn
3: StackMap locals: java.awt.Toolkit
StackMap stack:
aload 0
checkcast sun.awt.SunToolkit
invokevirtual sun.awt.SunToolkit.isWindowTranslucencySupported:()Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
invokestatic java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment:()Ljava/awt/GraphicsEnvironment;
6: astore 1
start local 1 7: aload 1
invokevirtual java.awt.GraphicsEnvironment.getDefaultScreenDevice:()Ljava/awt/GraphicsDevice;
8: invokevirtual java.awt.GraphicsDevice.getDefaultConfiguration:()Ljava/awt/GraphicsConfiguration;
9: invokestatic com.sun.awt.AWTUtilities.isTranslucencyCapable:(Ljava/awt/GraphicsConfiguration;)Z
10: ifeq 12
11: iconst_1
ireturn
12: StackMap locals: java.awt.GraphicsEnvironment
StackMap stack:
aload 1
invokevirtual java.awt.GraphicsEnvironment.getScreenDevices:()[Ljava/awt/GraphicsDevice;
astore 2
start local 2 13: iconst_0
istore 3
start local 3 14: goto 23
15: StackMap locals: java.awt.GraphicsDevice[] int
StackMap stack:
aload 2
iload 3
aaload
invokevirtual java.awt.GraphicsDevice.getConfigurations:()[Ljava/awt/GraphicsConfiguration;
astore 4
start local 4 16: iconst_0
istore 5
start local 5 17: goto 21
18: StackMap locals: java.awt.GraphicsConfiguration[] int
StackMap stack:
aload 4
iload 5
aaload
invokestatic com.sun.awt.AWTUtilities.isTranslucencyCapable:(Ljava/awt/GraphicsConfiguration;)Z
ifeq 20
19: iconst_1
ireturn
20: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
21: iload 5
aload 4
arraylength
if_icmplt 18
end local 5 end local 4 22: iinc 3 1
StackMap locals:
StackMap stack:
23: iload 3
aload 2
arraylength
if_icmplt 15
end local 3 24: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 25 0 curToolkit Ljava/awt/Toolkit;
7 25 1 env Ljava/awt/GraphicsEnvironment;
13 25 2 devices [Ljava/awt/GraphicsDevice;
14 24 3 i I
16 22 4 configs [Ljava/awt/GraphicsConfiguration;
17 22 5 j I
public static void setWindowOpaque(java.awt.Window, boolean);
descriptor: (Ljava/awt/Window;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 4
1: new java.lang.NullPointerException
dup
2: ldc "The window argument should not be null."
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 1
ifne 8
getstatic com.sun.awt.AWTUtilities$Translucency.PERPIXEL_TRANSLUCENT:Lcom/sun/awt/AWTUtilities$Translucency;
invokestatic com.sun.awt.AWTUtilities.isTranslucencySupported:(Lcom/sun/awt/AWTUtilities$Translucency;)Z
ifne 8
5: new java.lang.UnsupportedOperationException
dup
6: ldc "The PERPIXEL_TRANSLUCENT translucency kind is not supported"
7: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
invokestatic sun.awt.AWTAccessor.getWindowAccessor:()Lsun/awt/AWTAccessor$WindowAccessor;
aload 0
iload 1
invokeinterface sun.awt.AWTAccessor$WindowAccessor.setOpaque:(Ljava/awt/Window;Z)V
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 window Ljava/awt/Window;
0 10 1 isOpaque Z
MethodParameters:
Name Flags
window
isOpaque
public static boolean isWindowOpaque(java.awt.Window);
descriptor: (Ljava/awt/Window;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 4
1: new java.lang.NullPointerException
dup
2: ldc "The window argument should not be null."
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.Window.isOpaque:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 window Ljava/awt/Window;
MethodParameters:
Name Flags
window
public static boolean isTranslucencyCapable(java.awt.GraphicsConfiguration);
descriptor: (Ljava/awt/GraphicsConfiguration;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "The gc argument should not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
astore 1
start local 1 3: aload 1
instanceof sun.awt.SunToolkit
ifne 5
4: iconst_0
ireturn
5: StackMap locals: java.awt.Toolkit
StackMap stack:
aload 1
checkcast sun.awt.SunToolkit
aload 0
invokevirtual sun.awt.SunToolkit.isTranslucencyCapable:(Ljava/awt/GraphicsConfiguration;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 gc Ljava/awt/GraphicsConfiguration;
3 6 1 curToolkit Ljava/awt/Toolkit;
MethodParameters:
Name Flags
gc
public static void setComponentMixingCutoutShape(java.awt.Component, java.awt.Shape);
descriptor: (Ljava/awt/Component;Ljava/awt/Shape;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 4
1: new java.lang.NullPointerException
dup
2: ldc "The component argument should not be null."
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.awt.Component.setMixingCutoutShape:(Ljava/awt/Shape;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 component Ljava/awt/Component;
0 6 1 shape Ljava/awt/Shape;
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "9")
MethodParameters:
Name Flags
component
shape
static int[] $SWITCH_TABLE$com$sun$awt$AWTUtilities$Translucency();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.awt.AWTUtilities.$SWITCH_TABLE$com$sun$awt$AWTUtilities$Translucency:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.awt.AWTUtilities$Translucency.values:()[Lcom/sun/awt/AWTUtilities$Translucency;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.awt.AWTUtilities$Translucency.PERPIXEL_TRANSLUCENT:Lcom/sun/awt/AWTUtilities$Translucency;
invokevirtual com.sun.awt.AWTUtilities$Translucency.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 com.sun.awt.AWTUtilities$Translucency.PERPIXEL_TRANSPARENT:Lcom/sun/awt/AWTUtilities$Translucency;
invokevirtual com.sun.awt.AWTUtilities$Translucency.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.sun.awt.AWTUtilities$Translucency.TRANSLUCENT:Lcom/sun/awt/AWTUtilities$Translucency;
invokevirtual com.sun.awt.AWTUtilities$Translucency.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic com.sun.awt.AWTUtilities.$SWITCH_TABLE$com$sun$awt$AWTUtilities$Translucency:[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
}
SourceFile: "AWTUtilities.java"
NestMembers:
com.sun.awt.AWTUtilities$Translucency
InnerClasses:
public final Translucency = com.sun.awt.AWTUtilities$Translucency of com.sun.awt.AWTUtilities
public abstract WindowAccessor = sun.awt.AWTAccessor$WindowAccessor of sun.awt.AWTAccessor