public class sun.java2d.HeadlessGraphicsEnvironment extends java.awt.GraphicsEnvironment implements sun.java2d.FontSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.HeadlessGraphicsEnvironment
super_class: java.awt.GraphicsEnvironment
{
private java.awt.GraphicsEnvironment ge;
descriptor: Ljava/awt/GraphicsEnvironment;
flags: (0x0002) ACC_PRIVATE
private sun.java2d.FontSupport fontSupport;
descriptor: Lsun/java2d/FontSupport;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.awt.GraphicsEnvironment);
descriptor: (Ljava/awt/GraphicsEnvironment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.awt.GraphicsEnvironment.<init>:()V
1: aload 0
aload 1
putfield sun.java2d.HeadlessGraphicsEnvironment.ge:Ljava/awt/GraphicsEnvironment;
2: aload 1
instanceof sun.java2d.FontSupport
ifeq 4
3: aload 0
aload 1
checkcast sun.java2d.FontSupport
putfield sun.java2d.HeadlessGraphicsEnvironment.fontSupport:Lsun/java2d/FontSupport;
4: StackMap locals: sun.java2d.HeadlessGraphicsEnvironment java.awt.GraphicsEnvironment
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/HeadlessGraphicsEnvironment;
0 5 1 ge Ljava/awt/GraphicsEnvironment;
MethodParameters:
Name Flags
ge
public java.awt.GraphicsDevice[] getScreenDevices();
descriptor: ()[Ljava/awt/GraphicsDevice;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.awt.HeadlessException
dup
invokespecial java.awt.HeadlessException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/HeadlessGraphicsEnvironment;
Exceptions:
throws java.awt.HeadlessException
public java.awt.GraphicsDevice getDefaultScreenDevice();
descriptor: ()Ljava/awt/GraphicsDevice;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.awt.HeadlessException
dup
invokespecial java.awt.HeadlessException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/HeadlessGraphicsEnvironment;
Exceptions:
throws java.awt.HeadlessException
public java.awt.Point getCenterPoint();
descriptor: ()Ljava/awt/Point;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.awt.HeadlessException
dup
invokespecial java.awt.HeadlessException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/HeadlessGraphicsEnvironment;
Exceptions:
throws java.awt.HeadlessException
public java.awt.Rectangle getMaximumWindowBounds();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.awt.HeadlessException
dup
invokespecial java.awt.HeadlessException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/HeadlessGraphicsEnvironment;
Exceptions:
throws java.awt.HeadlessException
public java.awt.Graphics2D createGraphics(java.awt.image.BufferedImage);
descriptor: (Ljava/awt/image/BufferedImage;)Ljava/awt/Graphics2D;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.java2d.HeadlessGraphicsEnvironment.ge:Ljava/awt/GraphicsEnvironment;
aload 1
invokevirtual java.awt.GraphicsEnvironment.createGraphics:(Ljava/awt/image/BufferedImage;)Ljava/awt/Graphics2D;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/HeadlessGraphicsEnvironment;
0 1 1 img Ljava/awt/image/BufferedImage;
MethodParameters:
Name Flags
img
public java.awt.Font[] getAllFonts();
descriptor: ()[Ljava/awt/Font;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.HeadlessGraphicsEnvironment.ge:Ljava/awt/GraphicsEnvironment;
invokevirtual java.awt.GraphicsEnvironment.getAllFonts:()[Ljava/awt/Font;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/HeadlessGraphicsEnvironment;
public java.lang.String[] getAvailableFontFamilyNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.HeadlessGraphicsEnvironment.ge:Ljava/awt/GraphicsEnvironment;
invokevirtual java.awt.GraphicsEnvironment.getAvailableFontFamilyNames:()[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/HeadlessGraphicsEnvironment;
public java.lang.String[] getAvailableFontFamilyNames(java.util.Locale);
descriptor: (Ljava/util/Locale;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.java2d.HeadlessGraphicsEnvironment.ge:Ljava/awt/GraphicsEnvironment;
aload 1
invokevirtual java.awt.GraphicsEnvironment.getAvailableFontFamilyNames:(Ljava/util/Locale;)[Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/HeadlessGraphicsEnvironment;
0 1 1 l Ljava/util/Locale;
MethodParameters:
Name Flags
l
public sun.awt.FontConfiguration getFontConfiguration();
descriptor: ()Lsun/awt/FontConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.HeadlessGraphicsEnvironment.fontSupport:Lsun/java2d/FontSupport;
ifnull 2
1: aload 0
getfield sun.java2d.HeadlessGraphicsEnvironment.fontSupport:Lsun/java2d/FontSupport;
invokeinterface sun.java2d.FontSupport.getFontConfiguration:()Lsun/awt/FontConfiguration;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/HeadlessGraphicsEnvironment;
public java.awt.GraphicsEnvironment getSunGraphicsEnvironment();
descriptor: ()Ljava/awt/GraphicsEnvironment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.HeadlessGraphicsEnvironment.ge:Ljava/awt/GraphicsEnvironment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/HeadlessGraphicsEnvironment;
}
SourceFile: "HeadlessGraphicsEnvironment.java"