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 3730
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 3731
aload 0 /* this */
aload 1 /* td */
putfield sun.security.tools.policytool.PermissionNameMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
2: .line 3732
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 3735
aload 1 /* e */
invokevirtual java.awt.event.ItemEvent.getStateChange:()I
iconst_2
if_icmpne 2
1: .line 3737
return
2: .line 3740
StackMap locals:
StackMap stack:
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 javax.swing.JComboBox
astore 2 /* names */
start local 2 // javax.swing.JComboBox names
3: .line 3741
aload 2 /* names */
invokevirtual javax.swing.JComboBox.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
4: .line 3742
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;
5: .line 3741
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
6: .line 3744
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 8
7: .line 3745
return
8: .line 3747
StackMap locals: javax.swing.JComboBox
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 javax.swing.JTextField
astore 3 /* tf */
start local 3 // javax.swing.JTextField tf
9: .line 3748
aload 3 /* tf */
aload 1 /* e */
invokevirtual java.awt.event.ItemEvent.getItem:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual javax.swing.JTextField.setText:(Ljava/lang/String;)V
10: .line 3749
return
end local 3 // javax.swing.JTextField tf
end local 2 // javax.swing.JComboBox 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 11 0 this Lsun/security/tools/policytool/PermissionNameMenuListener;
0 11 1 e Ljava/awt/event/ItemEvent;
3 11 2 names Ljavax/swing/JComboBox;
9 11 3 tf Ljavax/swing/JTextField;
MethodParameters:
Name Flags
e
}
SourceFile: "PolicyTool.java"