public abstract class javax.swing.text.TextAction extends javax.swing.AbstractAction
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.swing.text.TextAction
super_class: javax.swing.AbstractAction
{
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.AbstractAction.<init>:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/TextAction;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
protected final javax.swing.text.JTextComponent getTextComponent(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)Ljavax/swing/text/JTextComponent;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 4
1: aload 1
invokevirtual java.awt.event.ActionEvent.getSource:()Ljava/lang/Object;
astore 2
start local 2 2: aload 2
instanceof javax.swing.text.JTextComponent
ifeq 4
3: aload 2
checkcast javax.swing.text.JTextComponent
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.TextAction.getFocusedComponent:()Ljavax/swing/text/JTextComponent;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/TextAction;
0 5 1 e Ljava/awt/event/ActionEvent;
2 4 2 o Ljava/lang/Object;
MethodParameters:
Name Flags
e
public static final javax.swing.Action[] augmentList(javax.swing.Action[], javax.swing.Action[]);
descriptor: ([Ljavax/swing/Action;[Ljavax/swing/Action;)[Ljavax/swing/Action;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
astore 2
start local 2 1: aload 0
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: javax.swing.Action[] javax.swing.Action[] java.util.Hashtable top int int javax.swing.Action[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 3
ldc "Name"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 4: aload 2
aload 7
ifnull 5
aload 7
goto 6
StackMap locals: javax.swing.Action[] javax.swing.Action[] java.util.Hashtable javax.swing.Action int int javax.swing.Action[] java.lang.String
StackMap stack: java.util.Hashtable
5: ldc ""
StackMap locals: javax.swing.Action[] javax.swing.Action[] java.util.Hashtable javax.swing.Action int int javax.swing.Action[] java.lang.String
StackMap stack: java.util.Hashtable java.lang.String
6: aload 3
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 3 7: iinc 4 1
StackMap locals: javax.swing.Action[] javax.swing.Action[] java.util.Hashtable top int int javax.swing.Action[]
StackMap stack:
8: iload 4
iload 5
if_icmplt 2
9: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 16
StackMap locals:
StackMap stack:
10: aload 6
iload 4
aaload
astore 3
start local 3 11: aload 3
ldc "Name"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 12: aload 2
aload 7
ifnull 13
aload 7
goto 14
StackMap locals: javax.swing.Action[] javax.swing.Action[] java.util.Hashtable javax.swing.Action int int javax.swing.Action[] java.lang.String
StackMap stack: java.util.Hashtable
13: ldc ""
StackMap locals: javax.swing.Action[] javax.swing.Action[] java.util.Hashtable javax.swing.Action int int javax.swing.Action[] java.lang.String
StackMap stack: java.util.Hashtable java.lang.String
14: aload 3
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 3 15: iinc 4 1
StackMap locals: javax.swing.Action[] javax.swing.Action[] java.util.Hashtable top int int javax.swing.Action[]
StackMap stack:
16: iload 4
iload 5
if_icmplt 10
17: aload 2
invokevirtual java.util.Hashtable.size:()I
anewarray javax.swing.Action
astore 3
start local 3 18: iconst_0
istore 4
start local 4 19: aload 2
invokevirtual java.util.Hashtable.elements:()Ljava/util/Enumeration;
astore 5
start local 5 20: goto 22
21: StackMap locals: javax.swing.Action[] javax.swing.Action[] java.util.Hashtable javax.swing.Action[] int java.util.Enumeration
StackMap stack:
aload 3
iload 4
iinc 4 1
aload 5
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast javax.swing.Action
aastore
22: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 21
end local 5 23: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 list1 [Ljavax/swing/Action;
0 24 1 list2 [Ljavax/swing/Action;
1 24 2 h Ljava/util/Hashtable<Ljava/lang/String;Ljavax/swing/Action;>;
3 7 3 a Ljavax/swing/Action;
4 7 7 value Ljava/lang/String;
11 15 3 a Ljavax/swing/Action;
12 15 7 value Ljava/lang/String;
18 24 3 actions [Ljavax/swing/Action;
19 24 4 index I
20 23 5 e Ljava/util/Enumeration;
MethodParameters:
Name Flags
list1
list2
protected final javax.swing.text.JTextComponent getFocusedComponent();
descriptor: ()Ljavax/swing/text/JTextComponent;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic javax.swing.text.JTextComponent.getFocusedComponent:()Ljavax/swing/text/JTextComponent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/TextAction;
}
SourceFile: "TextAction.java"