class sun.security.tools.policytool.PermissionActionsMenuListener implements java.awt.event.ItemListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.tools.policytool.PermissionActionsMenuListener
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.PermissionActionsMenuListener this
start local 1 // sun.security.tools.policytool.ToolDialog td
0: .line 3404
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 3405
aload 0 /* this */
aload 1 /* td */
putfield sun.security.tools.policytool.PermissionActionsMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
2: .line 3406
return
end local 1 // sun.security.tools.policytool.ToolDialog td
end local 0 // sun.security.tools.policytool.PermissionActionsMenuListener this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/tools/policytool/PermissionActionsMenuListener;
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=4, args_size=2
start local 0 // sun.security.tools.policytool.PermissionActionsMenuListener this
start local 1 // java.awt.event.ItemEvent e
0: .line 3410
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionActionsMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
1: .line 3411
iconst_5
2: .line 3410
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast java.awt.Choice
astore 2 /* actions */
start local 2 // java.awt.Choice actions
3: .line 3412
aload 2 /* actions */
invokevirtual java.awt.Choice.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
aload 1 /* e */
invokevirtual java.awt.event.ItemEvent.getItem:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
4: .line 3414
aload 1 /* e */
invokevirtual java.awt.event.ItemEvent.getItem:()Ljava/lang/Object;
checkcast java.lang.String
getstatic sun.security.tools.policytool.ToolDialog.PERM_ACTIONS:Ljava/lang/String;
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 6
5: .line 3415
return
6: .line 3417
StackMap locals: java.awt.Choice
StackMap stack:
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionActionsMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
7: .line 3418
bipush 6
8: .line 3417
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
9: .line 3419
aload 3 /* tf */
invokevirtual java.awt.TextField.getText:()Ljava/lang/String;
ifnull 10
aload 3 /* tf */
invokevirtual java.awt.TextField.getText:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: .line 3420
StackMap locals: java.awt.TextField
StackMap stack:
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
11: .line 3421
goto 14
12: .line 3422
StackMap locals:
StackMap stack:
aload 3 /* tf */
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 14
13: .line 3423
aload 3 /* tf */
new java.lang.StringBuilder
dup
aload 3 /* tf */
invokevirtual java.awt.TextField.getText:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1 /* e */
invokevirtual java.awt.event.ItemEvent.getItem:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.awt.TextField.setText:(Ljava/lang/String;)V
14: .line 3425
StackMap locals:
StackMap stack:
return
end local 3 // java.awt.TextField tf
end local 2 // java.awt.Choice actions
end local 1 // java.awt.event.ItemEvent e
end local 0 // sun.security.tools.policytool.PermissionActionsMenuListener this
LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/tools/policytool/PermissionActionsMenuListener;
0 15 1 e Ljava/awt/event/ItemEvent;
3 15 2 actions Ljava/awt/Choice;
9 15 3 tf Ljava/awt/TextField;
MethodParameters:
Name Flags
e
}
SourceFile: "PolicyTool.java"