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