class com.sun.glass.ui.monocle.NativeCursors
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.glass.ui.monocle.NativeCursors
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // com.sun.glass.ui.monocle.NativeCursors this
0: .line 34
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.sun.glass.ui.monocle.NativeCursors this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/NativeCursors;
static void colorKeyCursor(byte[], java.nio.Buffer, int, int);
descriptor: ([BLjava/nio/Buffer;II)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=4
start local 0 // byte[] source
start local 1 // java.nio.Buffer dest
start local 2 // int targetDepth
start local 3 // int transparentPixel
0: .line 48
iload 2 /* targetDepth */
lookupswitch { // 2
16: 5
32: 1
default: 9
}
1: .line 50
StackMap locals:
StackMap stack:
aload 0 /* source */
2: .line 51
aload 1 /* dest */
checkcast java.nio.IntBuffer
iload 3 /* transparentPixel */
3: .line 50
invokestatic com.sun.glass.ui.monocle.NativeCursors.colorKeyCursor32:([BLjava/nio/IntBuffer;I)V
4: .line 52
goto 10
5: .line 54
StackMap locals:
StackMap stack:
aload 0 /* source */
6: .line 55
aload 1 /* dest */
checkcast java.nio.ShortBuffer
iload 3 /* transparentPixel */
7: .line 54
invokestatic com.sun.glass.ui.monocle.NativeCursors.colorKeyCursor16:([BLjava/nio/ShortBuffer;I)V
8: .line 56
goto 10
9: .line 58
StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
10: .line 60
StackMap locals:
StackMap stack:
return
end local 3 // int transparentPixel
end local 2 // int targetDepth
end local 1 // java.nio.Buffer dest
end local 0 // byte[] source
LocalVariableTable:
Start End Slot Name Signature
0 11 0 source [B
0 11 1 dest Ljava/nio/Buffer;
0 11 2 targetDepth I
0 11 3 transparentPixel I
MethodParameters:
Name Flags
source
dest
targetDepth
transparentPixel
static void offsetCursor(java.nio.Buffer, java.nio.Buffer, int, int, int, int, int, int);
descriptor: (Ljava/nio/Buffer;Ljava/nio/Buffer;IIIIII)V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=8, args_size=8
start local 0 // java.nio.Buffer sourceBuffer
start local 1 // java.nio.Buffer destBuffer
start local 2 // int offsetX
start local 3 // int offsetY
start local 4 // int width
start local 5 // int height
start local 6 // int depth
start local 7 // int transparentPixel
0: .line 79
iload 6 /* depth */
lookupswitch { // 2
16: 8
32: 1
default: 15
}
1: .line 81
StackMap locals:
StackMap stack:
aload 0 /* sourceBuffer */
checkcast java.nio.IntBuffer
2: .line 82
aload 1 /* destBuffer */
checkcast java.nio.IntBuffer
3: .line 83
iload 2 /* offsetX */
iload 3 /* offsetY */
4: .line 84
iload 4 /* width */
iload 5 /* height */
5: .line 85
iload 7 /* transparentPixel */
6: .line 81
invokestatic com.sun.glass.ui.monocle.NativeCursors.offsetCursor32:(Ljava/nio/IntBuffer;Ljava/nio/IntBuffer;IIIII)V
7: .line 86
goto 16
8: .line 88
StackMap locals:
StackMap stack:
aload 0 /* sourceBuffer */
checkcast java.nio.ShortBuffer
9: .line 89
aload 1 /* destBuffer */
checkcast java.nio.ShortBuffer
10: .line 90
iload 2 /* offsetX */
iload 3 /* offsetY */
11: .line 91
iload 4 /* width */
iload 5 /* height */
12: .line 92
iload 7 /* transparentPixel */
13: .line 88
invokestatic com.sun.glass.ui.monocle.NativeCursors.offsetCursor16:(Ljava/nio/ShortBuffer;Ljava/nio/ShortBuffer;IIIII)V
14: .line 93
goto 16
15: .line 95
StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
16: .line 97
StackMap locals:
StackMap stack:
return
end local 7 // int transparentPixel
end local 6 // int depth
end local 5 // int height
end local 4 // int width
end local 3 // int offsetY
end local 2 // int offsetX
end local 1 // java.nio.Buffer destBuffer
end local 0 // java.nio.Buffer sourceBuffer
LocalVariableTable:
Start End Slot Name Signature
0 17 0 sourceBuffer Ljava/nio/Buffer;
0 17 1 destBuffer Ljava/nio/Buffer;
0 17 2 offsetX I
0 17 3 offsetY I
0 17 4 width I
0 17 5 height I
0 17 6 depth I
0 17 7 transparentPixel I
MethodParameters:
Name Flags
sourceBuffer
destBuffer
offsetX
offsetY
width
height
depth
transparentPixel
private static void colorKeyCursor32(byte[], java.nio.IntBuffer, int);
descriptor: ([BLjava/nio/IntBuffer;I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 // byte[] source
start local 1 // java.nio.IntBuffer destBuffer
start local 2 // int transparentPixel
0: .line 101
aload 0 /* source */
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
astore 3 /* sourceBuffer */
start local 3 // java.nio.IntBuffer sourceBuffer
1: .line 102
goto 7
2: .line 103
StackMap locals: java.nio.IntBuffer
StackMap stack:
aload 3 /* sourceBuffer */
invokevirtual java.nio.IntBuffer.get:()I
istore 4 /* i */
start local 4 // int i
3: .line 104
iload 4 /* i */
sipush 255
iand
ifne 6
4: .line 105
aload 1 /* destBuffer */
iload 2 /* transparentPixel */
invokevirtual java.nio.IntBuffer.put:(I)Ljava/nio/IntBuffer;
pop
5: .line 106
goto 7
6: .line 107
StackMap locals: int
StackMap stack:
aload 1 /* destBuffer */
iload 4 /* i */
invokevirtual java.nio.IntBuffer.put:(I)Ljava/nio/IntBuffer;
pop
end local 4 // int i
7: .line 102
StackMap locals:
StackMap stack:
aload 3 /* sourceBuffer */
invokevirtual java.nio.IntBuffer.position:()I
aload 3 /* sourceBuffer */
invokevirtual java.nio.IntBuffer.limit:()I
if_icmplt 2
8: .line 110
aload 1 /* destBuffer */
invokevirtual java.nio.IntBuffer.rewind:()Ljava/nio/Buffer;
pop
9: .line 111
return
end local 3 // java.nio.IntBuffer sourceBuffer
end local 2 // int transparentPixel
end local 1 // java.nio.IntBuffer destBuffer
end local 0 // byte[] source
LocalVariableTable:
Start End Slot Name Signature
0 10 0 source [B
0 10 1 destBuffer Ljava/nio/IntBuffer;
0 10 2 transparentPixel I
1 10 3 sourceBuffer Ljava/nio/IntBuffer;
3 7 4 i I
MethodParameters:
Name Flags
source
destBuffer
transparentPixel
private static void colorKeyCursor16(byte[], java.nio.ShortBuffer, int);
descriptor: ([BLjava/nio/ShortBuffer;I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 // byte[] source
start local 1 // java.nio.ShortBuffer destBuffer
start local 2 // int transparentPixel
0: .line 116
aload 0 /* source */
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
astore 3 /* sourceBuffer */
start local 3 // java.nio.IntBuffer sourceBuffer
1: .line 117
goto 12
2: .line 118
StackMap locals: java.nio.IntBuffer
StackMap stack:
aload 3 /* sourceBuffer */
invokevirtual java.nio.IntBuffer.get:()I
istore 4 /* i */
start local 4 // int i
3: .line 119
iload 4 /* i */
sipush 255
iand
ifne 6
4: .line 120
aload 1 /* destBuffer */
iload 2 /* transparentPixel */
i2s
invokevirtual java.nio.ShortBuffer.put:(S)Ljava/nio/ShortBuffer;
pop
5: .line 121
goto 12
6: .line 122
StackMap locals: int
StackMap stack:
iload 4 /* i */
bipush 8
ishr
ldc 63488
iand
7: .line 123
iload 4 /* i */
iconst_5
ishr
sipush 2016
iand
8: .line 122
ior
9: .line 124
iload 4 /* i */
iconst_3
ishr
bipush 31
iand
10: .line 122
ior
istore 5 /* pixel */
start local 5 // int pixel
11: .line 125
aload 1 /* destBuffer */
iload 5 /* pixel */
i2s
invokevirtual java.nio.ShortBuffer.put:(S)Ljava/nio/ShortBuffer;
pop
end local 5 // int pixel
end local 4 // int i
12: .line 117
StackMap locals:
StackMap stack:
aload 3 /* sourceBuffer */
invokevirtual java.nio.IntBuffer.position:()I
aload 3 /* sourceBuffer */
invokevirtual java.nio.IntBuffer.limit:()I
if_icmplt 2
13: .line 128
aload 1 /* destBuffer */
invokevirtual java.nio.ShortBuffer.rewind:()Ljava/nio/Buffer;
pop
14: .line 129
return
end local 3 // java.nio.IntBuffer sourceBuffer
end local 2 // int transparentPixel
end local 1 // java.nio.ShortBuffer destBuffer
end local 0 // byte[] source
LocalVariableTable:
Start End Slot Name Signature
0 15 0 source [B
0 15 1 destBuffer Ljava/nio/ShortBuffer;
0 15 2 transparentPixel I
1 15 3 sourceBuffer Ljava/nio/IntBuffer;
3 12 4 i I
11 12 5 pixel I
MethodParameters:
Name Flags
source
destBuffer
transparentPixel
private static void offsetCursor32(java.nio.IntBuffer, java.nio.IntBuffer, int, int, int, int, int);
descriptor: (Ljava/nio/IntBuffer;Ljava/nio/IntBuffer;IIIII)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=10, args_size=7
start local 0 // java.nio.IntBuffer sourceBuffer
start local 1 // java.nio.IntBuffer destBuffer
start local 2 // int offsetX
start local 3 // int offsetY
start local 4 // int width
start local 5 // int height
start local 6 // int transparentPixel
0: .line 136
iload 2 /* offsetX */
ifne 3
iload 3 /* offsetY */
ifne 3
1: .line 137
aload 1 /* destBuffer */
aload 0 /* sourceBuffer */
invokevirtual java.nio.IntBuffer.put:(Ljava/nio/IntBuffer;)Ljava/nio/IntBuffer;
pop
2: .line 138
goto 24
3: .line 140
StackMap locals:
StackMap stack:
iconst_0
istore 7 /* i */
start local 7 // int i
4: goto 11
5: .line 141
StackMap locals: int
StackMap stack:
iconst_0
istore 8 /* j */
start local 8 // int j
6: goto 9
7: .line 142
StackMap locals: int
StackMap stack:
aload 1 /* destBuffer */
iload 6 /* transparentPixel */
invokevirtual java.nio.IntBuffer.put:(I)Ljava/nio/IntBuffer;
pop
8: .line 141
iinc 8 /* j */ 1
StackMap locals:
StackMap stack:
9: iload 8 /* j */
iload 4 /* width */
if_icmplt 7
end local 8 // int j
10: .line 140
iinc 7 /* i */ 1
StackMap locals:
StackMap stack:
11: iload 7 /* i */
iload 3 /* offsetY */
if_icmplt 5
12: .line 145
goto 23
13: .line 147
StackMap locals:
StackMap stack:
iconst_0
istore 8 /* j */
start local 8 // int j
14: goto 17
15: .line 148
StackMap locals: int
StackMap stack:
aload 1 /* destBuffer */
iload 6 /* transparentPixel */
invokevirtual java.nio.IntBuffer.put:(I)Ljava/nio/IntBuffer;
pop
16: .line 147
iinc 8 /* j */ 1
StackMap locals:
StackMap stack:
17: iload 8 /* j */
iload 2 /* offsetX */
if_icmplt 15
18: .line 150
iload 7 /* i */
iload 3 /* offsetY */
isub
iload 4 /* width */
imul
istore 9 /* srcPos */
start local 9 // int srcPos
19: .line 151
aload 0 /* sourceBuffer */
iload 9 /* srcPos */
iload 4 /* width */
iadd
iload 8 /* j */
isub
invokevirtual java.nio.IntBuffer.limit:(I)Ljava/nio/Buffer;
pop
20: .line 152
aload 0 /* sourceBuffer */
iload 9 /* srcPos */
invokevirtual java.nio.IntBuffer.position:(I)Ljava/nio/Buffer;
pop
21: .line 153
aload 1 /* destBuffer */
aload 0 /* sourceBuffer */
invokevirtual java.nio.IntBuffer.put:(Ljava/nio/IntBuffer;)Ljava/nio/IntBuffer;
pop
end local 9 // int srcPos
end local 8 // int j
22: .line 145
iinc 7 /* i */ 1
StackMap locals:
StackMap stack:
23: iload 7 /* i */
iload 5 /* height */
if_icmplt 13
end local 7 // int i
24: .line 156
StackMap locals:
StackMap stack:
aload 0 /* sourceBuffer */
invokevirtual java.nio.IntBuffer.rewind:()Ljava/nio/Buffer;
pop
25: .line 157
aload 0 /* sourceBuffer */
aload 0 /* sourceBuffer */
invokevirtual java.nio.IntBuffer.capacity:()I
invokevirtual java.nio.IntBuffer.limit:(I)Ljava/nio/Buffer;
pop
26: .line 158
aload 1 /* destBuffer */
invokevirtual java.nio.IntBuffer.rewind:()Ljava/nio/Buffer;
pop
27: .line 159
aload 1 /* destBuffer */
aload 1 /* destBuffer */
invokevirtual java.nio.IntBuffer.capacity:()I
invokevirtual java.nio.IntBuffer.limit:(I)Ljava/nio/Buffer;
pop
28: .line 160
return
end local 6 // int transparentPixel
end local 5 // int height
end local 4 // int width
end local 3 // int offsetY
end local 2 // int offsetX
end local 1 // java.nio.IntBuffer destBuffer
end local 0 // java.nio.IntBuffer sourceBuffer
LocalVariableTable:
Start End Slot Name Signature
0 29 0 sourceBuffer Ljava/nio/IntBuffer;
0 29 1 destBuffer Ljava/nio/IntBuffer;
0 29 2 offsetX I
0 29 3 offsetY I
0 29 4 width I
0 29 5 height I
0 29 6 transparentPixel I
4 24 7 i I
6 10 8 j I
14 22 8 j I
19 22 9 srcPos I
MethodParameters:
Name Flags
sourceBuffer
destBuffer
offsetX
offsetY
width
height
transparentPixel
private static void offsetCursor16(java.nio.ShortBuffer, java.nio.ShortBuffer, int, int, int, int, int);
descriptor: (Ljava/nio/ShortBuffer;Ljava/nio/ShortBuffer;IIIII)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=10, args_size=7
start local 0 // java.nio.ShortBuffer sourceBuffer
start local 1 // java.nio.ShortBuffer destBuffer
start local 2 // int offsetX
start local 3 // int offsetY
start local 4 // int width
start local 5 // int height
start local 6 // int transparentPixel
0: .line 167
iload 2 /* offsetX */
ifne 3
iload 3 /* offsetY */
ifne 3
1: .line 168
aload 1 /* destBuffer */
aload 0 /* sourceBuffer */
invokevirtual java.nio.ShortBuffer.put:(Ljava/nio/ShortBuffer;)Ljava/nio/ShortBuffer;
pop
2: .line 169
goto 24
3: .line 171
StackMap locals:
StackMap stack:
iconst_0
istore 7 /* i */
start local 7 // int i
4: goto 11
5: .line 172
StackMap locals: int
StackMap stack:
iconst_0
istore 8 /* j */
start local 8 // int j
6: goto 9
7: .line 173
StackMap locals: int
StackMap stack:
aload 1 /* destBuffer */
iload 6 /* transparentPixel */
i2s
invokevirtual java.nio.ShortBuffer.put:(S)Ljava/nio/ShortBuffer;
pop
8: .line 172
iinc 8 /* j */ 1
StackMap locals:
StackMap stack:
9: iload 8 /* j */
iload 4 /* width */
if_icmplt 7
end local 8 // int j
10: .line 171
iinc 7 /* i */ 1
StackMap locals:
StackMap stack:
11: iload 7 /* i */
iload 3 /* offsetY */
if_icmplt 5
12: .line 176
goto 23
13: .line 178
StackMap locals:
StackMap stack:
iconst_0
istore 8 /* j */
start local 8 // int j
14: goto 17
15: .line 179
StackMap locals: int
StackMap stack:
aload 1 /* destBuffer */
iload 6 /* transparentPixel */
i2s
invokevirtual java.nio.ShortBuffer.put:(S)Ljava/nio/ShortBuffer;
pop
16: .line 178
iinc 8 /* j */ 1
StackMap locals:
StackMap stack:
17: iload 8 /* j */
iload 2 /* offsetX */
if_icmplt 15
18: .line 181
iload 7 /* i */
iload 3 /* offsetY */
isub
iload 4 /* width */
imul
istore 9 /* srcPos */
start local 9 // int srcPos
19: .line 182
aload 0 /* sourceBuffer */
iload 9 /* srcPos */
iload 4 /* width */
iadd
iload 8 /* j */
isub
invokevirtual java.nio.ShortBuffer.limit:(I)Ljava/nio/Buffer;
pop
20: .line 183
aload 0 /* sourceBuffer */
iload 9 /* srcPos */
invokevirtual java.nio.ShortBuffer.position:(I)Ljava/nio/Buffer;
pop
21: .line 184
aload 1 /* destBuffer */
aload 0 /* sourceBuffer */
invokevirtual java.nio.ShortBuffer.put:(Ljava/nio/ShortBuffer;)Ljava/nio/ShortBuffer;
pop
end local 9 // int srcPos
end local 8 // int j
22: .line 176
iinc 7 /* i */ 1
StackMap locals:
StackMap stack:
23: iload 7 /* i */
iload 5 /* height */
if_icmplt 13
end local 7 // int i
24: .line 187
StackMap locals:
StackMap stack:
aload 0 /* sourceBuffer */
invokevirtual java.nio.ShortBuffer.rewind:()Ljava/nio/Buffer;
pop
25: .line 188
aload 0 /* sourceBuffer */
aload 0 /* sourceBuffer */
invokevirtual java.nio.ShortBuffer.capacity:()I
invokevirtual java.nio.ShortBuffer.limit:(I)Ljava/nio/Buffer;
pop
26: .line 189
aload 1 /* destBuffer */
invokevirtual java.nio.ShortBuffer.rewind:()Ljava/nio/Buffer;
pop
27: .line 190
aload 1 /* destBuffer */
aload 1 /* destBuffer */
invokevirtual java.nio.ShortBuffer.capacity:()I
invokevirtual java.nio.ShortBuffer.limit:(I)Ljava/nio/Buffer;
pop
28: .line 191
return
end local 6 // int transparentPixel
end local 5 // int height
end local 4 // int width
end local 3 // int offsetY
end local 2 // int offsetX
end local 1 // java.nio.ShortBuffer destBuffer
end local 0 // java.nio.ShortBuffer sourceBuffer
LocalVariableTable:
Start End Slot Name Signature
0 29 0 sourceBuffer Ljava/nio/ShortBuffer;
0 29 1 destBuffer Ljava/nio/ShortBuffer;
0 29 2 offsetX I
0 29 3 offsetY I
0 29 4 width I
0 29 5 height I
0 29 6 transparentPixel I
4 24 7 i I
6 10 8 j I
14 22 8 j I
19 22 9 srcPos I
MethodParameters:
Name Flags
sourceBuffer
destBuffer
offsetX
offsetY
width
height
transparentPixel
}
SourceFile: "NativeCursors.java"