class javax.swing.text.html.Map$PolygonRegionContainment extends java.awt.Polygon implements javax.swing.text.html.Map$RegionContainment
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.html.Map$PolygonRegionContainment
super_class: java.awt.Polygon
{
float[] percentValues;
descriptor: [F
flags: (0x0000)
int[] percentIndexs;
descriptor: [I
flags: (0x0000)
int lastWidth;
descriptor: I
flags: (0x0000)
int lastHeight;
descriptor: I
flags: (0x0000)
public void <init>(javax.swing.text.AttributeSet);
descriptor: (Ljavax/swing/text/AttributeSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.awt.Polygon.<init>:()V
1: aload 1
2: getstatic javax.swing.text.html.HTML$Attribute.COORDS:Ljavax/swing/text/html/HTML$Attribute;
3: invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic javax.swing.text.html.Map.extractCoords:(Ljava/lang/Object;)[I
astore 2
start local 2 4: aload 2
ifnull 6
aload 2
arraylength
ifeq 6
5: aload 2
arraylength
iconst_2
irem
ifeq 7
6: StackMap locals: javax.swing.text.html.Map$PolygonRegionContainment javax.swing.text.AttributeSet int[]
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Unable to parse polygon area"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 8: aload 0
aload 0
iconst_m1
dup_x1
putfield javax.swing.text.html.Map$PolygonRegionContainment.lastHeight:I
putfield javax.swing.text.html.Map$PolygonRegionContainment.lastWidth:I
9: aload 2
arraylength
iconst_1
isub
istore 4
start local 4 10: goto 14
11: StackMap locals: int int
StackMap stack:
aload 2
iload 4
iaload
ifge 13
12: iinc 3 1
13: StackMap locals:
StackMap stack:
iinc 4 -1
14: StackMap locals:
StackMap stack:
iload 4
ifge 11
end local 4 15: iload 3
ifle 31
16: aload 0
iload 3
newarray 10
putfield javax.swing.text.html.Map$PolygonRegionContainment.percentIndexs:[I
17: aload 0
iload 3
newarray 6
putfield javax.swing.text.html.Map$PolygonRegionContainment.percentValues:[F
18: aload 2
arraylength
iconst_1
isub
istore 4
start local 4 19: iconst_0
istore 5
start local 5 20: goto 28
21: StackMap locals: int
StackMap stack:
aload 2
iload 4
iaload
ifge 27
22: aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.percentValues:[F
iload 5
aload 2
iload 4
iaload
i2f
23: ldc -100.0
fdiv
24: fastore
25: aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.percentIndexs:[I
iload 5
iload 4
iastore
26: iinc 5 1
27: StackMap locals:
StackMap stack:
iinc 4 -1
StackMap locals:
StackMap stack:
28: iload 4
29: ifge 21
end local 5 end local 4 30: goto 33
31: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield javax.swing.text.html.Map$PolygonRegionContainment.percentIndexs:[I
32: aload 0
aconst_null
putfield javax.swing.text.html.Map$PolygonRegionContainment.percentValues:[F
33: StackMap locals:
StackMap stack:
aload 0
aload 2
arraylength
iconst_2
idiv
putfield javax.swing.text.html.Map$PolygonRegionContainment.npoints:I
34: aload 0
aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.npoints:I
newarray 10
putfield javax.swing.text.html.Map$PolygonRegionContainment.xpoints:[I
35: aload 0
aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.npoints:I
newarray 10
putfield javax.swing.text.html.Map$PolygonRegionContainment.ypoints:[I
36: iconst_0
istore 4
start local 4 37: goto 41
38: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.xpoints:[I
iload 4
aload 2
iload 4
iload 4
iadd
iaload
iastore
39: aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.ypoints:[I
iload 4
aload 2
iload 4
iload 4
iadd
iconst_1
iadd
iaload
iastore
40: iinc 4 1
StackMap locals:
StackMap stack:
41: iload 4
aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.npoints:I
if_icmplt 38
end local 4 end local 3 42: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Ljavax/swing/text/html/Map$PolygonRegionContainment;
0 43 1 as Ljavax/swing/text/AttributeSet;
4 43 2 coords [I
8 42 3 numPercents I
10 15 4 counter I
19 30 4 counter I
20 30 5 pCounter I
37 42 4 counter I
MethodParameters:
Name Flags
as
public boolean contains(int, int, int, int);
descriptor: (IIII)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.percentValues:[F
ifnull 2
aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.lastWidth:I
iload 3
if_icmpne 3
1: aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.lastHeight:I
iload 4
if_icmpne 3
2: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokevirtual javax.swing.text.html.Map$PolygonRegionContainment.contains:(II)Z
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield javax.swing.text.html.Map$PolygonRegionContainment.bounds:Ljava/awt/Rectangle;
4: aload 0
iload 3
putfield javax.swing.text.html.Map$PolygonRegionContainment.lastWidth:I
5: aload 0
iload 4
putfield javax.swing.text.html.Map$PolygonRegionContainment.lastHeight:I
6: iload 3
i2f
fstore 5
start local 5 7: iload 4
i2f
fstore 6
start local 6 8: aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.percentValues:[F
arraylength
iconst_1
isub
istore 7
start local 7 9: goto 19
10: StackMap locals: float float int
StackMap stack:
aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.percentIndexs:[I
iload 7
iaload
iconst_2
irem
ifne 15
11: aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.xpoints:[I
aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.percentIndexs:[I
iload 7
iaload
iconst_2
idiv
12: aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.percentValues:[F
iload 7
faload
fload 5
fmul
f2i
13: iastore
14: goto 18
15: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.ypoints:[I
aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.percentIndexs:[I
iload 7
iaload
iconst_2
idiv
16: aload 0
getfield javax.swing.text.html.Map$PolygonRegionContainment.percentValues:[F
iload 7
faload
fload 6
fmul
f2i
17: iastore
18: StackMap locals:
StackMap stack:
iinc 7 -1
19: StackMap locals:
StackMap stack:
iload 7
ifge 10
end local 7 20: aload 0
iload 1
iload 2
invokevirtual javax.swing.text.html.Map$PolygonRegionContainment.contains:(II)Z
ireturn
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 21 0 this Ljavax/swing/text/html/Map$PolygonRegionContainment;
0 21 1 x I
0 21 2 y I
0 21 3 width I
0 21 4 height I
7 21 5 fWidth F
8 21 6 fHeight F
9 20 7 counter I
MethodParameters:
Name Flags
x
y
width
height
}
SourceFile: "Map.java"
NestHost: javax.swing.text.html.Map
InnerClasses:
public final Attribute = javax.swing.text.html.HTML$Attribute of javax.swing.text.html.HTML
PolygonRegionContainment = javax.swing.text.html.Map$PolygonRegionContainment of javax.swing.text.html.Map
abstract RegionContainment = javax.swing.text.html.Map$RegionContainment of javax.swing.text.html.Map