class sun.security.tools.policytool.PermissionMenuListener implements java.awt.event.ItemListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.tools.policytool.PermissionMenuListener
super_class: java.lang.Object
{
private sun.security.tools.policytool.ToolDialog td;
descriptor: Lsun/security/tools/policytool/ToolDialog;
flags: (0x0002) ACC_PRIVATE
void <init>(sun.security.tools.policytool.ToolDialog);
descriptor: (Lsun/security/tools/policytool/ToolDialog;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // sun.security.tools.policytool.PermissionMenuListener this
start local 1 // sun.security.tools.policytool.ToolDialog td
0: .line 3659
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 3660
aload 0 /* this */
aload 1 /* td */
putfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
2: .line 3661
return
end local 1 // sun.security.tools.policytool.ToolDialog td
end local 0 // sun.security.tools.policytool.PermissionMenuListener this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/tools/policytool/PermissionMenuListener;
0 3 1 td Lsun/security/tools/policytool/ToolDialog;
MethodParameters:
Name Flags
td
public void itemStateChanged(java.awt.event.ItemEvent);
descriptor: (Ljava/awt/event/ItemEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=2
start local 0 // sun.security.tools.policytool.PermissionMenuListener this
start local 1 // java.awt.event.ItemEvent e
0: .line 3664
aload 1 /* e */
invokevirtual java.awt.event.ItemEvent.getStateChange:()I
iconst_2
if_icmpne 2
1: .line 3666
return
2: .line 3669
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
3: .line 3670
iconst_1
4: .line 3669
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JComboBox
astore 2 /* perms */
start local 2 // javax.swing.JComboBox perms
5: .line 3671
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
6: .line 3672
iconst_3
7: .line 3671
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JComboBox
astore 3 /* names */
start local 3 // javax.swing.JComboBox names
8: .line 3673
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
9: .line 3674
iconst_5
10: .line 3673
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JComboBox
astore 4 /* actions */
start local 4 // javax.swing.JComboBox actions
11: .line 3675
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
12: .line 3676
iconst_4
13: .line 3675
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 5 /* nameField */
start local 5 // javax.swing.JTextField nameField
14: .line 3677
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
15: .line 3678
bipush 6
16: .line 3677
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 6 /* actionsField */
start local 6 // javax.swing.JTextField actionsField
17: .line 3679
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
18: .line 3680
iconst_2
19: .line 3679
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 7 /* permField */
start local 7 // javax.swing.JTextField permField
20: .line 3681
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
21: .line 3682
bipush 8
22: .line 3681
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 8 /* signedbyField */
start local 8 // javax.swing.JTextField signedbyField
23: .line 3684
aload 2 /* perms */
invokevirtual javax.swing.JComboBox.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
24: .line 3685
aload 1 /* e */
invokevirtual java.awt.event.ItemEvent.getItem:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic sun.security.tools.policytool.PolicyTool.splitToWords:(Ljava/lang/String;)Ljava/lang/String;
25: .line 3684
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
26: .line 3688
getstatic sun.security.tools.policytool.PolicyTool.collator:Ljava/text/Collator;
aload 1 /* e */
invokevirtual java.awt.event.ItemEvent.getItem:()Ljava/lang/Object;
checkcast java.lang.String
27: .line 3689
getstatic sun.security.tools.policytool.ToolDialog.PERM:Ljava/lang/String;
28: .line 3688
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 35
29: .line 3690
aload 7 /* permField */
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
ifnull 34
30: .line 3691
aload 7 /* permField */
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifle 34
31: .line 3693
aload 7 /* permField */
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
iconst_1
invokestatic sun.security.tools.policytool.ToolDialog.getPerm:(Ljava/lang/String;Z)Lsun/security/tools/policytool/Perm;
astore 9 /* inputPerm */
start local 9 // sun.security.tools.policytool.Perm inputPerm
32: .line 3694
aload 9 /* inputPerm */
ifnull 34
33: .line 3695
aload 2 /* perms */
aload 9 /* inputPerm */
getfield sun.security.tools.policytool.Perm.CLASS:Ljava/lang/String;
invokevirtual javax.swing.JComboBox.setSelectedItem:(Ljava/lang/Object;)V
end local 9 // sun.security.tools.policytool.Perm inputPerm
34: .line 3698
StackMap locals: sun.security.tools.policytool.PermissionMenuListener java.awt.event.ItemEvent javax.swing.JComboBox javax.swing.JComboBox javax.swing.JComboBox javax.swing.JTextField javax.swing.JTextField javax.swing.JTextField javax.swing.JTextField
StackMap stack:
return
35: .line 3702
StackMap locals:
StackMap stack:
aload 7 /* permField */
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
aload 1 /* e */
invokevirtual java.awt.event.ItemEvent.getItem:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpne 39
36: .line 3703
aload 5 /* nameField */
ldc ""
invokevirtual javax.swing.JTextField.setText:(Ljava/lang/String;)V
37: .line 3704
aload 6 /* actionsField */
ldc ""
invokevirtual javax.swing.JTextField.setText:(Ljava/lang/String;)V
38: .line 3705
aload 8 /* signedbyField */
ldc ""
invokevirtual javax.swing.JTextField.setText:(Ljava/lang/String;)V
39: .line 3712
StackMap locals:
StackMap stack:
aload 1 /* e */
invokevirtual java.awt.event.ItemEvent.getItem:()Ljava/lang/Object;
checkcast java.lang.String
iconst_0
invokestatic sun.security.tools.policytool.ToolDialog.getPerm:(Ljava/lang/String;Z)Lsun/security/tools/policytool/Perm;
astore 9 /* inputPerm */
start local 9 // sun.security.tools.policytool.Perm inputPerm
40: .line 3713
aload 9 /* inputPerm */
ifnonnull 43
41: .line 3714
aload 7 /* permField */
ldc ""
invokevirtual javax.swing.JTextField.setText:(Ljava/lang/String;)V
42: .line 3715
goto 44
43: .line 3716
StackMap locals: sun.security.tools.policytool.Perm
StackMap stack:
aload 7 /* permField */
aload 9 /* inputPerm */
getfield sun.security.tools.policytool.Perm.FULL_CLASS:Ljava/lang/String;
invokevirtual javax.swing.JTextField.setText:(Ljava/lang/String;)V
44: .line 3718
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
aload 9 /* inputPerm */
aload 3 /* names */
aload 5 /* nameField */
invokevirtual sun.security.tools.policytool.ToolDialog.setPermissionNames:(Lsun/security/tools/policytool/Perm;Ljavax/swing/JComboBox;Ljavax/swing/JTextField;)V
45: .line 3719
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
aload 9 /* inputPerm */
aload 4 /* actions */
aload 6 /* actionsField */
invokevirtual sun.security.tools.policytool.ToolDialog.setPermissionActions:(Lsun/security/tools/policytool/Perm;Ljavax/swing/JComboBox;Ljavax/swing/JTextField;)V
46: .line 3720
return
end local 9 // sun.security.tools.policytool.Perm inputPerm
end local 8 // javax.swing.JTextField signedbyField
end local 7 // javax.swing.JTextField permField
end local 6 // javax.swing.JTextField actionsField
end local 5 // javax.swing.JTextField nameField
end local 4 // javax.swing.JComboBox actions
end local 3 // javax.swing.JComboBox names
end local 2 // javax.swing.JComboBox perms
end local 1 // java.awt.event.ItemEvent e
end local 0 // sun.security.tools.policytool.PermissionMenuListener this
LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Lsun/security/tools/policytool/PermissionMenuListener;
0 47 1 e Ljava/awt/event/ItemEvent;
5 47 2 perms Ljavax/swing/JComboBox;
8 47 3 names Ljavax/swing/JComboBox;
11 47 4 actions Ljavax/swing/JComboBox;
14 47 5 nameField Ljavax/swing/JTextField;
17 47 6 actionsField Ljavax/swing/JTextField;
20 47 7 permField Ljavax/swing/JTextField;
23 47 8 signedbyField Ljavax/swing/JTextField;
32 34 9 inputPerm Lsun/security/tools/policytool/Perm;
40 47 9 inputPerm Lsun/security/tools/policytool/Perm;
MethodParameters:
Name Flags
e
}
SourceFile: "PolicyTool.java"