class sun.security.tools.policytool.PermissionNameMenuListener implements java.awt.event.ItemListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.tools.policytool.PermissionNameMenuListener
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.PermissionNameMenuListener this
start local 1 // sun.security.tools.policytool.ToolDialog td
0: .line 3379
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 3380
aload 0 /* this */
aload 1 /* td */
putfield sun.security.tools.policytool.PermissionNameMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
2: .line 3381
return
end local 1 // sun.security.tools.policytool.ToolDialog td
end local 0 // sun.security.tools.policytool.PermissionNameMenuListener this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/tools/policytool/PermissionNameMenuListener;
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=2, locals=4, args_size=2
start local 0 // sun.security.tools.policytool.PermissionNameMenuListener this
start local 1 // java.awt.event.ItemEvent e
0: .line 3385
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionNameMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
iconst_3
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast java.awt.Choice
astore 2 /* names */
start local 2 // java.awt.Choice names
1: .line 3386
aload 2 /* names */
invokevirtual java.awt.Choice.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
2: .line 3387
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;
3: .line 3386
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
4: .line 3389
aload 1 /* e */
invokevirtual java.awt.event.ItemEvent.getItem:()Ljava/lang/Object;
checkcast java.lang.String
getstatic sun.security.tools.policytool.ToolDialog.PERM_NAME:Ljava/lang/String;
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 6
5: .line 3390
return
6: .line 3392
StackMap locals: java.awt.Choice
StackMap stack:
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionNameMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
iconst_4
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast java.awt.TextField
astore 3 /* tf */
start local 3 // java.awt.TextField tf
7: .line 3393
aload 3 /* tf */
aload 1 /* e */
invokevirtual java.awt.event.ItemEvent.getItem:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.awt.TextField.setText:(Ljava/lang/String;)V
8: .line 3394
return
end local 3 // java.awt.TextField tf
end local 2 // java.awt.Choice names
end local 1 // java.awt.event.ItemEvent e
end local 0 // sun.security.tools.policytool.PermissionNameMenuListener this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/tools/policytool/PermissionNameMenuListener;
0 9 1 e Ljava/awt/event/ItemEvent;
1 9 2 names Ljava/awt/Choice;
7 9 3 tf Ljava/awt/TextField;
MethodParameters:
Name Flags
e
}
SourceFile: "PolicyTool.java"