class javax.swing.text.JTextComponent$KeymapWrapper extends javax.swing.InputMap
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.JTextComponent$KeymapWrapper
super_class: javax.swing.InputMap
{
static final java.lang.Object DefaultActionKey;
descriptor: Ljava/lang/Object;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private javax.swing.text.Keymap keymap;
descriptor: Ljavax/swing/text/Keymap;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic javax.swing.text.JTextComponent$KeymapWrapper.DefaultActionKey:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(javax.swing.text.Keymap);
descriptor: (Ljavax/swing/text/Keymap;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.InputMap.<init>:()V
1: aload 0
aload 1
putfield javax.swing.text.JTextComponent$KeymapWrapper.keymap:Ljavax/swing/text/Keymap;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/JTextComponent$KeymapWrapper;
0 3 1 keymap Ljavax/swing/text/Keymap;
MethodParameters:
Name Flags
keymap
public javax.swing.KeyStroke[] keys();
descriptor: ()[Ljavax/swing/KeyStroke;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.InputMap.keys:()[Ljavax/swing/KeyStroke;
astore 1
start local 1 1: aload 0
getfield javax.swing.text.JTextComponent$KeymapWrapper.keymap:Ljavax/swing/text/Keymap;
invokeinterface javax.swing.text.Keymap.getBoundKeyStrokes:()[Ljavax/swing/KeyStroke;
astore 2
start local 2 2: aload 1
ifnonnull 3
iconst_0
goto 4
StackMap locals: javax.swing.KeyStroke[] javax.swing.KeyStroke[]
StackMap stack:
3: aload 1
arraylength
StackMap locals:
StackMap stack: int
4: istore 3
start local 3 5: aload 2
ifnonnull 6
iconst_0
goto 7
StackMap locals: int
StackMap stack:
6: aload 2
arraylength
StackMap locals:
StackMap stack: int
7: istore 4
start local 4 8: iload 3
ifne 10
9: aload 2
areturn
10: StackMap locals: int
StackMap stack:
iload 4
ifne 12
11: aload 1
areturn
12: StackMap locals:
StackMap stack:
iload 3
iload 4
iadd
anewarray javax.swing.KeyStroke
astore 5
start local 5 13: aload 1
iconst_0
aload 5
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
14: aload 2
iconst_0
aload 5
iload 3
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
15: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/text/JTextComponent$KeymapWrapper;
1 16 1 sKeys [Ljavax/swing/KeyStroke;
2 16 2 keymapKeys [Ljavax/swing/KeyStroke;
5 16 3 sCount I
8 16 4 keymapCount I
13 16 5 retValue [Ljavax/swing/KeyStroke;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.JTextComponent$KeymapWrapper.keymap:Ljavax/swing/text/Keymap;
invokeinterface javax.swing.text.Keymap.getBoundKeyStrokes:()[Ljavax/swing/KeyStroke;
astore 1
start local 1 1: aload 1
ifnonnull 2
iconst_0
goto 3
2: StackMap locals: javax.swing.KeyStroke[]
StackMap stack:
aload 1
arraylength
3: StackMap locals:
StackMap stack: int
istore 2
start local 2 4: aload 0
invokespecial javax.swing.InputMap.size:()I
iload 2
iadd
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/JTextComponent$KeymapWrapper;
1 5 1 keymapStrokes [Ljavax/swing/KeyStroke;
4 5 2 keymapCount I
public java.lang.Object get(javax.swing.KeyStroke);
descriptor: (Ljavax/swing/KeyStroke;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.JTextComponent$KeymapWrapper.keymap:Ljavax/swing/text/Keymap;
aload 1
invokeinterface javax.swing.text.Keymap.getAction:(Ljavax/swing/KeyStroke;)Ljavax/swing/Action;
astore 2
start local 2 1: aload 2
ifnonnull 7
2: aload 0
aload 1
invokespecial javax.swing.InputMap.get:(Ljavax/swing/KeyStroke;)Ljava/lang/Object;
astore 2
3: aload 2
ifnonnull 7
4: aload 1
invokevirtual javax.swing.KeyStroke.getKeyChar:()C
ldc 65535
if_icmpeq 7
5: aload 0
getfield javax.swing.text.JTextComponent$KeymapWrapper.keymap:Ljavax/swing/text/Keymap;
invokeinterface javax.swing.text.Keymap.getDefaultAction:()Ljavax/swing/Action;
ifnull 7
6: getstatic javax.swing.text.JTextComponent$KeymapWrapper.DefaultActionKey:Ljava/lang/Object;
astore 2
7: StackMap locals: java.lang.Object
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/JTextComponent$KeymapWrapper;
0 8 1 keyStroke Ljavax/swing/KeyStroke;
1 8 2 retValue Ljava/lang/Object;
MethodParameters:
Name Flags
keyStroke
}
SourceFile: "JTextComponent.java"
NestHost: javax.swing.text.JTextComponent
InnerClasses:
KeymapWrapper = javax.swing.text.JTextComponent$KeymapWrapper of javax.swing.text.JTextComponent