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=6, 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: iconst_0
istore 3
start local 3 2: goto 9
3: StackMap locals: java.util.Hashtable int
StackMap stack:
aload 0
iload 3
aaload
astore 4
start local 4 4: aload 4
ldc "Name"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 5: aload 2
aload 5
ifnull 6
aload 5
goto 7
StackMap locals: javax.swing.Action[] javax.swing.Action[] java.util.Hashtable int javax.swing.Action java.lang.String
StackMap stack: java.util.Hashtable
6: ldc ""
StackMap locals: javax.swing.Action[] javax.swing.Action[] java.util.Hashtable int javax.swing.Action java.lang.String
StackMap stack: java.util.Hashtable java.lang.String
7: aload 4
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 8: iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 0
arraylength
if_icmplt 3
end local 3 10: iconst_0
istore 3
start local 3 11: goto 18
12: StackMap locals:
StackMap stack:
aload 1
iload 3
aaload
astore 4
start local 4 13: aload 4
ldc "Name"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 14: aload 2
aload 5
ifnull 15
aload 5
goto 16
StackMap locals: javax.swing.Action[] javax.swing.Action[] java.util.Hashtable int javax.swing.Action java.lang.String
StackMap stack: java.util.Hashtable
15: ldc ""
StackMap locals: javax.swing.Action[] javax.swing.Action[] java.util.Hashtable int javax.swing.Action java.lang.String
StackMap stack: java.util.Hashtable java.lang.String
16: aload 4
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 17: iinc 3 1
StackMap locals:
StackMap stack:
18: iload 3
aload 1
arraylength
if_icmplt 12
end local 3 19: aload 2
invokevirtual java.util.Hashtable.size:()I
anewarray javax.swing.Action
astore 3
start local 3 20: iconst_0
istore 4
start local 4 21: aload 2
invokevirtual java.util.Hashtable.elements:()Ljava/util/Enumeration;
astore 5
start local 5 22: goto 24
23: 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
24: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 23
end local 5 25: 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 26 0 list1 [Ljavax/swing/Action;
0 26 1 list2 [Ljavax/swing/Action;
1 26 2 h Ljava/util/Hashtable;
2 10 3 i I
4 8 4 a Ljavax/swing/Action;
5 8 5 value Ljava/lang/String;
11 19 3 i I
13 17 4 a Ljavax/swing/Action;
14 17 5 value Ljava/lang/String;
20 26 3 actions [Ljavax/swing/Action;
21 26 4 index I
22 25 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"