class javax.swing.JComponent$KeyboardState implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.JComponent$KeyboardState
super_class: java.lang.Object
{
private static final java.lang.Object keyCodesKey;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljavax/swing/JComponent$KeyboardState;
1: putstatic javax.swing.JComponent$KeyboardState.keyCodesKey:Ljava/lang/Object;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JComponent$KeyboardState;
static javax.swing.JComponent$IntVector getKeyCodeArray();
descriptor: ()Ljavax/swing/JComponent$IntVector;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic javax.swing.JComponent$KeyboardState.keyCodesKey:Ljava/lang/Object;
invokestatic javax.swing.SwingUtilities.appContextGet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.JComponent$IntVector
1: astore 0
start local 0 2: aload 0
ifnonnull 5
3: new javax.swing.JComponent$IntVector
dup
invokespecial javax.swing.JComponent$IntVector.<init>:()V
astore 0
4: getstatic javax.swing.JComponent$KeyboardState.keyCodesKey:Ljava/lang/Object;
aload 0
invokestatic javax.swing.SwingUtilities.appContextPut:(Ljava/lang/Object;Ljava/lang/Object;)V
5: StackMap locals: javax.swing.JComponent$IntVector
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
2 6 0 iv Ljavax/swing/JComponent$IntVector;
static void registerKeyPressed(int);
descriptor: (I)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic javax.swing.JComponent$KeyboardState.getKeyCodeArray:()Ljavax/swing/JComponent$IntVector;
astore 1
start local 1 1: aload 1
invokevirtual javax.swing.JComponent$IntVector.size:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 8
4: StackMap locals: javax.swing.JComponent$IntVector int int
StackMap stack:
aload 1
iload 3
invokevirtual javax.swing.JComponent$IntVector.elementAt:(I)I
iconst_m1
if_icmpne 7
5: aload 1
iload 0
iload 3
invokevirtual javax.swing.JComponent$IntVector.setElementAt:(II)V
6: return
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 2
if_icmplt 4
9: aload 1
iload 0
invokevirtual javax.swing.JComponent$IntVector.addElement:(I)V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 keyCode I
1 11 1 kca Ljavax/swing/JComponent$IntVector;
2 11 2 count I
3 11 3 i I
MethodParameters:
Name Flags
keyCode
static void registerKeyReleased(int);
descriptor: (I)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic javax.swing.JComponent$KeyboardState.getKeyCodeArray:()Ljavax/swing/JComponent$IntVector;
astore 1
start local 1 1: aload 1
invokevirtual javax.swing.JComponent$IntVector.size:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 8
4: StackMap locals: javax.swing.JComponent$IntVector int int
StackMap stack:
aload 1
iload 3
invokevirtual javax.swing.JComponent$IntVector.elementAt:(I)I
iload 0
if_icmpne 7
5: aload 1
iconst_m1
iload 3
invokevirtual javax.swing.JComponent$IntVector.setElementAt:(II)V
6: return
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 2
if_icmplt 4
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 keyCode I
1 10 1 kca Ljavax/swing/JComponent$IntVector;
2 10 2 count I
3 10 3 i I
MethodParameters:
Name Flags
keyCode
static boolean keyIsPressed(int);
descriptor: (I)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: invokestatic javax.swing.JComponent$KeyboardState.getKeyCodeArray:()Ljavax/swing/JComponent$IntVector;
astore 1
start local 1 1: aload 1
invokevirtual javax.swing.JComponent$IntVector.size:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: javax.swing.JComponent$IntVector int int
StackMap stack:
aload 1
iload 3
invokevirtual javax.swing.JComponent$IntVector.elementAt:(I)I
iload 0
if_icmpne 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 4
8: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 keyCode I
1 9 1 kca Ljavax/swing/JComponent$IntVector;
2 9 2 count I
3 9 3 i I
MethodParameters:
Name Flags
keyCode
static boolean shouldProcess(java.awt.event.KeyEvent);
descriptor: (Ljava/awt/event/KeyEvent;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.event.KeyEvent.getID:()I
tableswitch { // 400 - 402
400: 8
401: 1
402: 4
default: 9
}
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.event.KeyEvent.getKeyCode:()I
invokestatic javax.swing.JComponent$KeyboardState.keyIsPressed:(I)Z
ifne 3
2: aload 0
invokevirtual java.awt.event.KeyEvent.getKeyCode:()I
invokestatic javax.swing.JComponent$KeyboardState.registerKeyPressed:(I)V
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.event.KeyEvent.getKeyCode:()I
invokestatic javax.swing.JComponent$KeyboardState.keyIsPressed:(I)Z
ifne 5
aload 0
invokevirtual java.awt.event.KeyEvent.getKeyCode:()I
sipush 154
if_icmpne 7
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.event.KeyEvent.getKeyCode:()I
invokestatic javax.swing.JComponent$KeyboardState.registerKeyReleased:(I)V
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 e Ljava/awt/event/KeyEvent;
MethodParameters:
Name Flags
e
}
SourceFile: "JComponent.java"
NestHost: javax.swing.JComponent
InnerClasses:
final IntVector = javax.swing.JComponent$IntVector of javax.swing.JComponent
KeyboardState = javax.swing.JComponent$KeyboardState of javax.swing.JComponent