class javax.swing.plaf.nimbus.InnerShadowEffect extends javax.swing.plaf.nimbus.ShadowEffect
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.nimbus.InnerShadowEffect
super_class: javax.swing.plaf.nimbus.ShadowEffect
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.nimbus.ShadowEffect.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/nimbus/InnerShadowEffect;
javax.swing.plaf.nimbus.Effect$EffectType getEffectType();
descriptor: ()Ljavax/swing/plaf/nimbus/Effect$EffectType;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic javax.swing.plaf.nimbus.Effect$EffectType.OVER:Ljavax/swing/plaf/nimbus/Effect$EffectType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/nimbus/InnerShadowEffect;
java.awt.image.BufferedImage applyEffect(java.awt.image.BufferedImage, java.awt.image.BufferedImage, int, int);
descriptor: (Ljava/awt/image/BufferedImage;Ljava/awt/image/BufferedImage;II)Ljava/awt/image/BufferedImage;
flags: (0x0000)
Code:
stack=7, locals=33, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnull 1
aload 1
invokevirtual java.awt.image.BufferedImage.getType:()I
iconst_2
if_icmpeq 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Effect only works with source images of type BufferedImage.TYPE_INT_ARGB."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
ifnull 4
aload 2
invokevirtual java.awt.image.BufferedImage.getType:()I
iconst_2
if_icmpeq 4
3: new java.lang.IllegalArgumentException
dup
ldc "Effect only works with destination images of type BufferedImage.TYPE_INT_ARGB."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.nimbus.InnerShadowEffect.angle:I
bipush 90
isub
i2d
invokestatic java.lang.Math.toRadians:(D)D
dstore 5
start local 5 5: dload 5
invokestatic java.lang.Math.sin:(D)D
aload 0
getfield javax.swing.plaf.nimbus.InnerShadowEffect.distance:I
i2d
dmul
d2i
istore 7
start local 7 6: dload 5
invokestatic java.lang.Math.cos:(D)D
aload 0
getfield javax.swing.plaf.nimbus.InnerShadowEffect.distance:I
i2d
dmul
d2i
istore 8
start local 8 7: iload 7
aload 0
getfield javax.swing.plaf.nimbus.InnerShadowEffect.size:I
iadd
istore 9
start local 9 8: iload 7
aload 0
getfield javax.swing.plaf.nimbus.InnerShadowEffect.size:I
iadd
istore 10
start local 10 9: iload 3
iload 7
iadd
aload 0
getfield javax.swing.plaf.nimbus.InnerShadowEffect.size:I
iadd
aload 0
getfield javax.swing.plaf.nimbus.InnerShadowEffect.size:I
iadd
istore 11
start local 11 10: iload 4
iload 7
iadd
aload 0
getfield javax.swing.plaf.nimbus.InnerShadowEffect.size:I
iadd
istore 12
start local 12 11: invokestatic javax.swing.plaf.nimbus.InnerShadowEffect.getArrayCache:()Ljavax/swing/plaf/nimbus/Effect$ArrayCache;
iload 3
invokevirtual javax.swing.plaf.nimbus.Effect$ArrayCache.getTmpIntArray:(I)[I
astore 13
start local 13 12: invokestatic javax.swing.plaf.nimbus.InnerShadowEffect.getArrayCache:()Ljavax/swing/plaf/nimbus/Effect$ArrayCache;
iload 11
iload 12
imul
invokevirtual javax.swing.plaf.nimbus.Effect$ArrayCache.getTmpByteArray1:(I)[B
astore 14
start local 14 13: aload 14
iconst_m1
invokestatic java.util.Arrays.fill:([BB)V
14: invokestatic javax.swing.plaf.nimbus.InnerShadowEffect.getArrayCache:()Ljavax/swing/plaf/nimbus/Effect$ArrayCache;
iload 11
iload 12
imul
invokevirtual javax.swing.plaf.nimbus.Effect$ArrayCache.getTmpByteArray2:(I)[B
astore 15
start local 15 15: invokestatic javax.swing.plaf.nimbus.InnerShadowEffect.getArrayCache:()Ljavax/swing/plaf/nimbus/Effect$ArrayCache;
iload 11
iload 12
imul
invokevirtual javax.swing.plaf.nimbus.Effect$ArrayCache.getTmpByteArray3:(I)[B
astore 16
start local 16 16: aload 1
invokevirtual java.awt.image.BufferedImage.getRaster:()Ljava/awt/image/WritableRaster;
astore 17
start local 17 17: iconst_0
istore 18
start local 18 18: goto 29
19: StackMap locals: javax.swing.plaf.nimbus.InnerShadowEffect java.awt.image.BufferedImage java.awt.image.BufferedImage int int double int int int int int int int[] byte[] byte[] byte[] java.awt.image.Raster int
StackMap stack:
iload 18
iload 10
iadd
istore 19
start local 19 20: iload 19
iload 11
imul
istore 20
start local 20 21: aload 17
iconst_0
iload 18
iload 3
iconst_1
aload 13
invokevirtual java.awt.image.Raster.getDataElements:(IIIILjava/lang/Object;)Ljava/lang/Object;
pop
22: iconst_0
istore 21
start local 21 23: goto 27
24: StackMap locals: int int int
StackMap stack:
iload 21
iload 9
iadd
istore 22
start local 22 25: aload 14
iload 20
iload 22
iadd
sipush 255
aload 13
iload 21
iaload
ldc -16777216
iand
bipush 24
iushr
isub
sipush 255
iand
i2b
bastore
end local 22 26: iinc 21 1
StackMap locals:
StackMap stack:
27: iload 21
iload 3
if_icmplt 24
end local 21 end local 20 end local 19 28: iinc 18 1
StackMap locals:
StackMap stack:
29: iload 18
iload 4
if_icmplt 19
end local 18 30: aload 0
getfield javax.swing.plaf.nimbus.InnerShadowEffect.size:I
iconst_2
imul
invokestatic javax.swing.plaf.nimbus.EffectUtils.createGaussianKernel:(I)[F
astore 18
start local 18 31: aload 14
aload 16
iload 11
iload 12
aload 18
aload 0
getfield javax.swing.plaf.nimbus.InnerShadowEffect.size:I
iconst_2
imul
invokestatic javax.swing.plaf.nimbus.EffectUtils.blur:([B[BII[FI)V
32: aload 16
aload 15
iload 12
iload 11
aload 18
aload 0
getfield javax.swing.plaf.nimbus.InnerShadowEffect.size:I
iconst_2
imul
invokestatic javax.swing.plaf.nimbus.EffectUtils.blur:([B[BII[FI)V
33: fconst_1
fconst_1
ldc 0.01
aload 0
getfield javax.swing.plaf.nimbus.InnerShadowEffect.spread:I
i2f
fmul
fsub
fdiv
ldc 255.0
invokestatic java.lang.Math.min:(FF)F
fstore 19
start local 19 34: iconst_0
istore 20
start local 20 35: goto 41
36: StackMap locals: javax.swing.plaf.nimbus.InnerShadowEffect java.awt.image.BufferedImage java.awt.image.BufferedImage int int double int int int int int int int[] byte[] byte[] byte[] java.awt.image.Raster float[] float int
StackMap stack:
aload 15
iload 20
baload
sipush 255
iand
i2f
fload 19
fmul
f2i
istore 21
start local 21 37: aload 15
iload 20
iload 21
sipush 255
if_icmple 38
iconst_m1
goto 39
StackMap locals: javax.swing.plaf.nimbus.InnerShadowEffect java.awt.image.BufferedImage java.awt.image.BufferedImage int int double int int int int int int int[] byte[] byte[] byte[] java.awt.image.Raster float[] float int int
StackMap stack: byte[] int
38: iload 21
i2b
StackMap locals: javax.swing.plaf.nimbus.InnerShadowEffect java.awt.image.BufferedImage java.awt.image.BufferedImage int int double int int int int int int int[] byte[] byte[] byte[] java.awt.image.Raster float[] float int int
StackMap stack: byte[] int int
39: bastore
end local 21 40: iinc 20 1
StackMap locals:
StackMap stack:
41: iload 20
aload 15
arraylength
if_icmplt 36
end local 20 42: aload 2
ifnonnull 44
new java.awt.image.BufferedImage
dup
iload 3
iload 4
43: iconst_2
invokespecial java.awt.image.BufferedImage.<init>:(III)V
astore 2
44: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.awt.image.BufferedImage.getRaster:()Ljava/awt/image/WritableRaster;
astore 20
start local 20 45: aload 0
getfield javax.swing.plaf.nimbus.InnerShadowEffect.color:Ljava/awt/Color;
invokevirtual java.awt.Color.getRed:()I
istore 21
start local 21 46: aload 0
getfield javax.swing.plaf.nimbus.InnerShadowEffect.color:Ljava/awt/Color;
invokevirtual java.awt.Color.getGreen:()I
istore 22
start local 22 47: aload 0
getfield javax.swing.plaf.nimbus.InnerShadowEffect.color:Ljava/awt/Color;
invokevirtual java.awt.Color.getBlue:()I
istore 23
start local 23 48: iconst_0
istore 24
start local 24 49: goto 64
50: StackMap locals: javax.swing.plaf.nimbus.InnerShadowEffect java.awt.image.BufferedImage java.awt.image.BufferedImage int int double int int int int int int int[] byte[] byte[] byte[] java.awt.image.Raster float[] float java.awt.image.WritableRaster int int int int
StackMap stack:
iload 24
iload 10
iadd
istore 25
start local 25 51: iload 25
iload 11
imul
istore 26
start local 26 52: iload 25
iload 8
isub
iload 11
imul
istore 27
start local 27 53: iconst_0
istore 28
start local 28 54: goto 61
55: StackMap locals: javax.swing.plaf.nimbus.InnerShadowEffect java.awt.image.BufferedImage java.awt.image.BufferedImage int int double int int int int int int int[] byte[] byte[] byte[] java.awt.image.Raster float[] float java.awt.image.WritableRaster int int int int int int int int
StackMap stack:
iload 28
iload 9
iadd
istore 29
start local 29 56: sipush 255
aload 14
iload 26
iload 29
iadd
baload
sipush 255
iand
isub
istore 30
start local 30 57: aload 15
iload 27
iload 29
iload 7
isub
iadd
baload
sipush 255
iand
istore 31
start local 31 58: iload 30
iload 31
invokestatic java.lang.Math.min:(II)I
istore 32
start local 32 59: aload 13
iload 28
iload 32
i2b
sipush 255
iand
bipush 24
ishl
iload 21
bipush 16
ishl
ior
iload 22
bipush 8
ishl
ior
iload 23
ior
iastore
end local 32 end local 31 end local 30 end local 29 60: iinc 28 1
StackMap locals:
StackMap stack:
61: iload 28
iload 3
if_icmplt 55
end local 28 62: aload 20
iconst_0
iload 24
iload 3
iconst_1
aload 13
invokevirtual java.awt.image.WritableRaster.setDataElements:(IIIILjava/lang/Object;)V
end local 27 end local 26 end local 25 63: iinc 24 1
StackMap locals: javax.swing.plaf.nimbus.InnerShadowEffect java.awt.image.BufferedImage java.awt.image.BufferedImage int int double int int int int int int int[] byte[] byte[] byte[] java.awt.image.Raster float[] float java.awt.image.WritableRaster int int int int
StackMap stack:
64: iload 24
iload 4
if_icmplt 50
end local 24 65: aload 2
areturn
end local 23 end local 22 end local 21 end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 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 66 0 this Ljavax/swing/plaf/nimbus/InnerShadowEffect;
0 66 1 src Ljava/awt/image/BufferedImage;
0 66 2 dst Ljava/awt/image/BufferedImage;
0 66 3 w I
0 66 4 h I
5 66 5 trangleAngle D
6 66 7 offsetX I
7 66 8 offsetY I
8 66 9 tmpOffX I
9 66 10 tmpOffY I
10 66 11 tmpW I
11 66 12 tmpH I
12 66 13 lineBuf [I
13 66 14 srcAlphaBuf [B
15 66 15 tmpBuf1 [B
16 66 16 tmpBuf2 [B
17 66 17 srcRaster Ljava/awt/image/Raster;
18 30 18 y I
20 28 19 dy I
21 28 20 offset I
23 28 21 x I
25 26 22 dx I
31 66 18 kernel [F
34 66 19 spread F
35 42 20 i I
37 40 21 val I
45 66 20 shadowRaster Ljava/awt/image/WritableRaster;
46 66 21 red I
47 66 22 green I
48 66 23 blue I
49 65 24 y I
51 63 25 srcY I
52 63 26 offset I
53 63 27 shadowOffset I
54 62 28 x I
56 60 29 srcX I
57 60 30 origianlAlphaVal I
58 60 31 shadowVal I
59 60 32 alphaVal I
MethodParameters:
Name Flags
src
dst
w
h
}
SourceFile: "InnerShadowEffect.java"
InnerClasses:
protected ArrayCache = javax.swing.plaf.nimbus.Effect$ArrayCache of javax.swing.plaf.nimbus.Effect
final EffectType = javax.swing.plaf.nimbus.Effect$EffectType of javax.swing.plaf.nimbus.Effect