class com.sun.glass.ui.monocle.EPDScreen 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.EPDScreen
super_class: java.lang.Object
{
private static final java.lang.String FB_PATH_KEY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "monocle.screen.fb"
private static final java.lang.String FB_PATH_DEFAULT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "/dev/fb0"
private static final int DPI;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 167
private static final float SCALE;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1.0
private final com.sun.javafx.logging.PlatformLogger logger;
descriptor: Lcom/sun/javafx/logging/PlatformLogger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String fbPath;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.glass.ui.monocle.EPDFrameBuffer fbDevice;
descriptor: Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer fbMapping;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.channels.FileChannel fbChannel;
descriptor: Ljava/nio/channels/FileChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.glass.ui.monocle.Framebuffer pixels;
descriptor: Lcom/sun/glass/ui/monocle/Framebuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int width;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int height;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int bitDepth;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean isShutdown;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=8, locals=3, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic com.sun.javafx.util.Logging.getJavaFXLogger:()Lcom/sun/javafx/logging/PlatformLogger;
putfield com.sun.glass.ui.monocle.EPDScreen.logger:Lcom/sun/javafx/logging/PlatformLogger;
2: aload 0
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/EPDScreen.lambda$0()Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
putfield com.sun.glass.ui.monocle.EPDScreen.fbPath:Ljava/lang/String;
3: aload 0
new com.sun.glass.ui.monocle.EPDFrameBuffer
dup
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbPath:Ljava/lang/String;
invokespecial com.sun.glass.ui.monocle.EPDFrameBuffer.<init>:(Ljava/lang/String;)V
putfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
4: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.init:()V
5: aload 0
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.getWidth:()I
putfield com.sun.glass.ui.monocle.EPDScreen.width:I
6: aload 0
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.getHeight:()I
putfield com.sun.glass.ui.monocle.EPDScreen.height:I
7: aload 0
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.getBitDepth:()I
putfield com.sun.glass.ui.monocle.EPDScreen.bitDepth:I
8: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Native screen geometry: {0} px x {1} px x {2} bpp"
iconst_3
anewarray java.lang.Object
dup
iconst_0
9: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.width:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.height:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.bitDepth:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
10: invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
11: aconst_null
astore 1
start local 1 12: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.bitDepth:I
bipush 32
if_icmpne 14
13: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.getMappedBuffer:()Ljava/nio/ByteBuffer;
astore 1
14: StackMap locals: com.sun.glass.ui.monocle.EPDScreen java.nio.ByteBuffer
StackMap stack:
aload 1
ifnull 18
15: aload 0
aload 1
putfield com.sun.glass.ui.monocle.EPDScreen.fbMapping:Ljava/nio/ByteBuffer;
16: aload 0
aconst_null
putfield com.sun.glass.ui.monocle.EPDScreen.fbChannel:Ljava/nio/channels/FileChannel;
17: goto 26
18: StackMap locals:
StackMap stack:
invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbPath:Ljava/lang/String;
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
start local 2 19: aload 0
aload 2
iconst_1
anewarray java.nio.file.OpenOption
dup
iconst_0
getstatic java.nio.file.StandardOpenOption.WRITE:Ljava/nio/file/StandardOpenOption;
aastore
invokestatic java.nio.channels.FileChannel.open:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel;
putfield com.sun.glass.ui.monocle.EPDScreen.fbChannel:Ljava/nio/channels/FileChannel;
20: aload 0
aconst_null
putfield com.sun.glass.ui.monocle.EPDScreen.fbMapping:Ljava/nio/ByteBuffer;
end local 2 end local 1 21: goto 26
StackMap locals: com.sun.glass.ui.monocle.EPDScreen
StackMap stack: java.io.IOException
22: astore 1
start local 1 23: ldc "Failed opening frame buffer: {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbPath:Ljava/lang/String;
aastore
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 24: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.logger:Lcom/sun/javafx/logging/PlatformLogger;
aload 2
aload 1
invokevirtual com.sun.javafx.logging.PlatformLogger.severe:(Ljava/lang/String;Ljava/lang/Throwable;)V
25: new java.lang.IllegalStateException
dup
aload 2
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 26: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbMapping:Ljava/nio/ByteBuffer;
ifnull 27
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbMapping:Ljava/nio/ByteBuffer;
goto 28
StackMap locals:
StackMap stack:
27: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.getOffscreenBuffer:()Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
28: astore 1
start local 1 29: aload 1
invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
30: aload 0
new com.sun.glass.ui.monocle.FramebufferY8
dup
aload 1
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.width:I
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.height:I
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.bitDepth:I
iconst_1
invokespecial com.sun.glass.ui.monocle.FramebufferY8.<init>:(Ljava/nio/ByteBuffer;IIIZ)V
putfield com.sun.glass.ui.monocle.EPDScreen.pixels:Lcom/sun/glass/ui/monocle/Framebuffer;
31: aload 0
invokevirtual com.sun.glass.ui.monocle.EPDScreen.clearScreen:()V
32: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lcom/sun/glass/ui/monocle/EPDScreen;
12 21 1 mapping Ljava/nio/ByteBuffer;
19 21 2 path Ljava/nio/file/Path;
23 26 1 e Ljava/io/IOException;
24 26 2 msg Ljava/lang/String;
29 33 1 buffer Ljava/nio/ByteBuffer;
Exception table:
from to target type
3 21 22 Class java.io.IOException
private void close();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbChannel:Ljava/nio/channels/FileChannel;
ifnull 13
1: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbChannel:Ljava/nio/channels/FileChannel;
invokevirtual java.nio.channels.FileChannel.close:()V
2: goto 13
StackMap locals:
StackMap stack: java.io.IOException
3: astore 1
start local 1 4: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Failed closing frame buffer channel"
aload 1
invokevirtual com.sun.javafx.logging.PlatformLogger.severe:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 5: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbMapping:Ljava/nio/ByteBuffer;
ifnull 7
6: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbMapping:Ljava/nio/ByteBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.releaseMappedBuffer:(Ljava/nio/ByteBuffer;)V
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.close:()V
goto 16
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
9: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbMapping:Ljava/nio/ByteBuffer;
ifnull 11
10: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbMapping:Ljava/nio/ByteBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.releaseMappedBuffer:(Ljava/nio/ByteBuffer;)V
11: StackMap locals: com.sun.glass.ui.monocle.EPDScreen top java.lang.Throwable
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.close:()V
12: aload 2
athrow
13: StackMap locals: com.sun.glass.ui.monocle.EPDScreen
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbMapping:Ljava/nio/ByteBuffer;
ifnull 15
14: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbMapping:Ljava/nio/ByteBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.releaseMappedBuffer:(Ljava/nio/ByteBuffer;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.close:()V
16: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/glass/ui/monocle/EPDScreen;
4 5 1 e Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
0 5 8 any
private void writeBuffer();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbChannel:Ljava/nio/channels/FileChannel;
ifnull 6
1: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbChannel:Ljava/nio/channels/FileChannel;
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.getByteOffset:()I
i2l
invokevirtual java.nio.channels.FileChannel.position:(J)Ljava/nio/channels/FileChannel;
pop
2: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.pixels:Lcom/sun/glass/ui/monocle/Framebuffer;
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbChannel:Ljava/nio/channels/FileChannel;
invokevirtual com.sun.glass.ui.monocle.Framebuffer.write:(Ljava/nio/channels/WritableByteChannel;)V
3: goto 6
StackMap locals:
StackMap stack: java.io.IOException
4: astore 1
start local 1 5: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Failed writing to frame buffer channel"
aload 1
invokevirtual com.sun.javafx.logging.PlatformLogger.severe:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/glass/ui/monocle/EPDScreen;
5 6 1 e Ljava/io/IOException;
Exception table:
from to target type
1 3 4 Class java.io.IOException
private void clearScreen();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.pixels:Lcom/sun/glass/ui/monocle/Framebuffer;
invokevirtual com.sun.glass.ui.monocle.Framebuffer.clearBufferContents:()V
1: aload 0
invokevirtual com.sun.glass.ui.monocle.EPDScreen.writeBuffer:()V
2: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.clear:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/glass/ui/monocle/EPDScreen;
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.EPDScreen.bitDepth:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/EPDScreen;
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/EPDScreen;
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.EPDScreen.width:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/EPDScreen;
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.EPDScreen.height:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/EPDScreen;
public int getDPI();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: sipush 167
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/EPDScreen;
public long getNativeHandle();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.getNativeHandle:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/EPDScreen;
public synchronized void shutdown();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.glass.ui.monocle.EPDScreen.close:()V
1: aload 0
iconst_1
putfield com.sun.glass.ui.monocle.EPDScreen.isShutdown:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/monocle/EPDScreen;
public synchronized void uploadPixels(java.nio.Buffer, int, int, int, int, float);
descriptor: (Ljava/nio/Buffer;IIIIF)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
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.EPDScreen.pixels: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/EPDScreen;
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 synchronized void swapBuffers();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.isShutdown:Z
ifne 4
aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.pixels:Lcom/sun/glass/ui/monocle/Framebuffer;
invokevirtual com.sun.glass.ui.monocle.Framebuffer.hasReceivedData:()Z
ifeq 4
1: aload 0
invokevirtual com.sun.glass.ui.monocle.EPDScreen.writeBuffer:()V
2: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.fbDevice:Lcom/sun/glass/ui/monocle/EPDFrameBuffer;
invokevirtual com.sun.glass.ui.monocle.EPDFrameBuffer.sync:()V
3: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.pixels:Lcom/sun/glass/ui/monocle/Framebuffer;
invokevirtual com.sun.glass.ui.monocle.Framebuffer.reset:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/monocle/EPDScreen;
public synchronized java.nio.ByteBuffer getScreenCapture();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.EPDScreen.pixels:Lcom/sun/glass/ui/monocle/Framebuffer;
invokevirtual com.sun.glass.ui.monocle.Framebuffer.getBuffer:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asReadOnlyBuffer:()Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/EPDScreen;
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/EPDScreen;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "{0}[width={1} height={2} depth={3} DPI={4} scale={5,number,0.0#}]"
bipush 6
anewarray java.lang.Object
dup
iconst_0
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
invokevirtual com.sun.glass.ui.monocle.EPDScreen.getWidth:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
invokevirtual com.sun.glass.ui.monocle.EPDScreen.getHeight:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
aload 0
invokevirtual com.sun.glass.ui.monocle.EPDScreen.getDepth:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
aload 0
invokevirtual com.sun.glass.ui.monocle.EPDScreen.getDPI:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
aload 0
invokevirtual com.sun.glass.ui.monocle.EPDScreen.getScale:()F
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
aastore
2: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/monocle/EPDScreen;
private static java.lang.String lambda$0();
descriptor: ()Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=0, args_size=0
0: ldc "monocle.screen.fb"
ldc "/dev/fb0"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "EPDScreen.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles