public class sun.tools.jconsole.inspector.Utils$CopyKeyAdapter extends java.awt.event.KeyAdapter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jconsole.inspector.Utils$CopyKeyAdapter
super_class: java.awt.event.KeyAdapter
{
private static final java.lang.String defaultEditorKitCopyActionName;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "copy-to-clipboard"
private static final java.lang.String transferHandlerCopyActionName;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic javax.swing.TransferHandler.getCopyAction:()Ljavax/swing/Action;
ldc "Name"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
1: putstatic sun.tools.jconsole.inspector.Utils$CopyKeyAdapter.transferHandlerCopyActionName:Ljava/lang/String;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.awt.event.KeyAdapter.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/Utils$CopyKeyAdapter;
public void keyPressed(java.awt.event.KeyEvent);
descriptor: (Ljava/awt/event/KeyEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.KeyEvent.getKeyCode:()I
aload 1
invokevirtual java.awt.event.KeyEvent.getModifiers:()I
1: invokestatic javax.swing.KeyStroke.getKeyStroke:(II)Ljavax/swing/KeyStroke;
astore 2
start local 2 2: aload 1
invokevirtual java.awt.event.KeyEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JComponent
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 11
5: StackMap locals: javax.swing.KeyStroke javax.swing.JComponent int
StackMap stack:
aload 3
iload 4
invokevirtual javax.swing.JComponent.getInputMap:(I)Ljavax/swing/InputMap;
astore 5
start local 5 6: aload 5
aload 2
invokevirtual javax.swing.InputMap.get:(Ljavax/swing/KeyStroke;)Ljava/lang/Object;
astore 6
start local 6 7: ldc "copy-to-clipboard"
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
8: getstatic sun.tools.jconsole.inspector.Utils$CopyKeyAdapter.transferHandlerCopyActionName:Ljava/lang/String;
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: StackMap locals: javax.swing.InputMap java.lang.Object
StackMap stack:
return
end local 6 end local 5 10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iconst_3
if_icmplt 5
end local 4 12: getstatic sun.tools.jconsole.inspector.Utils.tableNavigationKeys:Ljava/util/Set;
aload 1
invokevirtual java.awt.event.KeyEvent.getKeyCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 14
13: aload 1
invokevirtual java.awt.event.KeyEvent.consume:()V
14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/tools/jconsole/inspector/Utils$CopyKeyAdapter;
0 15 1 e Ljava/awt/event/KeyEvent;
2 15 2 ks Ljavax/swing/KeyStroke;
3 15 3 comp Ljavax/swing/JComponent;
4 12 4 i I
6 10 5 im Ljavax/swing/InputMap;
7 10 6 key Ljava/lang/Object;
MethodParameters:
Name Flags
e
public void keyTyped(java.awt.event.KeyEvent);
descriptor: (Ljava/awt/event/KeyEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.KeyEvent.consume:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/inspector/Utils$CopyKeyAdapter;
0 2 1 e Ljava/awt/event/KeyEvent;
MethodParameters:
Name Flags
e
}
SourceFile: "Utils.java"
NestHost: sun.tools.jconsole.inspector.Utils
InnerClasses:
public CopyKeyAdapter = sun.tools.jconsole.inspector.Utils$CopyKeyAdapter of sun.tools.jconsole.inspector.Utils