public class javax.swing.KeyStroke extends java.awt.AWTKeyStroke
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.KeyStroke
super_class: java.awt.AWTKeyStroke
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -9060180771037902530
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new javax.swing.KeyStroke$1
dup
invokespecial javax.swing.KeyStroke$1.<init>:()V
invokestatic sun.swing.SwingAccessor.setKeyStrokeAccessor:(Lsun/swing/SwingAccessor$KeyStrokeAccessor;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.awt.AWTKeyStroke.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/KeyStroke;
private void <init>(char, int, int, boolean);
descriptor: (CIIZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
iload 3
iload 4
invokespecial java.awt.AWTKeyStroke.<init>:(CIIZ)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/KeyStroke;
0 2 1 keyChar C
0 2 2 keyCode I
0 2 3 modifiers I
0 2 4 onKeyRelease Z
MethodParameters:
Name Flags
keyChar
keyCode
modifiers
onKeyRelease
public static javax.swing.KeyStroke getKeyStroke(char);
descriptor: (C)Ljavax/swing/KeyStroke;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: ldc Ljava/awt/AWTKeyStroke;
dup
astore 1
monitorenter
1: iload 0
invokestatic javax.swing.KeyStroke.getAWTKeyStroke:(C)Ljava/awt/AWTKeyStroke;
checkcast javax.swing.KeyStroke
aload 1
monitorexit
2: areturn
3: StackMap locals: int java.lang.Class
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 keyChar C
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
keyChar
public static javax.swing.KeyStroke getKeyStroke(char, boolean);
descriptor: (CZ)Ljavax/swing/KeyStroke;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new javax.swing.KeyStroke
dup
iload 0
iconst_0
iconst_0
iload 1
invokespecial javax.swing.KeyStroke.<init>:(CIIZ)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 keyChar C
0 1 1 onKeyRelease Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
keyChar
onKeyRelease
public static javax.swing.KeyStroke getKeyStroke(java.lang.Character, int);
descriptor: (Ljava/lang/Character;I)Ljavax/swing/KeyStroke;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: ldc Ljava/awt/AWTKeyStroke;
dup
astore 2
monitorenter
1: aload 0
iload 1
invokestatic javax.swing.KeyStroke.getAWTKeyStroke:(Ljava/lang/Character;I)Ljava/awt/AWTKeyStroke;
checkcast javax.swing.KeyStroke
aload 2
monitorexit
2: areturn
3: StackMap locals: java.lang.Character int java.lang.Class
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 keyChar Ljava/lang/Character;
0 5 1 modifiers I
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
keyChar
modifiers
public static javax.swing.KeyStroke getKeyStroke(int, int, boolean);
descriptor: (IIZ)Ljavax/swing/KeyStroke;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: ldc Ljava/awt/AWTKeyStroke;
dup
astore 3
monitorenter
1: iload 0
iload 1
2: iload 2
3: invokestatic javax.swing.KeyStroke.getAWTKeyStroke:(IIZ)Ljava/awt/AWTKeyStroke;
checkcast javax.swing.KeyStroke
aload 3
monitorexit
4: areturn
5: StackMap locals: int int int java.lang.Class
StackMap stack: java.lang.Throwable
aload 3
monitorexit
6: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 keyCode I
0 7 1 modifiers I
0 7 2 onKeyRelease Z
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
keyCode
modifiers
onKeyRelease
public static javax.swing.KeyStroke getKeyStroke(int, int);
descriptor: (II)Ljavax/swing/KeyStroke;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: ldc Ljava/awt/AWTKeyStroke;
dup
astore 2
monitorenter
1: iload 0
iload 1
invokestatic javax.swing.KeyStroke.getAWTKeyStroke:(II)Ljava/awt/AWTKeyStroke;
checkcast javax.swing.KeyStroke
aload 2
monitorexit
2: areturn
3: StackMap locals: int int java.lang.Class
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 keyCode I
0 5 1 modifiers I
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
keyCode
modifiers
public static javax.swing.KeyStroke getKeyStrokeForEvent(java.awt.event.KeyEvent);
descriptor: (Ljava/awt/event/KeyEvent;)Ljavax/swing/KeyStroke;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: ldc Ljava/awt/AWTKeyStroke;
dup
astore 1
monitorenter
1: aload 0
invokestatic javax.swing.KeyStroke.getAWTKeyStrokeForEvent:(Ljava/awt/event/KeyEvent;)Ljava/awt/AWTKeyStroke;
checkcast javax.swing.KeyStroke
aload 1
monitorexit
2: areturn
3: StackMap locals: java.awt.event.KeyEvent java.lang.Class
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 anEvent Ljava/awt/event/KeyEvent;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
anEvent
public static javax.swing.KeyStroke getKeyStroke(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/swing/KeyStroke;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
ldc Ljava/awt/AWTKeyStroke;
dup
astore 1
monitorenter
3: aload 0
invokestatic javax.swing.KeyStroke.getAWTKeyStroke:(Ljava/lang/String;)Ljava/awt/AWTKeyStroke;
checkcast javax.swing.KeyStroke
4: aload 1
monitorexit
5: areturn
6: StackMap locals: java.lang.String java.lang.Class
StackMap stack: java.lang.IllegalArgumentException
pop
7: aload 1
monitorexit
8: aconst_null
areturn
9: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
10: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 s Ljava/lang/String;
Exception table:
from to target type
3 4 6 Class java.lang.IllegalArgumentException
3 5 9 any
6 8 9 any
9 10 9 any
MethodParameters:
Name Flags
s
}
SourceFile: "KeyStroke.java"
NestMembers:
javax.swing.KeyStroke$1
InnerClasses:
javax.swing.KeyStroke$1
public abstract KeyStrokeAccessor = sun.swing.SwingAccessor$KeyStrokeAccessor of sun.swing.SwingAccessor