public final class com.sun.pisces.GradientColorMap
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.pisces.GradientColorMap
super_class: java.lang.Object
{
public static final int CYCLE_NONE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int CYCLE_REPEAT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int CYCLE_REFLECT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
int cycleMethod;
descriptor: I
flags: (0x0000)
private static final int LG_RAMP_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final int RAMP_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 256
int[] fractions;
descriptor: [I
flags: (0x0000)
int[] rgba;
descriptor: [I
flags: (0x0000)
int[] colors;
descriptor: [I
flags: (0x0000)
void <init>(int[], int[], int);
descriptor: ([I[II)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=4
start local 0 // com.sun.pisces.GradientColorMap this
start local 1 // int[] fractions
start local 2 // int[] rgba
start local 3 // int cycleMethod
0: .line 63
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 59
aload 0 /* this */
aconst_null
putfield com.sun.pisces.GradientColorMap.fractions:[I
2: .line 60
aload 0 /* this */
aconst_null
putfield com.sun.pisces.GradientColorMap.rgba:[I
3: .line 61
aload 0 /* this */
aconst_null
putfield com.sun.pisces.GradientColorMap.colors:[I
4: .line 64
aload 0 /* this */
iload 3 /* cycleMethod */
putfield com.sun.pisces.GradientColorMap.cycleMethod:I
5: .line 66
aload 1 /* fractions */
arraylength
istore 4 /* numStops */
start local 4 // int numStops
6: .line 67
aload 1 /* fractions */
iconst_0
iaload
ifeq 16
7: .line 68
iload 4 /* numStops */
iconst_1
iadd
newarray 10
astore 5 /* nfractions */
start local 5 // int[] nfractions
8: .line 69
iload 4 /* numStops */
iconst_1
iadd
newarray 10
astore 6 /* nrgba */
start local 6 // int[] nrgba
9: .line 70
aload 1 /* fractions */
iconst_0
aload 5 /* nfractions */
iconst_1
iload 4 /* numStops */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: .line 71
aload 2 /* rgba */
iconst_0
aload 6 /* nrgba */
iconst_1
iload 4 /* numStops */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: .line 72
aload 5 /* nfractions */
iconst_0
iconst_0
iastore
12: .line 73
aload 6 /* nrgba */
iconst_0
aload 2 /* rgba */
iconst_0
iaload
iastore
13: .line 74
aload 5 /* nfractions */
astore 1 /* fractions */
14: .line 75
aload 6 /* nrgba */
astore 2 /* rgba */
15: .line 76
iinc 4 /* numStops */ 1
end local 6 // int[] nrgba
end local 5 // int[] nfractions
16: .line 79
StackMap locals: com.sun.pisces.GradientColorMap int[] int[] int int
StackMap stack:
aload 1 /* fractions */
iload 4 /* numStops */
iconst_1
isub
iaload
ldc 65536
if_icmpeq 25
17: .line 80
iload 4 /* numStops */
iconst_1
iadd
newarray 10
astore 5 /* nfractions */
start local 5 // int[] nfractions
18: .line 81
iload 4 /* numStops */
iconst_1
iadd
newarray 10
astore 6 /* nrgba */
start local 6 // int[] nrgba
19: .line 82
aload 1 /* fractions */
iconst_0
aload 5 /* nfractions */
iconst_0
iload 4 /* numStops */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
20: .line 83
aload 2 /* rgba */
iconst_0
aload 6 /* nrgba */
iconst_0
iload 4 /* numStops */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
21: .line 84
aload 5 /* nfractions */
iload 4 /* numStops */
ldc 65536
iastore
22: .line 85
aload 6 /* nrgba */
iload 4 /* numStops */
aload 2 /* rgba */
iload 4 /* numStops */
iconst_1
isub
iaload
iastore
23: .line 86
aload 5 /* nfractions */
astore 1 /* fractions */
24: .line 87
aload 6 /* nrgba */
astore 2 /* rgba */
end local 6 // int[] nrgba
end local 5 // int[] nfractions
25: .line 90
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* fractions */
arraylength
newarray 10
putfield com.sun.pisces.GradientColorMap.fractions:[I
26: .line 91
aload 1 /* fractions */
iconst_0
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.fractions:[I
iconst_0
aload 1 /* fractions */
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
27: .line 92
aload 0 /* this */
aload 2 /* rgba */
arraylength
newarray 10
putfield com.sun.pisces.GradientColorMap.rgba:[I
28: .line 93
aload 2 /* rgba */
iconst_0
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.rgba:[I
iconst_0
aload 2 /* rgba */
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
29: .line 95
aload 0 /* this */
invokevirtual com.sun.pisces.GradientColorMap.createRamp:()V
30: .line 96
return
end local 4 // int numStops
end local 3 // int cycleMethod
end local 2 // int[] rgba
end local 1 // int[] fractions
end local 0 // com.sun.pisces.GradientColorMap this
LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lcom/sun/pisces/GradientColorMap;
0 31 1 fractions [I
0 31 2 rgba [I
0 31 3 cycleMethod I
6 31 4 numStops I
8 16 5 nfractions [I
9 16 6 nrgba [I
18 25 5 nfractions [I
19 25 6 nrgba [I
MethodParameters:
Name Flags
fractions
rgba
cycleMethod
private int pad(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 // com.sun.pisces.GradientColorMap this
start local 1 // int frac
0: .line 99
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.cycleMethod:I
tableswitch { // 0 - 2
0: 1
1: 6
2: 7
default: 13
}
1: .line 101
StackMap locals:
StackMap stack:
iload 1 /* frac */
ifge 3
2: .line 102
iconst_0
ireturn
3: .line 103
StackMap locals:
StackMap stack:
iload 1 /* frac */
ldc 65535
if_icmple 5
4: .line 104
ldc 65535
ireturn
5: .line 106
StackMap locals:
StackMap stack:
iload 1 /* frac */
ireturn
6: .line 110
StackMap locals:
StackMap stack:
iload 1 /* frac */
ldc 65535
iand
ireturn
7: .line 113
StackMap locals:
StackMap stack:
iload 1 /* frac */
ifge 9
8: .line 114
iload 1 /* frac */
ineg
istore 1 /* frac */
9: .line 116
StackMap locals:
StackMap stack:
iload 1 /* frac */
ldc 131071
iand
istore 1 /* frac */
10: .line 117
iload 1 /* frac */
ldc 65535
if_icmple 12
11: .line 118
ldc 131071
iload 1 /* frac */
isub
istore 1 /* frac */
12: .line 120
StackMap locals:
StackMap stack:
iload 1 /* frac */
ireturn
13: .line 123
StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Unknown cycle method: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.cycleMethod:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 // int frac
end local 0 // com.sun.pisces.GradientColorMap this
LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/pisces/GradientColorMap;
0 14 1 frac I
MethodParameters:
Name Flags
frac
private int findStop(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 // com.sun.pisces.GradientColorMap this
start local 1 // int frac
0: .line 128
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.fractions:[I
arraylength
istore 2 /* numStops */
start local 2 // int numStops
1: .line 129
iconst_1
istore 3 /* i */
start local 3 // int i
2: goto 6
3: .line 130
StackMap locals: int int
StackMap stack:
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.fractions:[I
iload 3 /* i */
iaload
iload 1 /* frac */
if_icmple 5
4: .line 131
iload 3 /* i */
ireturn
5: .line 129
StackMap locals:
StackMap stack:
iinc 3 /* i */ 1
StackMap locals:
StackMap stack:
6: iload 3 /* i */
iload 2 /* numStops */
if_icmplt 3
end local 3 // int i
7: .line 135
iconst_1
ireturn
end local 2 // int numStops
end local 1 // int frac
end local 0 // com.sun.pisces.GradientColorMap this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/pisces/GradientColorMap;
0 8 1 frac I
1 8 2 numStops I
2 7 3 i I
MethodParameters:
Name Flags
frac
private void accumColor(int, int[], int[], int[], int[], int[], int[], int[], int[]);
descriptor: (I[I[I[I[I[I[I[I[I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=12, args_size=10
start local 0 // com.sun.pisces.GradientColorMap this
start local 1 // int frac
start local 2 // int[] r
start local 3 // int[] g
start local 4 // int[] b
start local 5 // int[] a
start local 6 // int[] red
start local 7 // int[] green
start local 8 // int[] blue
start local 9 // int[] alpha
0: .line 141
aload 0 /* this */
iload 1 /* frac */
invokevirtual com.sun.pisces.GradientColorMap.findStop:(I)I
istore 10 /* stop */
start local 10 // int stop
1: .line 143
iload 1 /* frac */
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.fractions:[I
iload 10 /* stop */
iconst_1
isub
iaload
isub
istore 1 /* frac */
2: .line 144
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.fractions:[I
iload 10 /* stop */
iaload
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.fractions:[I
iload 10 /* stop */
iconst_1
isub
iaload
isub
istore 11 /* delta */
start local 11 // int delta
3: .line 146
aload 6 /* red */
iconst_0
dup2
iaload
aload 2 /* r */
iload 10 /* stop */
iconst_1
isub
iaload
iload 1 /* frac */
aload 2 /* r */
iload 10 /* stop */
iaload
aload 2 /* r */
iload 10 /* stop */
iconst_1
isub
iaload
isub
imul
iload 11 /* delta */
idiv
iadd
iadd
iastore
4: .line 147
aload 7 /* green */
iconst_0
dup2
iaload
aload 3 /* g */
iload 10 /* stop */
iconst_1
isub
iaload
iload 1 /* frac */
aload 3 /* g */
iload 10 /* stop */
iaload
aload 3 /* g */
iload 10 /* stop */
iconst_1
isub
iaload
isub
imul
iload 11 /* delta */
idiv
iadd
iadd
iastore
5: .line 148
aload 8 /* blue */
iconst_0
dup2
iaload
aload 4 /* b */
iload 10 /* stop */
iconst_1
isub
iaload
iload 1 /* frac */
aload 4 /* b */
iload 10 /* stop */
iaload
aload 4 /* b */
iload 10 /* stop */
iconst_1
isub
iaload
isub
imul
iload 11 /* delta */
idiv
iadd
iadd
iastore
6: .line 149
aload 9 /* alpha */
iconst_0
dup2
iaload
aload 5 /* a */
iload 10 /* stop */
iconst_1
isub
iaload
iload 1 /* frac */
aload 5 /* a */
iload 10 /* stop */
iaload
aload 5 /* a */
iload 10 /* stop */
iconst_1
isub
iaload
isub
imul
iload 11 /* delta */
idiv
iadd
iadd
iastore
7: .line 150
return
end local 11 // int delta
end local 10 // int stop
end local 9 // int[] alpha
end local 8 // int[] blue
end local 7 // int[] green
end local 6 // int[] red
end local 5 // int[] a
end local 4 // int[] b
end local 3 // int[] g
end local 2 // int[] r
end local 1 // int frac
end local 0 // com.sun.pisces.GradientColorMap this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/pisces/GradientColorMap;
0 8 1 frac I
0 8 2 r [I
0 8 3 g [I
0 8 4 b [I
0 8 5 a [I
0 8 6 red [I
0 8 7 green [I
0 8 8 blue [I
0 8 9 alpha [I
1 8 10 stop I
3 8 11 delta I
MethodParameters:
Name Flags
frac
r
g
b
a
red
green
blue
alpha
private int getColorAA(int, int[], int[], int[], int[], int[], int[], int[], int[]);
descriptor: (I[I[I[I[I[I[I[I[I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=16, args_size=10
start local 0 // com.sun.pisces.GradientColorMap this
start local 1 // int frac
start local 2 // int[] r
start local 3 // int[] g
start local 4 // int[] b
start local 5 // int[] a
start local 6 // int[] red
start local 7 // int[] green
start local 8 // int[] blue
start local 9 // int[] alpha
0: .line 155
aload 0 /* this */
iload 1 /* frac */
invokevirtual com.sun.pisces.GradientColorMap.findStop:(I)I
istore 10 /* stop */
start local 10 // int stop
1: .line 156
sipush 192
istore 11 /* delta */
start local 11 // int delta
2: .line 157
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.fractions:[I
iload 10 /* stop */
iconst_1
isub
iaload
aload 0 /* this */
iload 1 /* frac */
iload 11 /* delta */
isub
invokevirtual com.sun.pisces.GradientColorMap.pad:(I)I
if_icmpge 4
aload 0 /* this */
iload 1 /* frac */
iload 11 /* delta */
iadd
invokevirtual com.sun.pisces.GradientColorMap.pad:(I)I
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.fractions:[I
iload 10 /* stop */
iaload
if_icmpge 4
3: .line 159
iconst_0
istore 11 /* delta */
4: .line 161
StackMap locals: int int
StackMap stack:
bipush 64
istore 12 /* step */
start local 12 // int step
5: .line 162
iconst_0
istore 13 /* total */
start local 13 // int total
6: .line 164
iload 11 /* delta */
ineg
istore 14 /* i */
start local 14 // int i
7: goto 12
8: .line 165
StackMap locals: int int int
StackMap stack:
aload 0 /* this */
iload 1 /* frac */
iload 14 /* i */
iadd
invokevirtual com.sun.pisces.GradientColorMap.pad:(I)I
istore 15 /* f */
start local 15 // int f
9: .line 166
aload 0 /* this */
iload 15 /* f */
aload 2 /* r */
aload 3 /* g */
aload 4 /* b */
aload 5 /* a */
aload 6 /* red */
aload 7 /* green */
aload 8 /* blue */
aload 9 /* alpha */
invokevirtual com.sun.pisces.GradientColorMap.accumColor:(I[I[I[I[I[I[I[I[I)V
10: .line 167
iinc 13 /* total */ 1
end local 15 // int f
11: .line 164
iload 14 /* i */
iload 12 /* step */
iadd
istore 14 /* i */
StackMap locals:
StackMap stack:
12: iload 14 /* i */
iload 11 /* delta */
if_icmple 8
end local 14 // int i
13: .line 170
aload 9 /* alpha */
iconst_0
dup2
iaload
iload 13 /* total */
idiv
iastore
14: .line 171
aload 6 /* red */
iconst_0
dup2
iaload
iload 13 /* total */
idiv
iastore
15: .line 172
aload 7 /* green */
iconst_0
dup2
iaload
iload 13 /* total */
idiv
iastore
16: .line 173
aload 8 /* blue */
iconst_0
dup2
iaload
iload 13 /* total */
idiv
iastore
17: .line 175
aload 9 /* alpha */
iconst_0
iaload
bipush 24
ishl
aload 6 /* red */
iconst_0
iaload
bipush 16
ishl
ior
aload 7 /* green */
iconst_0
iaload
bipush 8
ishl
ior
aload 8 /* blue */
iconst_0
iaload
ior
ireturn
end local 13 // int total
end local 12 // int step
end local 11 // int delta
end local 10 // int stop
end local 9 // int[] alpha
end local 8 // int[] blue
end local 7 // int[] green
end local 6 // int[] red
end local 5 // int[] a
end local 4 // int[] b
end local 3 // int[] g
end local 2 // int[] r
end local 1 // int frac
end local 0 // com.sun.pisces.GradientColorMap this
LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/pisces/GradientColorMap;
0 18 1 frac I
0 18 2 r [I
0 18 3 g [I
0 18 4 b [I
0 18 5 a [I
0 18 6 red [I
0 18 7 green [I
0 18 8 blue [I
0 18 9 alpha [I
1 18 10 stop I
2 18 11 delta I
5 18 12 step I
6 18 13 total I
7 13 14 i I
9 11 15 f I
MethodParameters:
Name Flags
frac
r
g
b
a
red
green
blue
alpha
private void createRamp();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=12, locals=13, args_size=1
start local 0 // com.sun.pisces.GradientColorMap this
0: .line 179
aload 0 /* this */
sipush 256
newarray 10
putfield com.sun.pisces.GradientColorMap.colors:[I
1: .line 181
iconst_1
newarray 10
astore 1 /* alpha */
start local 1 // int[] alpha
2: .line 182
iconst_1
newarray 10
astore 2 /* red */
start local 2 // int[] red
3: .line 183
iconst_1
newarray 10
astore 3 /* green */
start local 3 // int[] green
4: .line 184
iconst_1
newarray 10
astore 4 /* blue */
start local 4 // int[] blue
5: .line 186
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.fractions:[I
arraylength
istore 5 /* numStops */
start local 5 // int numStops
6: .line 187
iload 5 /* numStops */
newarray 10
astore 6 /* a */
start local 6 // int[] a
7: .line 188
iload 5 /* numStops */
newarray 10
astore 7 /* r */
start local 7 // int[] r
8: .line 189
iload 5 /* numStops */
newarray 10
astore 8 /* g */
start local 8 // int[] g
9: .line 190
iload 5 /* numStops */
newarray 10
astore 9 /* b */
start local 9 // int[] b
10: .line 192
iconst_0
istore 10 /* i */
start local 10 // int i
11: goto 17
12: .line 193
StackMap locals: com.sun.pisces.GradientColorMap int[] int[] int[] int[] int int[] int[] int[] int[] int
StackMap stack:
aload 6 /* a */
iload 10 /* i */
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.rgba:[I
iload 10 /* i */
iaload
bipush 24
ishr
sipush 255
iand
iastore
13: .line 194
aload 7 /* r */
iload 10 /* i */
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.rgba:[I
iload 10 /* i */
iaload
bipush 16
ishr
sipush 255
iand
iastore
14: .line 195
aload 8 /* g */
iload 10 /* i */
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.rgba:[I
iload 10 /* i */
iaload
bipush 8
ishr
sipush 255
iand
iastore
15: .line 196
aload 9 /* b */
iload 10 /* i */
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.rgba:[I
iload 10 /* i */
iaload
sipush 255
iand
iastore
16: .line 192
iinc 10 /* i */ 1
StackMap locals:
StackMap stack:
17: iload 10 /* i */
iload 5 /* numStops */
if_icmplt 12
end local 10 // int i
18: .line 199
sipush 255
istore 10 /* lastColorIndex */
start local 10 // int lastColorIndex
19: .line 200
bipush 8
istore 11 /* shift */
start local 11 // int shift
20: .line 202
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.colors:[I
iconst_0
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.rgba:[I
iconst_0
iaload
iastore
21: .line 203
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.colors:[I
iload 10 /* lastColorIndex */
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.rgba:[I
iload 5 /* numStops */
iconst_1
isub
iaload
iastore
22: .line 205
iconst_1
istore 12 /* i */
start local 12 // int i
23: goto 30
24: .line 206
StackMap locals: int int
StackMap stack:
aload 2 /* red */
iconst_0
aload 3 /* green */
iconst_0
aload 4 /* blue */
iconst_0
aload 1 /* alpha */
iconst_0
iconst_0
dup_x2
iastore
dup_x2
iastore
dup_x2
iastore
iastore
25: .line 207
aload 0 /* this */
getfield com.sun.pisces.GradientColorMap.colors:[I
iload 12 /* i */
aload 0 /* this */
iload 12 /* i */
iload 11 /* shift */
ishl
26: .line 208
aload 7 /* r */
aload 8 /* g */
aload 9 /* b */
aload 6 /* a */
27: .line 209
aload 2 /* red */
aload 3 /* green */
aload 4 /* blue */
aload 1 /* alpha */
28: .line 207
invokevirtual com.sun.pisces.GradientColorMap.getColorAA:(I[I[I[I[I[I[I[I[I)I
iastore
29: .line 205
iinc 12 /* i */ 1
StackMap locals:
StackMap stack:
30: iload 12 /* i */
iload 10 /* lastColorIndex */
if_icmplt 24
end local 12 // int i
31: .line 211
return
end local 11 // int shift
end local 10 // int lastColorIndex
end local 9 // int[] b
end local 8 // int[] g
end local 7 // int[] r
end local 6 // int[] a
end local 5 // int numStops
end local 4 // int[] blue
end local 3 // int[] green
end local 2 // int[] red
end local 1 // int[] alpha
end local 0 // com.sun.pisces.GradientColorMap this
LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lcom/sun/pisces/GradientColorMap;
2 32 1 alpha [I
3 32 2 red [I
4 32 3 green [I
5 32 4 blue [I
6 32 5 numStops I
7 32 6 a [I
8 32 7 r [I
9 32 8 g [I
10 32 9 b [I
11 18 10 i I
19 32 10 lastColorIndex I
20 32 11 shift I
23 31 12 i I
}
SourceFile: "GradientColorMap.java"