public class sun.awt.VariableGridLayout extends java.awt.GridLayout
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.VariableGridLayout
super_class: java.awt.GridLayout
{
java.util.BitSet rowsSet;
descriptor: Ljava/util/BitSet;
flags: (0x0000)
double[] rowFractions;
descriptor: [D
flags: (0x0000)
java.util.BitSet colsSet;
descriptor: Ljava/util/BitSet;
flags: (0x0000)
double[] colFractions;
descriptor: [D
flags: (0x0000)
int rows;
descriptor: I
flags: (0x0000)
int cols;
descriptor: I
flags: (0x0000)
int hgap;
descriptor: I
flags: (0x0000)
int vgap;
descriptor: I
flags: (0x0000)
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
iconst_0
iconst_0
invokespecial sun.awt.VariableGridLayout.<init>:(IIII)V
1: iload 1
ifeq 4
2: aload 0
new java.util.BitSet
dup
iload 1
invokespecial java.util.BitSet.<init>:(I)V
putfield sun.awt.VariableGridLayout.rowsSet:Ljava/util/BitSet;
3: aload 0
iload 1
invokevirtual sun.awt.VariableGridLayout.stdRowFractions:(I)V
4: StackMap locals: sun.awt.VariableGridLayout int int
StackMap stack:
iload 2
ifeq 7
5: aload 0
new java.util.BitSet
dup
iload 2
invokespecial java.util.BitSet.<init>:(I)V
putfield sun.awt.VariableGridLayout.colsSet:Ljava/util/BitSet;
6: aload 0
iload 2
invokevirtual sun.awt.VariableGridLayout.stdColFractions:(I)V
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/VariableGridLayout;
0 8 1 rows I
0 8 2 cols I
MethodParameters:
Name Flags
rows
cols
public void <init>(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
iload 3
iload 4
invokespecial java.awt.GridLayout.<init>:(IIII)V
1: aload 0
new java.util.BitSet
dup
invokespecial java.util.BitSet.<init>:()V
putfield sun.awt.VariableGridLayout.rowsSet:Ljava/util/BitSet;
2: aload 0
aconst_null
putfield sun.awt.VariableGridLayout.rowFractions:[D
3: aload 0
new java.util.BitSet
dup
invokespecial java.util.BitSet.<init>:()V
putfield sun.awt.VariableGridLayout.colsSet:Ljava/util/BitSet;
4: aload 0
aconst_null
putfield sun.awt.VariableGridLayout.colFractions:[D
5: aload 0
iload 1
putfield sun.awt.VariableGridLayout.rows:I
6: aload 0
iload 2
putfield sun.awt.VariableGridLayout.cols:I
7: aload 0
iload 3
putfield sun.awt.VariableGridLayout.hgap:I
8: aload 0
iload 4
putfield sun.awt.VariableGridLayout.vgap:I
9: iload 1
ifeq 12
10: aload 0
new java.util.BitSet
dup
iload 1
invokespecial java.util.BitSet.<init>:(I)V
putfield sun.awt.VariableGridLayout.rowsSet:Ljava/util/BitSet;
11: aload 0
iload 1
invokevirtual sun.awt.VariableGridLayout.stdRowFractions:(I)V
12: StackMap locals: sun.awt.VariableGridLayout int int int int
StackMap stack:
iload 2
ifeq 15
13: aload 0
new java.util.BitSet
dup
iload 2
invokespecial java.util.BitSet.<init>:(I)V
putfield sun.awt.VariableGridLayout.colsSet:Ljava/util/BitSet;
14: aload 0
iload 2
invokevirtual sun.awt.VariableGridLayout.stdColFractions:(I)V
15: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/awt/VariableGridLayout;
0 16 1 rows I
0 16 2 cols I
0 16 3 hgap I
0 16 4 vgap I
MethodParameters:
Name Flags
rows
cols
hgap
vgap
void stdRowFractions(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
newarray 7
putfield sun.awt.VariableGridLayout.rowFractions:[D
1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
getfield sun.awt.VariableGridLayout.rowFractions:[D
iload 2
dconst_1
iload 1
i2d
ddiv
dastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 1
if_icmplt 3
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/VariableGridLayout;
0 7 1 nrows I
2 6 2 i I
MethodParameters:
Name Flags
nrows
void stdColFractions(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
newarray 7
putfield sun.awt.VariableGridLayout.colFractions:[D
1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
getfield sun.awt.VariableGridLayout.colFractions:[D
iload 2
dconst_1
iload 1
i2d
ddiv
dastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 1
if_icmplt 3
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/VariableGridLayout;
0 7 1 ncols I
2 6 2 i I
MethodParameters:
Name Flags
ncols
public void setRowFraction(int, double);
descriptor: (ID)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.awt.VariableGridLayout.rowsSet:Ljava/util/BitSet;
iload 1
invokevirtual java.util.BitSet.set:(I)V
1: aload 0
getfield sun.awt.VariableGridLayout.rowFractions:[D
iload 1
dload 2
dastore
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/VariableGridLayout;
0 3 1 rowNum I
0 3 2 fraction D
MethodParameters:
Name Flags
rowNum
fraction
public void setColFraction(int, double);
descriptor: (ID)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.awt.VariableGridLayout.colsSet:Ljava/util/BitSet;
iload 1
invokevirtual java.util.BitSet.set:(I)V
1: aload 0
getfield sun.awt.VariableGridLayout.colFractions:[D
iload 1
dload 2
dastore
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/VariableGridLayout;
0 3 1 colNum I
0 3 2 fraction D
MethodParameters:
Name Flags
colNum
fraction
public double getRowFraction(int);
descriptor: (I)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.VariableGridLayout.rowFractions:[D
iload 1
daload
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/VariableGridLayout;
0 1 1 rowNum I
MethodParameters:
Name Flags
rowNum
public double getColFraction(int);
descriptor: (I)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.VariableGridLayout.colFractions:[D
iload 1
daload
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/VariableGridLayout;
0 1 1 colNum I
MethodParameters:
Name Flags
colNum
void (double[], java.util.BitSet);
descriptor: ([DLjava/util/BitSet;)V
flags: (0x0000)
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: dconst_0
dstore 3
start local 3 1: iconst_0
istore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 9
4: StackMap locals: double int int
StackMap stack:
aload 2
iload 6
invokevirtual java.util.BitSet.get:(I)Z
ifeq 7
5: dload 3
aload 1
iload 6
daload
dadd
dstore 3
6: goto 8
7: StackMap locals:
StackMap stack:
iinc 5 1
8: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
9: iload 6
aload 1
arraylength
if_icmplt 4
10: iload 5
ifeq 18
11: dconst_1
dload 3
dsub
iload 5
i2d
ddiv
dstore 7
start local 7 12: iconst_0
istore 6
goto 17
13: StackMap locals: double
StackMap stack:
aload 2
iload 6
invokevirtual java.util.BitSet.get:(I)Z
ifne 16
14: aload 1
iload 6
dload 7
dastore
15: aload 2
iload 6
invokevirtual java.util.BitSet.set:(I)V
16: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
aload 1
arraylength
if_icmplt 13
end local 7 18: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/awt/VariableGridLayout;
0 19 1 vec [D
0 19 2 userSet Ljava/util/BitSet;
1 19 3 total D
2 19 5 unallocated I
3 19 6 i I
12 18 7 space D
MethodParameters:
Name Flags
vec
userSet
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.awt.VariableGridLayout.rowFractions:[D
aload 0
getfield sun.awt.VariableGridLayout.rowsSet:Ljava/util/BitSet;
invokevirtual sun.awt.VariableGridLayout.allocateExtraSpace:([DLjava/util/BitSet;)V
1: aload 0
aload 0
getfield sun.awt.VariableGridLayout.colFractions:[D
aload 0
getfield sun.awt.VariableGridLayout.colsSet:Ljava/util/BitSet;
invokevirtual sun.awt.VariableGridLayout.allocateExtraSpace:([DLjava/util/BitSet;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/VariableGridLayout;
public void layoutContainer(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=16, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.Container.insets:()Ljava/awt/Insets;
astore 2
start local 2 1: aload 1
invokevirtual java.awt.Container.countComponents:()I
istore 3
start local 3 2: aload 0
getfield sun.awt.VariableGridLayout.rows:I
istore 4
start local 4 3: aload 0
getfield sun.awt.VariableGridLayout.cols:I
istore 5
start local 5 4: iload 4
ifle 7
5: iload 3
iload 4
iadd
iconst_1
isub
iload 4
idiv
istore 5
6: goto 8
7: StackMap locals: sun.awt.VariableGridLayout java.awt.Container java.awt.Insets int int int
StackMap stack:
iload 3
iload 5
iadd
iconst_1
isub
iload 5
idiv
istore 4
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.VariableGridLayout.rows:I
ifne 10
9: aload 0
iload 4
invokevirtual sun.awt.VariableGridLayout.stdRowFractions:(I)V
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.VariableGridLayout.cols:I
ifne 12
11: aload 0
iload 5
invokevirtual sun.awt.VariableGridLayout.stdColFractions:(I)V
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.Container.size:()Ljava/awt/Dimension;
astore 6
start local 6 13: aload 6
getfield java.awt.Dimension.width:I
aload 2
getfield java.awt.Insets.left:I
aload 2
getfield java.awt.Insets.right:I
iadd
isub
istore 7
start local 7 14: aload 6
getfield java.awt.Dimension.height:I
aload 2
getfield java.awt.Insets.top:I
aload 2
getfield java.awt.Insets.bottom:I
iadd
isub
istore 8
start local 8 15: iload 7
iload 5
iconst_1
isub
aload 0
getfield sun.awt.VariableGridLayout.hgap:I
imul
isub
istore 7
16: iload 8
iload 4
iconst_1
isub
aload 0
getfield sun.awt.VariableGridLayout.vgap:I
imul
isub
istore 8
17: aload 0
invokevirtual sun.awt.VariableGridLayout.allocateExtraSpace:()V
18: iconst_0
istore 9
start local 9 19: aload 2
getfield java.awt.Insets.left:I
istore 10
start local 10 20: goto 34
21: StackMap locals: sun.awt.VariableGridLayout java.awt.Container java.awt.Insets int int int java.awt.Dimension int int int int
StackMap stack:
aload 0
iload 9
invokevirtual sun.awt.VariableGridLayout.getColFraction:(I)D
iload 7
i2d
dmul
d2i
istore 11
start local 11 22: iconst_0
istore 12
start local 12 23: aload 2
getfield java.awt.Insets.top:I
istore 13
start local 13 24: goto 31
25: StackMap locals: int int int
StackMap stack:
iload 12
iload 5
imul
iload 9
iadd
istore 14
start local 14 26: aload 0
iload 12
invokevirtual sun.awt.VariableGridLayout.getRowFraction:(I)D
iload 8
i2d
dmul
d2i
istore 15
start local 15 27: iload 14
iload 3
if_icmpge 29
28: aload 1
iload 14
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
iload 10
iload 13
iload 11
iload 15
invokevirtual java.awt.Component.reshape:(IIII)V
29: StackMap locals: int int
StackMap stack:
iload 13
iload 15
aload 0
getfield sun.awt.VariableGridLayout.vgap:I
iadd
iadd
istore 13
end local 15 end local 14 30: iinc 12 1
StackMap locals:
StackMap stack:
31: iload 12
iload 4
if_icmplt 25
end local 13 end local 12 32: iload 10
iload 11
aload 0
getfield sun.awt.VariableGridLayout.hgap:I
iadd
iadd
istore 10
end local 11 33: iinc 9 1
StackMap locals:
StackMap stack:
34: iload 9
iload 5
if_icmplt 21
end local 10 end local 9 35: return
end local 8 end local 7 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 36 0 this Lsun/awt/VariableGridLayout;
0 36 1 parent Ljava/awt/Container;
1 36 2 insets Ljava/awt/Insets;
2 36 3 ncomponents I
3 36 4 nrows I
4 36 5 ncols I
13 36 6 size Ljava/awt/Dimension;
14 36 7 w I
15 36 8 h I
19 35 9 c I
20 35 10 x I
22 33 11 colWidth I
23 32 12 r I
24 32 13 y I
26 30 14 i I
27 30 15 rowHeight I
MethodParameters:
Name Flags
parent
static java.lang.String fracsToString(double[]);
descriptor: ([D)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: java.lang.String int
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "<"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
iload 2
daload
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [D
1 7 1 result Ljava/lang/String;
2 6 2 i I
MethodParameters:
Name Flags
array
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "[hgap="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.awt.VariableGridLayout.hgap:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ",vgap="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.awt.VariableGridLayout.vgap:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
1: ldc ",rows="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.awt.VariableGridLayout.rows:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ",cols="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.awt.VariableGridLayout.cols:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
2: ldc ",rowFracs="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 0
getfield sun.awt.VariableGridLayout.rowFractions:[D
invokestatic sun.awt.VariableGridLayout.fracsToString:([D)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc ",colFracs="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: aload 0
getfield sun.awt.VariableGridLayout.colFractions:[D
invokestatic sun.awt.VariableGridLayout.fracsToString:([D)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/VariableGridLayout;
}
SourceFile: "VariableGridLayout.java"