public class sun.awt.HorizBagLayout implements java.awt.LayoutManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.HorizBagLayout
super_class: java.lang.Object
{
int hgap;
descriptor: I
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokespecial sun.awt.HorizBagLayout.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/HorizBagLayout;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield sun.awt.HorizBagLayout.hgap:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/HorizBagLayout;
0 3 1 hgap I
MethodParameters:
Name Flags
hgap
public void addLayoutComponent(java.lang.String, java.awt.Component);
descriptor: (Ljava/lang/String;Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/HorizBagLayout;
0 1 1 name Ljava/lang/String;
0 1 2 comp Ljava/awt/Component;
MethodParameters:
Name Flags
name
comp
public void removeLayoutComponent(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/HorizBagLayout;
0 1 1 comp Ljava/awt/Component;
MethodParameters:
Name Flags
comp
public java.awt.Dimension minimumLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: new java.awt.Dimension
dup
invokespecial java.awt.Dimension.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 9
3: StackMap locals: java.awt.Dimension int
StackMap stack:
aload 1
iload 3
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 4
start local 4 4: aload 4
invokevirtual java.awt.Component.isVisible:()Z
ifeq 8
5: aload 4
invokevirtual java.awt.Component.minimumSize:()Ljava/awt/Dimension;
astore 5
start local 5 6: aload 2
dup
getfield java.awt.Dimension.width:I
aload 5
getfield java.awt.Dimension.width:I
aload 0
getfield sun.awt.HorizBagLayout.hgap:I
iadd
iadd
putfield java.awt.Dimension.width:I
7: aload 2
aload 5
getfield java.awt.Dimension.height:I
aload 2
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.height:I
end local 5 end local 4 8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 1
invokevirtual java.awt.Container.countComponents:()I
if_icmplt 3
end local 3 10: aload 1
invokevirtual java.awt.Container.insets:()Ljava/awt/Insets;
astore 3
start local 3 11: aload 2
dup
getfield java.awt.Dimension.width:I
aload 3
getfield java.awt.Insets.left:I
aload 3
getfield java.awt.Insets.right:I
iadd
iadd
putfield java.awt.Dimension.width:I
12: aload 2
dup
getfield java.awt.Dimension.height:I
aload 3
getfield java.awt.Insets.top:I
aload 3
getfield java.awt.Insets.bottom:I
iadd
iadd
putfield java.awt.Dimension.height:I
13: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/awt/HorizBagLayout;
0 14 1 target Ljava/awt/Container;
1 14 2 dim Ljava/awt/Dimension;
2 10 3 i I
4 8 4 comp Ljava/awt/Component;
6 8 5 d Ljava/awt/Dimension;
11 14 3 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
target
public java.awt.Dimension preferredLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: new java.awt.Dimension
dup
invokespecial java.awt.Dimension.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 9
3: StackMap locals: java.awt.Dimension int
StackMap stack:
aload 1
iload 3
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 4
start local 4 4: aload 4
invokevirtual java.awt.Component.isVisible:()Z
ifeq 8
5: aload 4
invokevirtual java.awt.Component.preferredSize:()Ljava/awt/Dimension;
astore 5
start local 5 6: aload 2
dup
getfield java.awt.Dimension.width:I
aload 5
getfield java.awt.Dimension.width:I
aload 0
getfield sun.awt.HorizBagLayout.hgap:I
iadd
iadd
putfield java.awt.Dimension.width:I
7: aload 2
aload 2
getfield java.awt.Dimension.height:I
aload 5
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.height:I
end local 5 end local 4 8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 1
invokevirtual java.awt.Container.countComponents:()I
if_icmplt 3
end local 3 10: aload 1
invokevirtual java.awt.Container.insets:()Ljava/awt/Insets;
astore 3
start local 3 11: aload 2
dup
getfield java.awt.Dimension.width:I
aload 3
getfield java.awt.Insets.left:I
aload 3
getfield java.awt.Insets.right:I
iadd
iadd
putfield java.awt.Dimension.width:I
12: aload 2
dup
getfield java.awt.Dimension.height:I
aload 3
getfield java.awt.Insets.top:I
aload 3
getfield java.awt.Insets.bottom:I
iadd
iadd
putfield java.awt.Dimension.height:I
13: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/awt/HorizBagLayout;
0 14 1 target Ljava/awt/Container;
1 14 2 dim Ljava/awt/Dimension;
2 10 3 i I
4 8 4 comp Ljava/awt/Component;
6 8 5 d Ljava/awt/Dimension;
11 14 3 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
target
public void layoutContainer(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, 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 2
getfield java.awt.Insets.top:I
istore 3
start local 3 2: aload 1
invokevirtual java.awt.Container.size:()Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
aload 2
getfield java.awt.Insets.bottom:I
isub
istore 4
start local 4 3: aload 2
getfield java.awt.Insets.left:I
istore 5
start local 5 4: aload 1
invokevirtual java.awt.Container.size:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
pop
aload 2
getfield java.awt.Insets.right:I
pop
5: iconst_0
istore 6
start local 6 6: goto 15
7: StackMap locals: sun.awt.HorizBagLayout java.awt.Container java.awt.Insets int int int int
StackMap stack:
aload 1
iload 6
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 7
start local 7 8: aload 7
invokevirtual java.awt.Component.isVisible:()Z
ifeq 14
9: aload 7
invokevirtual java.awt.Component.size:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
istore 8
start local 8 10: aload 7
iload 8
iload 4
iload 3
isub
invokevirtual java.awt.Component.resize:(II)V
11: aload 7
invokevirtual java.awt.Component.preferredSize:()Ljava/awt/Dimension;
astore 9
start local 9 12: aload 7
iload 5
iload 3
aload 9
getfield java.awt.Dimension.width:I
iload 4
iload 3
isub
invokevirtual java.awt.Component.reshape:(IIII)V
13: iload 5
aload 9
getfield java.awt.Dimension.width:I
aload 0
getfield sun.awt.HorizBagLayout.hgap:I
iadd
iadd
istore 5
end local 9 end local 8 end local 7 14: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
aload 1
invokevirtual java.awt.Container.countComponents:()I
if_icmplt 7
end local 6 16: return
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 17 0 this Lsun/awt/HorizBagLayout;
0 17 1 target Ljava/awt/Container;
1 17 2 insets Ljava/awt/Insets;
2 17 3 top I
3 17 4 bottom I
4 17 5 left I
6 16 6 i I
8 14 7 comp Ljava/awt/Component;
10 14 8 compWidth I
12 14 9 d Ljava/awt/Dimension;
MethodParameters:
Name Flags
target
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.HorizBagLayout.hgap:I
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;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/HorizBagLayout;
}
SourceFile: "HorizBagLayout.java"