class sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener implements java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener
super_class: java.lang.Object
{
private sun.security.tools.policytool.PolicyTool tool;
descriptor: Lsun/security/tools/policytool/PolicyTool;
flags: (0x0002) ACC_PRIVATE
private sun.security.tools.policytool.ToolWindow tw;
descriptor: Lsun/security/tools/policytool/ToolWindow;
flags: (0x0002) ACC_PRIVATE
private sun.security.tools.policytool.ToolDialog us;
descriptor: Lsun/security/tools/policytool/ToolDialog;
flags: (0x0002) ACC_PRIVATE
void <init>(sun.security.tools.policytool.PolicyTool, sun.security.tools.policytool.ToolWindow, sun.security.tools.policytool.ToolDialog);
descriptor: (Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 // sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener this
start local 1 // sun.security.tools.policytool.PolicyTool tool
start local 2 // sun.security.tools.policytool.ToolWindow tw
start local 3 // sun.security.tools.policytool.ToolDialog us
0: .line 3626
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 3628
aload 0 /* this */
aload 1 /* tool */
putfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tool:Lsun/security/tools/policytool/PolicyTool;
2: .line 3629
aload 0 /* this */
aload 2 /* tw */
putfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tw:Lsun/security/tools/policytool/ToolWindow;
3: .line 3630
aload 0 /* this */
aload 3 /* us */
putfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.us:Lsun/security/tools/policytool/ToolDialog;
4: .line 3631
return
end local 3 // sun.security.tools.policytool.ToolDialog us
end local 2 // sun.security.tools.policytool.ToolWindow tw
end local 1 // sun.security.tools.policytool.PolicyTool tool
end local 0 // sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/tools/policytool/ConfirmRemovePolicyEntryOKButtonListener;
0 5 1 tool Lsun/security/tools/policytool/PolicyTool;
0 5 2 tw Lsun/security/tools/policytool/ToolWindow;
0 5 3 us Lsun/security/tools/policytool/ToolDialog;
MethodParameters:
Name Flags
tool
tw
us
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 // sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener this
start local 1 // java.awt.event.ActionEvent e
0: .line 3635
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tw:Lsun/security/tools/policytool/ToolWindow;
iconst_3
invokevirtual sun.security.tools.policytool.ToolWindow.getComponent:(I)Ljava/awt/Component;
checkcast java.awt.List
astore 2 /* list */
start local 2 // java.awt.List list
1: .line 3636
aload 2 /* list */
invokevirtual java.awt.List.getSelectedIndex:()I
istore 3 /* index */
start local 3 // int index
2: .line 3637
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tool:Lsun/security/tools/policytool/PolicyTool;
invokevirtual sun.security.tools.policytool.PolicyTool.getEntry:()[Lsun/security/tools/policytool/PolicyEntry;
astore 4 /* entries */
start local 4 // sun.security.tools.policytool.PolicyEntry[] entries
3: .line 3638
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tool:Lsun/security/tools/policytool/PolicyTool;
aload 4 /* entries */
iload 3 /* index */
aaload
invokevirtual sun.security.tools.policytool.PolicyTool.removeEntry:(Lsun/security/tools/policytool/PolicyEntry;)Z
pop
4: .line 3641
new java.awt.List
dup
bipush 40
iconst_0
invokespecial java.awt.List.<init>:(IZ)V
astore 2 /* list */
5: .line 3642
aload 2 /* list */
new sun.security.tools.policytool.PolicyListListener
dup
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tw:Lsun/security/tools/policytool/ToolWindow;
invokespecial sun.security.tools.policytool.PolicyListListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;)V
invokevirtual java.awt.List.addActionListener:(Ljava/awt/event/ActionListener;)V
6: .line 3643
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tool:Lsun/security/tools/policytool/PolicyTool;
invokevirtual sun.security.tools.policytool.PolicyTool.getEntry:()[Lsun/security/tools/policytool/PolicyEntry;
astore 4 /* entries */
7: .line 3644
aload 4 /* entries */
ifnull 13
8: .line 3645
iconst_0
istore 5 /* i */
start local 5 // int i
9: goto 12
10: .line 3646
StackMap locals: sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener java.awt.event.ActionEvent java.awt.List int sun.security.tools.policytool.PolicyEntry[] int
StackMap stack:
aload 2 /* list */
aload 4 /* entries */
iload 5 /* i */
aaload
invokevirtual sun.security.tools.policytool.PolicyEntry.headerToString:()Ljava/lang/String;
invokevirtual java.awt.List.add:(Ljava/lang/String;)V
11: .line 3645
iinc 5 /* i */ 1
StackMap locals:
StackMap stack:
12: iload 5 /* i */
aload 4 /* entries */
arraylength
if_icmplt 10
end local 5 // int i
13: .line 3648
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tw:Lsun/security/tools/policytool/ToolWindow;
aload 2 /* list */
invokevirtual sun.security.tools.policytool.ToolWindow.replacePolicyList:(Ljava/awt/List;)V
14: .line 3649
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.us:Lsun/security/tools/policytool/ToolDialog;
iconst_0
invokevirtual sun.security.tools.policytool.ToolDialog.setVisible:(Z)V
15: .line 3650
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.us:Lsun/security/tools/policytool/ToolDialog;
invokevirtual sun.security.tools.policytool.ToolDialog.dispose:()V
16: .line 3651
return
end local 4 // sun.security.tools.policytool.PolicyEntry[] entries
end local 3 // int index
end local 2 // java.awt.List list
end local 1 // java.awt.event.ActionEvent e
end local 0 // sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener this
LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/security/tools/policytool/ConfirmRemovePolicyEntryOKButtonListener;
0 17 1 e Ljava/awt/event/ActionEvent;
1 17 2 list Ljava/awt/List;
2 17 3 index I
3 17 4 entries [Lsun/security/tools/policytool/PolicyEntry;
9 13 5 i I
MethodParameters:
Name Flags
e
}
SourceFile: "PolicyTool.java"