class com.sun.glass.ui.monocle.HeadlessScreen implements com.sun.glass.ui.monocle.NativeScreen
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.glass.ui.monocle.HeadlessScreen
super_class: java.lang.Object
{
protected int depth;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int width;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int height;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected com.sun.glass.ui.monocle.Framebuffer fb;
descriptor: Lcom/sun/glass/ui/monocle/Framebuffer;
flags: (0x0004) ACC_PROTECTED
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
sipush 1280
sipush 800
bipush 32
invokespecial com.sun.glass.ui.monocle.HeadlessScreen.<init>:(III)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/HeadlessScreen;
protected void <init>(int, int, int);
descriptor: (III)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield com.sun.glass.ui.monocle.HeadlessScreen.width:I
2: aload 0
iload 2
putfield com.sun.glass.ui.monocle.HeadlessScreen.height:I
3: aload 0
iload 3
putfield com.sun.glass.ui.monocle.HeadlessScreen.depth:I
4: 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;
com/sun/glass/ui/monocle/HeadlessScreen.lambda$0()Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 5: aload 4
ifnull 19
aload 4
bipush 120
invokevirtual java.lang.String.indexOf:(I)I
ifle 19
6: aload 4
ldc "x"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 5
start local 5 7: aload 0
aload 4
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield com.sun.glass.ui.monocle.HeadlessScreen.width:I
8: aload 4
ldc "-"
iload 5
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
istore 6
start local 6 9: iload 6
ifle 12
10: aload 0
aload 4
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield com.sun.glass.ui.monocle.HeadlessScreen.depth:I
11: goto 13
12: StackMap locals: com.sun.glass.ui.monocle.HeadlessScreen int int int java.lang.String int int
StackMap stack:
aload 4
invokevirtual java.lang.String.length:()I
istore 6
13: StackMap locals:
StackMap stack:
aload 0
aload 4
iload 5
iconst_1
iadd
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield com.sun.glass.ui.monocle.HeadlessScreen.height:I
end local 6 end local 5 14: goto 19
StackMap locals: com.sun.glass.ui.monocle.HeadlessScreen int int int java.lang.String
StackMap stack: java.lang.NumberFormatException
15: pop
16: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Cannot parse geometry string: '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
17: aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.HeadlessScreen.width:I
aload 0
getfield com.sun.glass.ui.monocle.HeadlessScreen.height:I
imul
aload 0
getfield com.sun.glass.ui.monocle.HeadlessScreen.depth:I
iconst_3
iushr
imul
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 5
start local 5 20: aload 5
invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
21: aload 0
new com.sun.glass.ui.monocle.Framebuffer
dup
aload 5
aload 0
getfield com.sun.glass.ui.monocle.HeadlessScreen.width:I
aload 0
getfield com.sun.glass.ui.monocle.HeadlessScreen.height:I
aload 0
getfield com.sun.glass.ui.monocle.HeadlessScreen.depth:I
iconst_1
invokespecial com.sun.glass.ui.monocle.Framebuffer.<init>:(Ljava/nio/ByteBuffer;IIIZ)V
putfield com.sun.glass.ui.monocle.HeadlessScreen.fb:Lcom/sun/glass/ui/monocle/Framebuffer;
22: return
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 23 0 this Lcom/sun/glass/ui/monocle/HeadlessScreen;
0 23 1 defaultWidth I
0 23 2 defaultHeight I
0 23 3 defaultDepth I
5 23 4 geometry Ljava/lang/String;
7 14 5 i I
9 14 6 j I
20 23 5 bb Ljava/nio/ByteBuffer;
Exception table:
from to target type
6 14 15 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
defaultWidth
defaultHeight
defaultDepth
public int getDepth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.HeadlessScreen.depth:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/HeadlessScreen;
public int getNativeFormat();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/HeadlessScreen;
public int getWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.HeadlessScreen.width:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/HeadlessScreen;
public int getHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.HeadlessScreen.height:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/HeadlessScreen;
public float getScale();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: fconst_1
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/HeadlessScreen;
public long getNativeHandle();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: lconst_1
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/HeadlessScreen;
public int getDPI();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 96
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/HeadlessScreen;
public void shutdown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/HeadlessScreen;
public void uploadPixels(java.nio.Buffer, int, int, int, int, float);
descriptor: (Ljava/nio/Buffer;IIIIF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
getfield com.sun.glass.ui.monocle.HeadlessScreen.fb:Lcom/sun/glass/ui/monocle/Framebuffer;
aload 1
iload 2
iload 3
iload 4
iload 5
fload 6
invokevirtual com.sun.glass.ui.monocle.Framebuffer.composePixels:(Ljava/nio/Buffer;IIIIF)V
1: return
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 2 0 this Lcom/sun/glass/ui/monocle/HeadlessScreen;
0 2 1 b Ljava/nio/Buffer;
0 2 2 x I
0 2 3 y I
0 2 4 width I
0 2 5 height I
0 2 6 alpha F
MethodParameters:
Name Flags
b
x
y
width
height
alpha
public void swapBuffers();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.HeadlessScreen.fb:Lcom/sun/glass/ui/monocle/Framebuffer;
invokevirtual com.sun.glass.ui.monocle.Framebuffer.reset:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/HeadlessScreen;
public java.nio.ByteBuffer getScreenCapture();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.HeadlessScreen.fb:Lcom/sun/glass/ui/monocle/Framebuffer;
invokevirtual com.sun.glass.ui.monocle.Framebuffer.getBuffer:()Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/HeadlessScreen;
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 "headless.geometry"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "HeadlessScreen.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles