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
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: ldc Ljavax/swing/KeyStroke;
invokestatic javax.swing.KeyStroke.registerSubclass:(Ljava/lang/Class;)V
2: iload 0
invokestatic javax.swing.KeyStroke.getAWTKeyStroke:(C)Ljava/awt/AWTKeyStroke;
checkcast javax.swing.KeyStroke
aload 1
monitorexit
3: areturn
4: StackMap locals: int java.lang.Class
StackMap stack: java.lang.Throwable
aload 1
monitorexit
5: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 keyChar C
Exception table:
from to target type
1 3 4 any
4 5 4 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()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
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: ldc Ljavax/swing/KeyStroke;
invokestatic javax.swing.KeyStroke.registerSubclass:(Ljava/lang/Class;)V
2: aload 0
iload 1
invokestatic javax.swing.KeyStroke.getAWTKeyStroke:(Ljava/lang/Character;I)Ljava/awt/AWTKeyStroke;
checkcast javax.swing.KeyStroke
aload 2
monitorexit
3: areturn
4: StackMap locals: java.lang.Character int java.lang.Class
StackMap stack: java.lang.Throwable
aload 2
monitorexit
5: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 keyChar Ljava/lang/Character;
0 6 1 modifiers I
Exception table:
from to target type
1 3 4 any
4 5 4 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: ldc Ljavax/swing/KeyStroke;
invokestatic javax.swing.KeyStroke.registerSubclass:(Ljava/lang/Class;)V
2: iload 0
iload 1
3: iload 2
4: invokestatic javax.swing.KeyStroke.getAWTKeyStroke:(IIZ)Ljava/awt/AWTKeyStroke;
checkcast javax.swing.KeyStroke
aload 3
monitorexit
5: areturn
6: StackMap locals: int int int java.lang.Class
StackMap stack: java.lang.Throwable
aload 3
monitorexit
7: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 keyCode I
0 8 1 modifiers I
0 8 2 onKeyRelease Z
Exception table:
from to target type
1 5 6 any
6 7 6 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: ldc Ljavax/swing/KeyStroke;
invokestatic javax.swing.KeyStroke.registerSubclass:(Ljava/lang/Class;)V
2: iload 0
iload 1
invokestatic javax.swing.KeyStroke.getAWTKeyStroke:(II)Ljava/awt/AWTKeyStroke;
checkcast javax.swing.KeyStroke
aload 2
monitorexit
3: areturn
4: StackMap locals: int int java.lang.Class
StackMap stack: java.lang.Throwable
aload 2
monitorexit
5: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 keyCode I
0 6 1 modifiers I
Exception table:
from to target type
1 3 4 any
4 5 4 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: ldc Ljavax/swing/KeyStroke;
invokestatic javax.swing.KeyStroke.registerSubclass:(Ljava/lang/Class;)V
2: aload 0
invokestatic javax.swing.KeyStroke.getAWTKeyStrokeForEvent:(Ljava/awt/event/KeyEvent;)Ljava/awt/AWTKeyStroke;
checkcast javax.swing.KeyStroke
aload 1
monitorexit
3: areturn
4: StackMap locals: java.awt.event.KeyEvent java.lang.Class
StackMap stack: java.lang.Throwable
aload 1
monitorexit
5: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 anEvent Ljava/awt/event/KeyEvent;
Exception table:
from to target type
1 3 4 any
4 5 4 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: ldc Ljavax/swing/KeyStroke;
invokestatic javax.swing.KeyStroke.registerSubclass:(Ljava/lang/Class;)V
4: aload 0
invokestatic javax.swing.KeyStroke.getAWTKeyStroke:(Ljava/lang/String;)Ljava/awt/AWTKeyStroke;
checkcast javax.swing.KeyStroke
5: aload 1
monitorexit
6: areturn
7: StackMap locals: java.lang.String java.lang.Class
StackMap stack: java.lang.IllegalArgumentException
pop
8: aload 1
monitorexit
9: aconst_null
areturn
10: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
11: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 s Ljava/lang/String;
Exception table:
from to target type
4 5 7 Class java.lang.IllegalArgumentException
3 6 10 any
7 9 10 any
10 11 10 any
MethodParameters:
Name Flags
s
}
SourceFile: "KeyStroke.java"