public abstract class com.sun.java.swing.action.ActionManager
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.java.swing.action.ActionManager
super_class: java.lang.Object
{
private java.util.HashMap<java.lang.String, javax.swing.Action> actions;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljavax/swing/Action;>;
private static com.sun.java.swing.action.ActionUtilities utilities;
descriptor: Lcom/sun/java/swing/action/ActionUtilities;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static com.sun.java.swing.action.ActionManager manager;
descriptor: Lcom/sun/java/swing/action/ActionManager;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.java.swing.action.ActionUtilities
dup
invokespecial com.sun.java.swing.action.ActionUtilities.<init>:()V
putstatic com.sun.java.swing.action.ActionManager.utilities:Lcom/sun/java/swing/action/ActionUtilities;
1: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.java.swing.action.ActionManager.actions:Ljava/util/HashMap;
2: aload 0
invokevirtual com.sun.java.swing.action.ActionManager.addActions:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/java/swing/action/ActionManager;
public static com.sun.java.swing.action.ActionManager getInstance();
descriptor: ()Lcom/sun/java/swing/action/ActionManager;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.java.swing.action.ActionManager.manager:Lcom/sun/java/swing/action/ActionManager;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected static void setInstance(com.sun.java.swing.action.ActionManager);
descriptor: (Lcom/sun/java/swing/action/ActionManager;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic com.sun.java.swing.action.ActionManager.manager:Lcom/sun/java/swing/action/ActionManager;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 m Lcom/sun/java/swing/action/ActionManager;
MethodParameters:
Name Flags
m
protected abstract void addActions();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected void addAction(java.lang.String, javax.swing.Action);
descriptor: (Ljava/lang/String;Ljavax/swing/Action;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.java.swing.action.ActionManager.actions:Ljava/util/HashMap;
aload 1
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/java/swing/action/ActionManager;
0 2 1 cmdname Ljava/lang/String;
0 2 2 action Ljavax/swing/Action;
MethodParameters:
Name Flags
cmdname
action
public javax.swing.Action getAction(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/swing/Action;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.java.swing.action.ActionManager.actions:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.Action
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/java/swing/action/ActionManager;
0 1 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public com.sun.java.swing.action.DelegateAction getDelegateAction(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/java/swing/action/DelegateAction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.java.swing.action.ActionManager.getAction:(Ljava/lang/String;)Ljavax/swing/Action;
astore 2
start local 2 1: aload 2
instanceof com.sun.java.swing.action.DelegateAction
ifeq 3
2: aload 2
checkcast com.sun.java.swing.action.DelegateAction
areturn
3: StackMap locals: javax.swing.Action
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/java/swing/action/ActionManager;
0 4 1 name Ljava/lang/String;
1 4 2 a Ljavax/swing/Action;
MethodParameters:
Name Flags
name
public com.sun.java.swing.action.StateChangeAction getStateChangeAction(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/java/swing/action/StateChangeAction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.java.swing.action.ActionManager.getAction:(Ljava/lang/String;)Ljavax/swing/Action;
astore 2
start local 2 1: aload 2
instanceof com.sun.java.swing.action.StateChangeAction
ifeq 3
2: aload 2
checkcast com.sun.java.swing.action.StateChangeAction
areturn
3: StackMap locals: javax.swing.Action
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/java/swing/action/ActionManager;
0 4 1 name Ljava/lang/String;
1 4 2 a Ljavax/swing/Action;
MethodParameters:
Name Flags
name
public static javax.swing.ImageIcon getIcon(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/swing/ImageIcon;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.java.swing.action.ActionManager.utilities:Lcom/sun/java/swing/action/ActionUtilities;
aload 0
invokevirtual com.sun.java.swing.action.ActionUtilities.getIcon:(Ljava/lang/String;)Ljavax/swing/ImageIcon;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void setActionEnabled(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.java.swing.action.ActionManager.getAction:(Ljava/lang/String;)Ljavax/swing/Action;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
iload 2
invokeinterface javax.swing.Action.setEnabled:(Z)V
3: StackMap locals: javax.swing.Action
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/java/swing/action/ActionManager;
0 4 1 name Ljava/lang/String;
0 4 2 enabled Z
1 4 3 action Ljavax/swing/Action;
MethodParameters:
Name Flags
name
enabled
}
SourceFile: "ActionManager.java"