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 3759
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 3760
aload 0 /* this */
aload 1 /* td */
putfield sun.security.tools.policytool.PermissionActionsMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
2: .line 3761
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 3764
aload 1 /* e */
invokevirtual java.awt.event.ItemEvent.getStateChange:()I
iconst_2
if_icmpne 2
1: .line 3766
return
2: .line 3769
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionActionsMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
3: .line 3770
iconst_5
4: .line 3769
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JComboBox
astore 2 /* actions */
start local 2 // javax.swing.JComboBox actions
5: .line 3771
aload 2 /* actions */
invokevirtual javax.swing.JComboBox.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
6: .line 3773
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 8
7: .line 3774
return
8: .line 3776
StackMap locals: javax.swing.JComboBox
StackMap stack:
aload 0 /* this */
getfield sun.security.tools.policytool.PermissionActionsMenuListener.td:Lsun/security/tools/policytool/ToolDialog;
9: .line 3777
bipush 6
10: .line 3776
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
11: .line 3778
aload 3 /* tf */
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
ifnull 12
aload 3 /* tf */
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: .line 3779
StackMap locals: javax.swing.JTextField
StackMap stack:
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
13: .line 3780
goto 16
14: .line 3781
StackMap locals:
StackMap stack:
aload 3 /* tf */
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 16
15: .line 3782
aload 3 /* tf */
new java.lang.StringBuilder
dup
aload 3 /* tf */
invokevirtual javax.swing.JTextField.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 javax.swing.JTextField.setText:(Ljava/lang/String;)V
16: .line 3784
StackMap locals:
StackMap stack:
return
end local 3 // javax.swing.JTextField tf
end local 2 // javax.swing.JComboBox 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 17 0 this Lsun/security/tools/policytool/PermissionActionsMenuListener;
0 17 1 e Ljava/awt/event/ItemEvent;
5 17 2 actions Ljavax/swing/JComboBox;
11 17 3 tf Ljavax/swing/JTextField;
MethodParameters:
Name Flags
e
}
SourceFile: "PolicyTool.java"