public abstract class sun.java2d.SunGraphicsEnvironment extends java.awt.GraphicsEnvironment implements sun.awt.DisplayChangedListener
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.java2d.SunGraphicsEnvironment
super_class: java.awt.GraphicsEnvironment
{
public static boolean isOpenSolaris;
descriptor: Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
private static java.awt.Font defaultFont;
descriptor: Ljava/awt/Font;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final boolean uiScaleEnabled;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final double debugScale;
descriptor: D
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected java.awt.GraphicsDevice[] screens;
descriptor: [Ljava/awt/GraphicsDevice;
flags: (0x0004) ACC_PROTECTED
protected sun.awt.SunDisplayChanger displayChanger;
descriptor: Lsun/awt/SunDisplayChanger;
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc "true"
1: new sun.security.action.GetPropertyAction
dup
ldc "sun.java2d.uiScale.enabled"
ldc "true"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putstatic sun.java2d.SunGraphicsEnvironment.uiScaleEnabled:Z
3: getstatic sun.java2d.SunGraphicsEnvironment.uiScaleEnabled:Z
ifeq 4
ldc "sun.java2d.uiScale"
invokestatic sun.java2d.SunGraphicsEnvironment.getScaleFactor:(Ljava/lang/String;)D
goto 5
StackMap locals:
StackMap stack:
4: ldc -1.0
StackMap locals:
StackMap stack: double
5: putstatic sun.java2d.SunGraphicsEnvironment.debugScale:D
6: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.awt.GraphicsEnvironment.<init>:()V
1: aload 0
new sun.awt.SunDisplayChanger
dup
invokespecial sun.awt.SunDisplayChanger.<init>:()V
putfield sun.java2d.SunGraphicsEnvironment.displayChanger:Lsun/awt/SunDisplayChanger;
2: new sun.java2d.SunGraphicsEnvironment$1
dup
aload 0
invokespecial sun.java2d.SunGraphicsEnvironment$1.<init>:(Lsun/java2d/SunGraphicsEnvironment;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/SunGraphicsEnvironment;
public synchronized java.awt.GraphicsDevice[] getScreenDevices();
descriptor: ()[Ljava/awt/GraphicsDevice;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.java2d.SunGraphicsEnvironment.screens:[Ljava/awt/GraphicsDevice;
astore 1
start local 1 1: aload 1
ifnonnull 10
2: aload 0
invokevirtual sun.java2d.SunGraphicsEnvironment.getNumScreens:()I
istore 2
start local 2 3: iload 2
anewarray java.awt.GraphicsDevice
astore 1
4: iconst_0
istore 3
start local 3 5: goto 8
6: StackMap locals: java.awt.GraphicsDevice[] int int
StackMap stack:
aload 1
iload 3
aload 0
iload 3
invokevirtual sun.java2d.SunGraphicsEnvironment.makeScreenDevice:(I)Ljava/awt/GraphicsDevice;
aastore
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 2
if_icmplt 6
end local 3 9: aload 0
aload 1
putfield sun.java2d.SunGraphicsEnvironment.screens:[Ljava/awt/GraphicsDevice;
end local 2 10: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/java2d/SunGraphicsEnvironment;
1 11 1 ret [Ljava/awt/GraphicsDevice;
3 10 2 num I
5 9 3 i I
protected abstract int getNumScreens();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract java.awt.GraphicsDevice makeScreenDevice(int);
descriptor: (I)Ljava/awt/GraphicsDevice;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
screennum
public java.awt.GraphicsDevice getDefaultScreenDevice();
descriptor: ()Ljava/awt/GraphicsDevice;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.java2d.SunGraphicsEnvironment.getScreenDevices:()[Ljava/awt/GraphicsDevice;
astore 1
start local 1 1: aload 1
arraylength
ifne 3
2: new java.awt.AWTError
dup
ldc "no screen devices"
invokespecial java.awt.AWTError.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.awt.GraphicsDevice[]
StackMap stack:
aload 1
iconst_0
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/java2d/SunGraphicsEnvironment;
1 4 1 screens [Ljava/awt/GraphicsDevice;
public java.awt.Graphics2D createGraphics(java.awt.image.BufferedImage);
descriptor: (Ljava/awt/image/BufferedImage;)Ljava/awt/Graphics2D;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "BufferedImage cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.java2d.SurfaceData.getPrimarySurfaceData:(Ljava/awt/Image;)Lsun/java2d/SurfaceData;
astore 2
start local 2 3: new sun.java2d.SunGraphics2D
dup
aload 2
getstatic java.awt.Color.white:Ljava/awt/Color;
getstatic java.awt.Color.black:Ljava/awt/Color;
getstatic sun.java2d.SunGraphicsEnvironment.defaultFont:Ljava/awt/Font;
invokespecial sun.java2d.SunGraphics2D.<init>:(Lsun/java2d/SurfaceData;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Font;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/java2d/SunGraphicsEnvironment;
0 4 1 img Ljava/awt/image/BufferedImage;
3 4 2 sd Lsun/java2d/SurfaceData;
MethodParameters:
Name Flags
img
public static sun.font.FontManagerForSGE getFontManagerForSGE();
descriptor: ()Lsun/font/FontManagerForSGE;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: invokestatic sun.font.FontManagerFactory.getInstance:()Lsun/font/FontManager;
astore 0
start local 0 1: aload 0
checkcast sun.font.FontManagerForSGE
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 fm Lsun/font/FontManager;
public static void useAlternateFontforJALocales();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic sun.java2d.SunGraphicsEnvironment.getFontManagerForSGE:()Lsun/font/FontManagerForSGE;
invokeinterface sun.font.FontManagerForSGE.useAlternateFontforJALocales:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public java.awt.Font[] getAllFonts();
descriptor: ()[Ljava/awt/Font;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: invokestatic sun.java2d.SunGraphicsEnvironment.getFontManagerForSGE:()Lsun/font/FontManagerForSGE;
astore 1
start local 1 1: aload 1
invokeinterface sun.font.FontManagerForSGE.getAllInstalledFonts:()[Ljava/awt/Font;
astore 2
start local 2 2: aload 1
invokeinterface sun.font.FontManagerForSGE.getCreatedFonts:()[Ljava/awt/Font;
astore 3
start local 3 3: aload 3
ifnull 4
aload 3
arraylength
ifne 5
4: StackMap locals: sun.font.FontManagerForSGE java.awt.Font[] java.awt.Font[]
StackMap stack:
aload 2
areturn
5: StackMap locals:
StackMap stack:
aload 2
arraylength
aload 3
arraylength
iadd
istore 4
start local 4 6: aload 2
iload 4
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.awt.Font[]
astore 5
start local 5 7: aload 3
iconst_0
aload 5
8: aload 2
arraylength
aload 3
arraylength
9: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/java2d/SunGraphicsEnvironment;
1 11 1 fm Lsun/font/FontManagerForSGE;
2 11 2 installedFonts [Ljava/awt/Font;
3 11 3 created [Ljava/awt/Font;
6 11 4 newlen I
7 11 5 fonts [Ljava/awt/Font;
public java.lang.String[] getAvailableFontFamilyNames(java.util.Locale);
descriptor: (Ljava/util/Locale;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: invokestatic sun.java2d.SunGraphicsEnvironment.getFontManagerForSGE:()Lsun/font/FontManagerForSGE;
astore 2
start local 2 1: aload 2
aload 1
invokeinterface sun.font.FontManagerForSGE.getInstalledFontFamilyNames:(Ljava/util/Locale;)[Ljava/lang/String;
astore 3
start local 3 2: aload 2
invokeinterface sun.font.FontManagerForSGE.getCreatedFontFamilyNames:()Ljava/util/TreeMap;
astore 4
start local 4 3: aload 4
ifnull 4
aload 4
invokevirtual java.util.TreeMap.size:()I
ifne 5
4: StackMap locals: sun.font.FontManagerForSGE java.lang.String[] java.util.TreeMap
StackMap stack:
aload 3
areturn
5: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 6: goto 11
7: StackMap locals: int
StackMap stack:
aload 4
aload 3
iload 5
aaload
aload 1
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
8: aload 3
iload 5
aaload
9: invokevirtual java.util.TreeMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
aload 3
arraylength
if_icmplt 7
end local 5 12: aload 4
invokevirtual java.util.TreeMap.size:()I
anewarray java.lang.String
astore 5
start local 5 13: aload 4
invokevirtual java.util.TreeMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.toArray:()[Ljava/lang/Object;
astore 6
start local 6 14: iconst_0
istore 7
start local 7 15: goto 18
16: StackMap locals: sun.java2d.SunGraphicsEnvironment java.util.Locale sun.font.FontManagerForSGE java.lang.String[] java.util.TreeMap java.lang.String[] java.lang.Object[] int
StackMap stack:
aload 5
iload 7
aload 4
aload 6
iload 7
aaload
invokevirtual java.util.TreeMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
aastore
17: iinc 7 1
StackMap locals:
StackMap stack:
18: iload 7
aload 6
arraylength
if_icmplt 16
end local 7 19: aload 5
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/java2d/SunGraphicsEnvironment;
0 20 1 requestedLocale Ljava/util/Locale;
1 20 2 fm Lsun/font/FontManagerForSGE;
2 20 3 installed [Ljava/lang/String;
3 20 4 map Ljava/util/TreeMap<Ljava/lang/String;Ljava/lang/String;>;
6 12 5 i I
13 20 5 retval [Ljava/lang/String;
14 20 6 keyNames [Ljava/lang/Object;
15 19 7 i I
MethodParameters:
Name Flags
requestedLocale
public java.lang.String[] getAvailableFontFamilyNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokevirtual sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames:(Ljava/util/Locale;)[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/SunGraphicsEnvironment;
public static java.awt.Rectangle getUsableBounds(java.awt.GraphicsDevice);
descriptor: (Ljava/awt/GraphicsDevice;)Ljava/awt/Rectangle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.GraphicsDevice.getDefaultConfiguration:()Ljava/awt/GraphicsConfiguration;
astore 1
start local 1 1: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
aload 1
invokevirtual java.awt.Toolkit.getScreenInsets:(Ljava/awt/GraphicsConfiguration;)Ljava/awt/Insets;
astore 2
start local 2 2: aload 1
invokevirtual java.awt.GraphicsConfiguration.getBounds:()Ljava/awt/Rectangle;
astore 3
start local 3 3: aload 3
dup
getfield java.awt.Rectangle.x:I
aload 2
getfield java.awt.Insets.left:I
iadd
putfield java.awt.Rectangle.x:I
4: aload 3
dup
getfield java.awt.Rectangle.y:I
aload 2
getfield java.awt.Insets.top:I
iadd
putfield java.awt.Rectangle.y:I
5: aload 3
dup
getfield java.awt.Rectangle.width:I
aload 2
getfield java.awt.Insets.left:I
aload 2
getfield java.awt.Insets.right:I
iadd
isub
putfield java.awt.Rectangle.width:I
6: aload 3
dup
getfield java.awt.Rectangle.height:I
aload 2
getfield java.awt.Insets.top:I
aload 2
getfield java.awt.Insets.bottom:I
iadd
isub
putfield java.awt.Rectangle.height:I
7: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 gd Ljava/awt/GraphicsDevice;
1 8 1 gc Ljava/awt/GraphicsConfiguration;
2 8 2 insets Ljava/awt/Insets;
3 8 3 usableBounds Ljava/awt/Rectangle;
MethodParameters:
Name Flags
gd
public void displayChanged();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual sun.java2d.SunGraphicsEnvironment.getScreenDevices:()[Ljava/awt/GraphicsDevice;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: sun.java2d.SunGraphicsEnvironment top int int java.awt.GraphicsDevice[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
instanceof sun.awt.DisplayChangedListener
ifeq 4
3: aload 1
checkcast sun.awt.DisplayChangedListener
invokeinterface sun.awt.DisplayChangedListener.displayChanged:()V
end local 1 4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: aload 0
getfield sun.java2d.SunGraphicsEnvironment.displayChanger:Lsun/awt/SunDisplayChanger;
invokevirtual sun.awt.SunDisplayChanger.notifyListeners:()V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/java2d/SunGraphicsEnvironment;
2 4 1 gd Ljava/awt/GraphicsDevice;
public void paletteChanged();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.SunGraphicsEnvironment.displayChanger:Lsun/awt/SunDisplayChanger;
invokevirtual sun.awt.SunDisplayChanger.notifyPaletteChanged:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/SunGraphicsEnvironment;
public abstract boolean isDisplayLocal();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public void addDisplayChangedListener(sun.awt.DisplayChangedListener);
descriptor: (Lsun/awt/DisplayChangedListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.java2d.SunGraphicsEnvironment.displayChanger:Lsun/awt/SunDisplayChanger;
aload 1
invokevirtual sun.awt.SunDisplayChanger.add:(Lsun/awt/DisplayChangedListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/SunGraphicsEnvironment;
0 2 1 client Lsun/awt/DisplayChangedListener;
MethodParameters:
Name Flags
client
public void removeDisplayChangedListener(sun.awt.DisplayChangedListener);
descriptor: (Lsun/awt/DisplayChangedListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.java2d.SunGraphicsEnvironment.displayChanger:Lsun/awt/SunDisplayChanger;
aload 1
invokevirtual sun.awt.SunDisplayChanger.remove:(Lsun/awt/DisplayChangedListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/SunGraphicsEnvironment;
0 2 1 client Lsun/awt/DisplayChangedListener;
MethodParameters:
Name Flags
client
public boolean isFlipStrategyPreferred(java.awt.peer.ComponentPeer);
descriptor: (Ljava/awt/peer/ComponentPeer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/SunGraphicsEnvironment;
0 1 1 peer Ljava/awt/peer/ComponentPeer;
MethodParameters:
Name Flags
peer
public static boolean isUIScaleEnabled();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.java2d.SunGraphicsEnvironment.uiScaleEnabled:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static double getDebugScale();
descriptor: ()D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic sun.java2d.SunGraphicsEnvironment.debugScale:D
dreturn
LocalVariableTable:
Start End Slot Name Signature
public static double getScaleFactor(java.lang.String);
descriptor: (Ljava/lang/String;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: new sun.security.action.GetPropertyAction
dup
aload 0
ldc "-1"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 2: aload 1
ifnull 3
aload 1
ldc "-1"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: StackMap locals: java.lang.String
StackMap stack:
ldc -1.0
dreturn
4: StackMap locals:
StackMap stack:
dconst_1
dstore 2
start local 2 5: aload 1
ldc "x"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 8
6: aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
7: goto 15
StackMap locals: double
StackMap stack:
8: aload 1
ldc "dpi"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 12
9: ldc 96.0
dstore 2
10: aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iconst_3
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
11: goto 15
StackMap locals:
StackMap stack:
12: aload 1
ldc "%"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 15
13: ldc 100.0
dstore 2
14: aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
15: StackMap locals:
StackMap stack:
aload 1
invokestatic java.lang.Double.parseDouble:(Ljava/lang/String;)D
dstore 4
start local 4 16: dload 4
dconst_0
dcmpg
ifgt 17
ldc -1.0
goto 18
StackMap locals: double
StackMap stack:
17: dload 4
dload 2
ddiv
StackMap locals:
StackMap stack: double
18: dreturn
end local 4 end local 2 19: StackMap locals: java.lang.String java.lang.String
StackMap stack: java.lang.NumberFormatException
pop
20: ldc -1.0
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 propertyName Ljava/lang/String;
2 21 1 scaleFactor Ljava/lang/String;
5 19 2 units D
16 19 4 scale D
Exception table:
from to target type
4 18 19 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
propertyName
public static java.awt.GraphicsConfiguration getGraphicsConfigurationAtPoint(java.awt.GraphicsConfiguration, double, double);
descriptor: (Ljava/awt/GraphicsConfiguration;DD)Ljava/awt/GraphicsConfiguration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=11, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokevirtual java.awt.GraphicsConfiguration.getBounds:()Ljava/awt/Rectangle;
dload 1
dload 3
invokevirtual java.awt.Rectangle.contains:(DD)Z
ifeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
invokestatic sun.java2d.SunGraphicsEnvironment.getLocalGraphicsEnvironment:()Ljava/awt/GraphicsEnvironment;
astore 5
start local 5 3: aload 5
invokevirtual java.awt.GraphicsEnvironment.getScreenDevices:()[Ljava/awt/GraphicsDevice;
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 9
StackMap locals: java.awt.GraphicsConfiguration double double java.awt.GraphicsEnvironment top int int java.awt.GraphicsDevice[]
StackMap stack:
4: aload 9
iload 7
aaload
astore 6
start local 6 5: aload 6
invokevirtual java.awt.GraphicsDevice.getDefaultConfiguration:()Ljava/awt/GraphicsConfiguration;
astore 10
start local 10 6: aload 10
invokevirtual java.awt.GraphicsConfiguration.getBounds:()Ljava/awt/Rectangle;
dload 1
dload 3
invokevirtual java.awt.Rectangle.contains:(DD)Z
ifeq 8
7: aload 10
areturn
end local 10 end local 6 8: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
9: iload 7
iload 8
if_icmplt 4
10: aload 0
areturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 current Ljava/awt/GraphicsConfiguration;
0 11 1 x D
0 11 3 y D
3 11 5 env Ljava/awt/GraphicsEnvironment;
5 8 6 device Ljava/awt/GraphicsDevice;
6 8 10 config Ljava/awt/GraphicsConfiguration;
MethodParameters:
Name Flags
current
x
y
public static java.awt.Point convertToDeviceSpace(double, double);
descriptor: (DD)Ljava/awt/Point;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 2 0: invokestatic sun.java2d.SunGraphicsEnvironment.getLocalGraphicsEnvironment:()Ljava/awt/GraphicsEnvironment;
1: invokevirtual java.awt.GraphicsEnvironment.getDefaultScreenDevice:()Ljava/awt/GraphicsDevice;
invokevirtual java.awt.GraphicsDevice.getDefaultConfiguration:()Ljava/awt/GraphicsConfiguration;
2: astore 4
start local 4 3: aload 4
dload 0
dload 2
invokestatic sun.java2d.SunGraphicsEnvironment.getGraphicsConfigurationAtPoint:(Ljava/awt/GraphicsConfiguration;DD)Ljava/awt/GraphicsConfiguration;
astore 4
4: aload 4
invokevirtual java.awt.GraphicsConfiguration.getDefaultTransform:()Ljava/awt/geom/AffineTransform;
astore 5
start local 5 5: dload 0
aload 5
invokevirtual java.awt.geom.AffineTransform.getScaleX:()D
dmul
invokestatic sun.java2d.pipe.Region.clipRound:(D)I
i2d
dstore 0
6: dload 2
aload 5
invokevirtual java.awt.geom.AffineTransform.getScaleY:()D
dmul
invokestatic sun.java2d.pipe.Region.clipRound:(D)I
i2d
dstore 2
7: new java.awt.Point
dup
dload 0
d2i
dload 2
d2i
invokespecial java.awt.Point.<init>:(II)V
areturn
end local 5 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 x D
0 8 2 y D
3 8 4 gc Ljava/awt/GraphicsConfiguration;
5 8 5 tx Ljava/awt/geom/AffineTransform;
MethodParameters:
Name Flags
x
y
}
SourceFile: "SunGraphicsEnvironment.java"
NestMembers:
sun.java2d.SunGraphicsEnvironment$1
InnerClasses:
sun.java2d.SunGraphicsEnvironment$1