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 3312
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 3313
aload 0 /* this */
aload 1 /* td */
putfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
2: .line 3314
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 3318
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
1: .line 3319
iconst_1
2: .line 3318
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast java.awt.Choice
astore 2 /* perms */
start local 2 // java.awt.Choice perms
3: .line 3320
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
4: .line 3321
iconst_3
5: .line 3320
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast java.awt.Choice
astore 3 /* names */
start local 3 // java.awt.Choice names
6: .line 3322
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
7: .line 3323
iconst_5
8: .line 3322
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast java.awt.Choice
astore 4 /* actions */
start local 4 // java.awt.Choice actions
9: .line 3324
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
10: .line 3325
iconst_4
11: .line 3324
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast java.awt.TextField
astore 5 /* nameField */
start local 5 // java.awt.TextField nameField
12: .line 3326
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
13: .line 3327
bipush 6
14: .line 3326
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast java.awt.TextField
astore 6 /* actionsField */
start local 6 // java.awt.TextField actionsField
15: .line 3328
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
16: .line 3329
iconst_2
17: .line 3328
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast java.awt.TextField
astore 7 /* permField */
start local 7 // java.awt.TextField permField
18: .line 3330
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
19: .line 3331
bipush 8
20: .line 3330
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast java.awt.TextField
astore 8 /* signedbyField */
start local 8 // java.awt.TextField signedbyField
21: .line 3333
aload 2 /* perms */
invokevirtual java.awt.Choice.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
22: .line 3334
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;
23: .line 3333
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
24: .line 3337
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
25: .line 3338
getstatic sun.security.tools.policytool.ToolDialog.PERM:Ljava/lang/String;
26: .line 3337
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 33
27: .line 3339
aload 7 /* permField */
invokevirtual java.awt.TextField.getText:()Ljava/lang/String;
ifnull 32
28: .line 3340
aload 7 /* permField */
invokevirtual java.awt.TextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifle 32
29: .line 3342
aload 7 /* permField */
invokevirtual java.awt.TextField.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
30: .line 3343
aload 9 /* inputPerm */
ifnull 32
31: .line 3344
aload 2 /* perms */
aload 9 /* inputPerm */
getfield sun.security.tools.policytool.Perm.CLASS:Ljava/lang/String;
invokevirtual java.awt.Choice.select:(Ljava/lang/String;)V
end local 9 // sun.security.tools.policytool.Perm inputPerm
32: .line 3347
StackMap locals: sun.security.tools.policytool.PermissionMenuListener java.awt.event.ItemEvent java.awt.Choice java.awt.Choice java.awt.Choice java.awt.TextField java.awt.TextField java.awt.TextField java.awt.TextField
StackMap stack:
return
33: .line 3351
StackMap locals:
StackMap stack:
aload 7 /* permField */
invokevirtual java.awt.TextField.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 37
34: .line 3352
aload 5 /* nameField */
ldc ""
invokevirtual java.awt.TextField.setText:(Ljava/lang/String;)V
35: .line 3353
aload 6 /* actionsField */
ldc ""
invokevirtual java.awt.TextField.setText:(Ljava/lang/String;)V
36: .line 3354
aload 8 /* signedbyField */
ldc ""
invokevirtual java.awt.TextField.setText:(Ljava/lang/String;)V
37: .line 3361
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
38: .line 3362
aload 9 /* inputPerm */
ifnonnull 41
39: .line 3363
aload 7 /* permField */
ldc ""
invokevirtual java.awt.TextField.setText:(Ljava/lang/String;)V
40: .line 3364
goto 42
41: .line 3365
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 java.awt.TextField.setText:(Ljava/lang/String;)V
42: .line 3367
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;Ljava/awt/Choice;Ljava/awt/TextField;)V
43: .line 3368
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;Ljava/awt/Choice;Ljava/awt/TextField;)V
44: .line 3369
return
end local 9 // sun.security.tools.policytool.Perm inputPerm
end local 8 // java.awt.TextField signedbyField
end local 7 // java.awt.TextField permField
end local 6 // java.awt.TextField actionsField
end local 5 // java.awt.TextField nameField
end local 4 // java.awt.Choice actions
end local 3 // java.awt.Choice names
end local 2 // java.awt.Choice 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 45 0 this Lsun/security/tools/policytool/PermissionMenuListener;
0 45 1 e Ljava/awt/event/ItemEvent;
3 45 2 perms Ljava/awt/Choice;
6 45 3 names Ljava/awt/Choice;
9 45 4 actions Ljava/awt/Choice;
12 45 5 nameField Ljava/awt/TextField;
15 45 6 actionsField Ljava/awt/TextField;
18 45 7 permField Ljava/awt/TextField;
21 45 8 signedbyField Ljava/awt/TextField;
30 32 9 inputPerm Lsun/security/tools/policytool/Perm;
38 45 9 inputPerm Lsun/security/tools/policytool/Perm;
MethodParameters:
Name Flags
e
}
SourceFile: "PolicyTool.java"