class sun.security.tools.policytool.EditPrinButtonListener extends java.awt.event.MouseAdapter implements java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.tools.policytool.EditPrinButtonListener
super_class: java.awt.event.MouseAdapter
{
private sun.security.tools.policytool.PolicyTool tool;
descriptor: Lsun/security/tools/policytool/PolicyTool;
flags: (0x0002) ACC_PRIVATE
private sun.security.tools.policytool.ToolWindow tw;
descriptor: Lsun/security/tools/policytool/ToolWindow;
flags: (0x0002) ACC_PRIVATE
private sun.security.tools.policytool.ToolDialog td;
descriptor: Lsun/security/tools/policytool/ToolDialog;
flags: (0x0002) ACC_PRIVATE
private boolean editPolicyEntry;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(sun.security.tools.policytool.PolicyTool, sun.security.tools.policytool.ToolWindow, sun.security.tools.policytool.ToolDialog, boolean);
descriptor: (Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;Z)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 // sun.security.tools.policytool.EditPrinButtonListener this
start local 1 // sun.security.tools.policytool.PolicyTool tool
start local 2 // sun.security.tools.policytool.ToolWindow tw
start local 3 // sun.security.tools.policytool.ToolDialog td
start local 4 // boolean editPolicyEntry
0: .line 3527
aload 0 /* this */
invokespecial java.awt.event.MouseAdapter.<init>:()V
1: .line 3529
aload 0 /* this */
aload 1 /* tool */
putfield sun.security.tools.policytool.EditPrinButtonListener.tool:Lsun/security/tools/policytool/PolicyTool;
2: .line 3530
aload 0 /* this */
aload 2 /* tw */
putfield sun.security.tools.policytool.EditPrinButtonListener.tw:Lsun/security/tools/policytool/ToolWindow;
3: .line 3531
aload 0 /* this */
aload 3 /* td */
putfield sun.security.tools.policytool.EditPrinButtonListener.td:Lsun/security/tools/policytool/ToolDialog;
4: .line 3532
aload 0 /* this */
iload 4 /* editPolicyEntry */
putfield sun.security.tools.policytool.EditPrinButtonListener.editPolicyEntry:Z
5: .line 3533
return
end local 4 // boolean editPolicyEntry
end local 3 // sun.security.tools.policytool.ToolDialog td
end local 2 // sun.security.tools.policytool.ToolWindow tw
end local 1 // sun.security.tools.policytool.PolicyTool tool
end local 0 // sun.security.tools.policytool.EditPrinButtonListener this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/tools/policytool/EditPrinButtonListener;
0 6 1 tool Lsun/security/tools/policytool/PolicyTool;
0 6 2 tw Lsun/security/tools/policytool/ToolWindow;
0 6 3 td Lsun/security/tools/policytool/ToolDialog;
0 6 4 editPolicyEntry Z
MethodParameters:
Name Flags
tool
tw
td
editPolicyEntry
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 // sun.security.tools.policytool.EditPrinButtonListener this
start local 1 // java.awt.event.ActionEvent e
0: .line 3538
aload 0 /* this */
getfield sun.security.tools.policytool.EditPrinButtonListener.td:Lsun/security/tools/policytool/ToolDialog;
1: .line 3539
bipush 6
2: .line 3538
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast sun.security.tools.policytool.TaggedList
astore 2 /* list */
start local 2 // sun.security.tools.policytool.TaggedList list
3: .line 3540
aload 2 /* list */
invokevirtual sun.security.tools.policytool.TaggedList.getSelectedIndex:()I
istore 3 /* prinIndex */
start local 3 // int prinIndex
4: .line 3542
iload 3 /* prinIndex */
ifge 9
5: .line 3543
aload 0 /* this */
getfield sun.security.tools.policytool.EditPrinButtonListener.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0 /* this */
getfield sun.security.tools.policytool.EditPrinButtonListener.td:Lsun/security/tools/policytool/ToolDialog;
new java.lang.Exception
dup
6: .line 3544
ldc "No.principal.selected"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
7: .line 3543
invokevirtual sun.security.tools.policytool.ToolWindow.displayErrorDialog:(Ljava/awt/Window;Ljava/lang/Throwable;)V
8: .line 3545
return
9: .line 3547
StackMap locals: sun.security.tools.policytool.TaggedList int
StackMap stack:
aload 0 /* this */
getfield sun.security.tools.policytool.EditPrinButtonListener.td:Lsun/security/tools/policytool/ToolDialog;
aload 0 /* this */
getfield sun.security.tools.policytool.EditPrinButtonListener.editPolicyEntry:Z
iconst_1
invokevirtual sun.security.tools.policytool.ToolDialog.displayPrincipalDialog:(ZZ)V
10: .line 3548
return
end local 3 // int prinIndex
end local 2 // sun.security.tools.policytool.TaggedList list
end local 1 // java.awt.event.ActionEvent e
end local 0 // sun.security.tools.policytool.EditPrinButtonListener this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/tools/policytool/EditPrinButtonListener;
0 11 1 e Ljava/awt/event/ActionEvent;
3 11 2 list Lsun/security/tools/policytool/TaggedList;
4 11 3 prinIndex I
MethodParameters:
Name Flags
e
public void mouseClicked(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // sun.security.tools.policytool.EditPrinButtonListener this
start local 1 // java.awt.event.MouseEvent evt
0: .line 3551
aload 1 /* evt */
invokevirtual java.awt.event.MouseEvent.getClickCount:()I
iconst_2
if_icmpne 2
1: .line 3552
aload 0 /* this */
aconst_null
invokevirtual sun.security.tools.policytool.EditPrinButtonListener.actionPerformed:(Ljava/awt/event/ActionEvent;)V
2: .line 3554
StackMap locals:
StackMap stack:
return
end local 1 // java.awt.event.MouseEvent evt
end local 0 // sun.security.tools.policytool.EditPrinButtonListener this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/tools/policytool/EditPrinButtonListener;
0 3 1 evt Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
evt
}
SourceFile: "PolicyTool.java"