class sun.security.tools.policytool.MainWindowListener implements java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.tools.policytool.MainWindowListener
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
void <init>(sun.security.tools.policytool.PolicyTool, sun.security.tools.policytool.ToolWindow);
descriptor: (Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // sun.security.tools.policytool.MainWindowListener this
start local 1 // sun.security.tools.policytool.PolicyTool tool
start local 2 // sun.security.tools.policytool.ToolWindow tw
0: .line 2810
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 2811
aload 0 /* this */
aload 1 /* tool */
putfield sun.security.tools.policytool.MainWindowListener.tool:Lsun/security/tools/policytool/PolicyTool;
2: .line 2812
aload 0 /* this */
aload 2 /* tw */
putfield sun.security.tools.policytool.MainWindowListener.tw:Lsun/security/tools/policytool/ToolWindow;
3: .line 2813
return
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.MainWindowListener this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/tools/policytool/MainWindowListener;
0 4 1 tool Lsun/security/tools/policytool/PolicyTool;
0 4 2 tw Lsun/security/tools/policytool/ToolWindow;
MethodParameters:
Name Flags
tool
tw
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 // sun.security.tools.policytool.MainWindowListener this
start local 1 // java.awt.event.ActionEvent e
0: .line 2817
getstatic sun.security.tools.policytool.PolicyTool.collator:Ljava/text/Collator;
aload 1 /* e */
invokevirtual java.awt.event.ActionEvent.getActionCommand:()Ljava/lang/String;
1: .line 2818
getstatic sun.security.tools.policytool.ToolWindow.ADD_POLICY_ENTRY:Ljava/lang/String;
2: .line 2817
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 8
3: .line 2821
new sun.security.tools.policytool.ToolDialog
dup
4: .line 2822
getstatic sun.security.tools.policytool.PolicyTool.rb:Ljava/util/ResourceBundle;
ldc "Policy.Entry"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 0 /* this */
getfield sun.security.tools.policytool.MainWindowListener.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0 /* this */
getfield sun.security.tools.policytool.MainWindowListener.tw:Lsun/security/tools/policytool/ToolWindow;
iconst_1
5: .line 2821
invokespecial sun.security.tools.policytool.ToolDialog.<init>:(Ljava/lang/String;Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Z)V
astore 2 /* td */
start local 2 // sun.security.tools.policytool.ToolDialog td
6: .line 2823
aload 2 /* td */
iconst_0
invokevirtual sun.security.tools.policytool.ToolDialog.displayPolicyEntryDialog:(Z)V
end local 2 // sun.security.tools.policytool.ToolDialog td
7: .line 2825
goto 47
StackMap locals:
StackMap stack:
8: getstatic sun.security.tools.policytool.PolicyTool.collator:Ljava/text/Collator;
aload 1 /* e */
invokevirtual java.awt.event.ActionEvent.getActionCommand:()Ljava/lang/String;
9: .line 2826
getstatic sun.security.tools.policytool.ToolWindow.REMOVE_POLICY_ENTRY:Ljava/lang/String;
10: .line 2825
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 25
11: .line 2829
aload 0 /* this */
getfield sun.security.tools.policytool.MainWindowListener.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
12: .line 2830
aload 2 /* list */
invokevirtual java.awt.List.getSelectedIndex:()I
istore 3 /* index */
start local 3 // int index
13: .line 2831
iload 3 /* index */
ifge 18
14: .line 2832
aload 0 /* this */
getfield sun.security.tools.policytool.MainWindowListener.tw:Lsun/security/tools/policytool/ToolWindow;
aconst_null
new java.lang.Exception
dup
15: .line 2833
getstatic sun.security.tools.policytool.PolicyTool.rb:Ljava/util/ResourceBundle;
ldc "No.Policy.Entry.selected"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
16: .line 2832
invokevirtual sun.security.tools.policytool.ToolWindow.displayErrorDialog:(Ljava/awt/Window;Ljava/lang/Throwable;)V
17: .line 2834
return
18: .line 2838
StackMap locals: java.awt.List int
StackMap stack:
new sun.security.tools.policytool.ToolDialog
dup
getstatic sun.security.tools.policytool.PolicyTool.rb:Ljava/util/ResourceBundle;
19: .line 2839
ldc "Remove.Policy.Entry"
20: .line 2838
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
21: .line 2839
aload 0 /* this */
getfield sun.security.tools.policytool.MainWindowListener.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0 /* this */
getfield sun.security.tools.policytool.MainWindowListener.tw:Lsun/security/tools/policytool/ToolWindow;
iconst_1
22: .line 2838
invokespecial sun.security.tools.policytool.ToolDialog.<init>:(Ljava/lang/String;Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Z)V
astore 4 /* td */
start local 4 // sun.security.tools.policytool.ToolDialog td
23: .line 2840
aload 4 /* td */
invokevirtual sun.security.tools.policytool.ToolDialog.displayConfirmRemovePolicyEntry:()V
end local 4 // sun.security.tools.policytool.ToolDialog td
end local 3 // int index
end local 2 // java.awt.List list
24: .line 2842
goto 47
StackMap locals:
StackMap stack:
25: getstatic sun.security.tools.policytool.PolicyTool.collator:Ljava/text/Collator;
aload 1 /* e */
invokevirtual java.awt.event.ActionEvent.getActionCommand:()Ljava/lang/String;
26: .line 2843
getstatic sun.security.tools.policytool.ToolWindow.EDIT_POLICY_ENTRY:Ljava/lang/String;
27: .line 2842
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 40
28: .line 2846
aload 0 /* this */
getfield sun.security.tools.policytool.MainWindowListener.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
29: .line 2847
aload 2 /* list */
invokevirtual java.awt.List.getSelectedIndex:()I
istore 3 /* index */
start local 3 // int index
30: .line 2848
iload 3 /* index */
ifge 35
31: .line 2849
aload 0 /* this */
getfield sun.security.tools.policytool.MainWindowListener.tw:Lsun/security/tools/policytool/ToolWindow;
aconst_null
new java.lang.Exception
dup
32: .line 2850
getstatic sun.security.tools.policytool.PolicyTool.rb:Ljava/util/ResourceBundle;
ldc "No.Policy.Entry.selected"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
33: .line 2849
invokevirtual sun.security.tools.policytool.ToolWindow.displayErrorDialog:(Ljava/awt/Window;Ljava/lang/Throwable;)V
34: .line 2851
return
35: .line 2855
StackMap locals: java.awt.List int
StackMap stack:
new sun.security.tools.policytool.ToolDialog
dup
36: .line 2856
getstatic sun.security.tools.policytool.PolicyTool.rb:Ljava/util/ResourceBundle;
ldc "Policy.Entry"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 0 /* this */
getfield sun.security.tools.policytool.MainWindowListener.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0 /* this */
getfield sun.security.tools.policytool.MainWindowListener.tw:Lsun/security/tools/policytool/ToolWindow;
iconst_1
37: .line 2855
invokespecial sun.security.tools.policytool.ToolDialog.<init>:(Ljava/lang/String;Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Z)V
astore 4 /* td */
start local 4 // sun.security.tools.policytool.ToolDialog td
38: .line 2857
aload 4 /* td */
iconst_1
invokevirtual sun.security.tools.policytool.ToolDialog.displayPolicyEntryDialog:(Z)V
end local 4 // sun.security.tools.policytool.ToolDialog td
end local 3 // int index
end local 2 // java.awt.List list
39: .line 2859
goto 47
StackMap locals:
StackMap stack:
40: getstatic sun.security.tools.policytool.PolicyTool.collator:Ljava/text/Collator;
aload 1 /* e */
invokevirtual java.awt.event.ActionEvent.getActionCommand:()Ljava/lang/String;
41: .line 2860
getstatic sun.security.tools.policytool.ToolWindow.EDIT_KEYSTORE:Ljava/lang/String;
42: .line 2859
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 47
43: .line 2863
new sun.security.tools.policytool.ToolDialog
dup
44: .line 2864
getstatic sun.security.tools.policytool.PolicyTool.rb:Ljava/util/ResourceBundle;
ldc "KeyStore"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 0 /* this */
getfield sun.security.tools.policytool.MainWindowListener.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0 /* this */
getfield sun.security.tools.policytool.MainWindowListener.tw:Lsun/security/tools/policytool/ToolWindow;
iconst_1
45: .line 2863
invokespecial sun.security.tools.policytool.ToolDialog.<init>:(Ljava/lang/String;Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Z)V
astore 2 /* td */
start local 2 // sun.security.tools.policytool.ToolDialog td
46: .line 2865
aload 2 /* td */
iconst_0
invokevirtual sun.security.tools.policytool.ToolDialog.keyStoreDialog:(I)V
end local 2 // sun.security.tools.policytool.ToolDialog td
47: .line 2867
StackMap locals:
StackMap stack:
return
end local 1 // java.awt.event.ActionEvent e
end local 0 // sun.security.tools.policytool.MainWindowListener this
LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lsun/security/tools/policytool/MainWindowListener;
0 48 1 e Ljava/awt/event/ActionEvent;
6 7 2 td Lsun/security/tools/policytool/ToolDialog;
12 24 2 list Ljava/awt/List;
13 24 3 index I
23 24 4 td Lsun/security/tools/policytool/ToolDialog;
29 39 2 list Ljava/awt/List;
30 39 3 index I
38 39 4 td Lsun/security/tools/policytool/ToolDialog;
46 47 2 td Lsun/security/tools/policytool/ToolDialog;
MethodParameters:
Name Flags
e
}
SourceFile: "PolicyTool.java"