public abstract class sun.tools.jconsole.inspector.XOperations extends javax.swing.JPanel implements java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.tools.jconsole.inspector.XOperations
super_class: javax.swing.JPanel
{
public static final java.lang.String OPERATION_INVOCATION_EVENT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jam.xoperations.invoke.result"
private java.util.List<javax.management.NotificationListener> notificationListenersList;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljavax/management/NotificationListener;>;
private java.util.Hashtable<javax.swing.JButton, sun.tools.jconsole.inspector.OperationEntry> operationEntryTable;
descriptor: Ljava/util/Hashtable;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Hashtable<Ljavax/swing/JButton;Lsun/tools/jconsole/inspector/OperationEntry;>;
private sun.tools.jconsole.inspector.XMBean mbean;
descriptor: Lsun/tools/jconsole/inspector/XMBean;
flags: (0x0002) ACC_PRIVATE
private javax.management.MBeanInfo mbeanInfo;
descriptor: Ljavax/management/MBeanInfo;
flags: (0x0002) ACC_PRIVATE
private sun.tools.jconsole.MBeansTab mbeansTab;
descriptor: Lsun/tools/jconsole/MBeansTab;
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.tools.jconsole.MBeansTab);
descriptor: (Lsun/tools/jconsole/MBeansTab;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
new java.awt.GridLayout
dup
iconst_1
iconst_1
invokespecial java.awt.GridLayout.<init>:(II)V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
1: aload 0
aload 1
putfield sun.tools.jconsole.inspector.XOperations.mbeansTab:Lsun/tools/jconsole/MBeansTab;
2: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield sun.tools.jconsole.inspector.XOperations.operationEntryTable:Ljava/util/Hashtable;
3: new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
4: astore 2
start local 2 5: aload 0
6: aload 2
invokestatic java.util.Collections.synchronizedList:(Ljava/util/List;)Ljava/util/List;
7: putfield sun.tools.jconsole.inspector.XOperations.notificationListenersList:Ljava/util/List;
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/tools/jconsole/inspector/XOperations;
0 9 1 mbeansTab Lsun/tools/jconsole/MBeansTab;
5 9 2 l Ljava/util/ArrayList<Ljavax/management/NotificationListener;>;
MethodParameters:
Name Flags
mbeansTab
public void removeOperations();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.tools.jconsole.inspector.XOperations.removeAll:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/inspector/XOperations;
public void loadOperations(sun.tools.jconsole.inspector.XMBean, javax.management.MBeanInfo);
descriptor: (Lsun/tools/jconsole/inspector/XMBean;Ljavax/management/MBeanInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=16, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield sun.tools.jconsole.inspector.XOperations.mbean:Lsun/tools/jconsole/inspector/XMBean;
1: aload 0
aload 2
putfield sun.tools.jconsole.inspector.XOperations.mbeanInfo:Ljavax/management/MBeanInfo;
2: aload 2
invokevirtual javax.management.MBeanInfo.getOperations:()[Ljavax/management/MBeanOperationInfo;
astore 3
start local 3 3: aload 0
invokevirtual sun.tools.jconsole.inspector.XOperations.invalidate:()V
4: aload 0
invokevirtual sun.tools.jconsole.inspector.XOperations.getComponents:()[Ljava/awt/Component;
astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 10
7: StackMap locals: javax.management.MBeanOperationInfo[] java.awt.Component[] int
StackMap stack:
aload 4
iload 5
aaload
instanceof javax.swing.JButton
ifeq 9
8: aload 4
iload 5
aaload
checkcast javax.swing.JButton
aload 0
invokevirtual javax.swing.JButton.removeActionListener:(Ljava/awt/event/ActionListener;)V
9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
aload 4
arraylength
if_icmplt 7
end local 5 11: aload 0
invokevirtual sun.tools.jconsole.inspector.XOperations.removeAll:()V
12: aload 0
new java.awt.BorderLayout
dup
invokespecial java.awt.BorderLayout.<init>:()V
invokevirtual sun.tools.jconsole.inspector.XOperations.setLayout:(Ljava/awt/LayoutManager;)V
13: new javax.swing.JPanel
dup
new java.awt.GridLayout
dup
aload 3
arraylength
iconst_1
invokespecial java.awt.GridLayout.<init>:(II)V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
astore 9
start local 9 14: new javax.swing.JPanel
dup
new java.awt.GridLayout
dup
aload 3
arraylength
iconst_1
invokespecial java.awt.GridLayout.<init>:(II)V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
astore 10
start local 10 15: iconst_0
istore 11
start local 11 16: goto 64
17: StackMap locals: sun.tools.jconsole.inspector.XOperations sun.tools.jconsole.inspector.XMBean javax.management.MBeanInfo javax.management.MBeanOperationInfo[] java.awt.Component[] top top top top javax.swing.JPanel javax.swing.JPanel int
StackMap stack:
new javax.swing.JPanel
dup
new java.awt.FlowLayout
dup
iconst_2
invokespecial java.awt.FlowLayout.<init>:(I)V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
astore 7
start local 7 18: new javax.swing.JPanel
dup
new java.awt.FlowLayout
dup
iconst_0
invokespecial java.awt.FlowLayout.<init>:(I)V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
astore 8
start local 8 19: aload 3
iload 11
aaload
invokevirtual javax.management.MBeanOperationInfo.getReturnType:()Ljava/lang/String;
astore 12
start local 12 20: aload 12
ifnonnull 30
21: new javax.swing.JLabel
dup
ldc "null"
iconst_4
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;I)V
astore 6
start local 6 22: invokestatic sun.tools.jconsole.JConsole.isDebug:()Z
ifeq 33
23: getstatic java.lang.System.err:Ljava/io/PrintStream;
24: new java.lang.StringBuilder
dup
ldc "WARNING: The operation's return type shouldn't be \"null\". Check how the MBeanOperationInfo for the \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
25: aload 3
iload 11
aaload
invokevirtual javax.management.MBeanOperationInfo.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" operation has "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
26: ldc "been defined in the MBean's implementation code."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
27: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
28: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
29: goto 33
end local 6 30: StackMap locals: sun.tools.jconsole.inspector.XOperations sun.tools.jconsole.inspector.XMBean javax.management.MBeanInfo javax.management.MBeanOperationInfo[] java.awt.Component[] top top javax.swing.JPanel javax.swing.JPanel javax.swing.JPanel javax.swing.JPanel int java.lang.String
StackMap stack:
new javax.swing.JLabel
dup
31: aload 12
invokestatic sun.tools.jconsole.inspector.Utils.getReadableClassName:(Ljava/lang/String;)Ljava/lang/String;
iconst_4
32: invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;I)V
astore 6
start local 6 33: StackMap locals: sun.tools.jconsole.inspector.XOperations sun.tools.jconsole.inspector.XMBean javax.management.MBeanInfo javax.management.MBeanOperationInfo[] java.awt.Component[] top javax.swing.JLabel javax.swing.JPanel javax.swing.JPanel javax.swing.JPanel javax.swing.JPanel int java.lang.String
StackMap stack:
aload 7
aload 6
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
34: aload 6
invokevirtual javax.swing.JLabel.getText:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
bipush 20
if_icmple 42
35: aload 6
aload 6
invokevirtual javax.swing.JLabel.getText:()Ljava/lang/String;
36: aload 6
invokevirtual javax.swing.JLabel.getText:()Ljava/lang/String;
37: bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_1
38: iadd
39: aload 6
invokevirtual javax.swing.JLabel.getText:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
40: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
41: invokevirtual javax.swing.JLabel.setText:(Ljava/lang/String;)V
42: StackMap locals:
StackMap stack:
new javax.swing.JButton
dup
aload 3
iload 11
aaload
invokevirtual javax.management.MBeanOperationInfo.getName:()Ljava/lang/String;
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
astore 5
start local 5 43: aload 5
aload 3
iload 11
aaload
invokevirtual javax.management.MBeanOperationInfo.getDescription:()Ljava/lang/String;
invokevirtual javax.swing.JButton.setToolTipText:(Ljava/lang/String;)V
44: aload 0
aload 3
iload 11
aaload
invokevirtual javax.management.MBeanOperationInfo.getSignature:()[Ljavax/management/MBeanParameterInfo;
invokevirtual sun.tools.jconsole.inspector.XOperations.isCallable:([Ljavax/management/MBeanParameterInfo;)Z
istore 13
start local 13 45: iload 13
ifeq 48
46: aload 5
aload 0
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
47: goto 49
48: StackMap locals: sun.tools.jconsole.inspector.XOperations sun.tools.jconsole.inspector.XMBean javax.management.MBeanInfo javax.management.MBeanOperationInfo[] java.awt.Component[] javax.swing.JButton javax.swing.JLabel javax.swing.JPanel javax.swing.JPanel javax.swing.JPanel javax.swing.JPanel int java.lang.String int
StackMap stack:
aload 5
iconst_0
invokevirtual javax.swing.JButton.setEnabled:(Z)V
49: StackMap locals:
StackMap stack:
aload 3
iload 11
aaload
invokevirtual javax.management.MBeanOperationInfo.getSignature:()[Ljavax/management/MBeanParameterInfo;
astore 14
start local 14 50: new sun.tools.jconsole.inspector.OperationEntry
dup
aload 3
iload 11
aaload
51: iload 13
52: aload 5
53: aload 0
54: invokespecial sun.tools.jconsole.inspector.OperationEntry.<init>:(Ljavax/management/MBeanOperationInfo;ZLjavax/swing/JButton;Lsun/tools/jconsole/inspector/XOperations;)V
astore 15
start local 15 55: aload 0
getfield sun.tools.jconsole.inspector.XOperations.operationEntryTable:Ljava/util/Hashtable;
aload 5
aload 15
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
56: aload 8
aload 5
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
57: aload 14
arraylength
ifne 60
58: aload 8
new javax.swing.JLabel
dup
ldc "( )"
iconst_0
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;I)V
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
59: goto 61
60: StackMap locals: javax.management.MBeanParameterInfo[] sun.tools.jconsole.inspector.OperationEntry
StackMap stack:
aload 8
aload 15
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
61: StackMap locals:
StackMap stack:
aload 9
aload 7
ldc "West"
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
62: aload 10
aload 8
ldc "Center"
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
end local 15 end local 14 end local 13 end local 12 63: iinc 11 1
end local 8 end local 7 end local 6 end local 5 StackMap locals: sun.tools.jconsole.inspector.XOperations sun.tools.jconsole.inspector.XMBean javax.management.MBeanInfo javax.management.MBeanOperationInfo[] java.awt.Component[] top top top top javax.swing.JPanel javax.swing.JPanel int
StackMap stack:
64: iload 11
aload 3
arraylength
if_icmplt 17
end local 11 65: aload 0
aload 9
ldc "West"
invokevirtual sun.tools.jconsole.inspector.XOperations.add:(Ljava/awt/Component;Ljava/lang/Object;)V
66: aload 0
aload 10
ldc "Center"
invokevirtual sun.tools.jconsole.inspector.XOperations.add:(Ljava/awt/Component;Ljava/lang/Object;)V
67: aload 0
invokevirtual sun.tools.jconsole.inspector.XOperations.validate:()V
68: return
end local 10 end local 9 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 69 0 this Lsun/tools/jconsole/inspector/XOperations;
0 69 1 mbean Lsun/tools/jconsole/inspector/XMBean;
0 69 2 mbeanInfo Ljavax/management/MBeanInfo;
3 69 3 operations [Ljavax/management/MBeanOperationInfo;
5 69 4 listeners [Ljava/awt/Component;
6 11 5 i I
43 64 5 methodButton Ljavax/swing/JButton;
22 30 6 methodLabel Ljavax/swing/JLabel;
33 64 6 methodLabel Ljavax/swing/JLabel;
18 64 7 innerPanelLeft Ljavax/swing/JPanel;
19 64 8 innerPanelRight Ljavax/swing/JPanel;
14 69 9 outerPanelLeft Ljavax/swing/JPanel;
15 69 10 outerPanelRight Ljavax/swing/JPanel;
16 65 11 i I
20 63 12 returnType Ljava/lang/String;
45 63 13 callable Z
50 63 14 signature [Ljavax/management/MBeanParameterInfo;
55 63 15 paramEntry Lsun/tools/jconsole/inspector/OperationEntry;
MethodParameters:
Name Flags
mbean
mbeanInfo
private boolean isCallable(javax.management.MBeanParameterInfo[]);
descriptor: ([Ljavax/management/MBeanParameterInfo;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 1
iload 2
aaload
invokevirtual javax.management.MBeanParameterInfo.getType:()Ljava/lang/String;
invokestatic sun.tools.jconsole.inspector.Utils.isEditableType:(Ljava/lang/String;)Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmplt 2
end local 2 6: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/tools/jconsole/inspector/XOperations;
0 7 1 signature [Ljavax/management/MBeanParameterInfo;
1 6 2 i I
MethodParameters:
Name Flags
signature
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.awt.event.ActionEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JButton
invokevirtual sun.tools.jconsole.inspector.XOperations.performInvokeRequest:(Ljavax/swing/JButton;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/inspector/XOperations;
0 2 1 e Ljava/awt/event/ActionEvent;
MethodParameters:
Name Flags
e final
void performInvokeRequest(javax.swing.JButton);
descriptor: (Ljavax/swing/JButton;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.inspector.XOperations.operationEntryTable:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.tools.jconsole.inspector.OperationEntry
astore 2
start local 2 1: new sun.tools.jconsole.inspector.XOperations$1
dup
aload 0
aload 1
aload 2
invokespecial sun.tools.jconsole.inspector.XOperations$1.<init>:(Lsun/tools/jconsole/inspector/XOperations;Ljavax/swing/JButton;Lsun/tools/jconsole/inspector/OperationEntry;)V
2: invokevirtual sun.tools.jconsole.inspector.XOperations$1.execute:()V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/inspector/XOperations;
0 4 1 button Ljavax/swing/JButton;
1 4 2 entryIf Lsun/tools/jconsole/inspector/OperationEntry;
MethodParameters:
Name Flags
button final
public void addOperationsListener(javax.management.NotificationListener);
descriptor: (Ljavax/management/NotificationListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.inspector.XOperations.notificationListenersList:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/inspector/XOperations;
0 2 1 nl Ljavax/management/NotificationListener;
MethodParameters:
Name Flags
nl
public void removeOperationsListener(javax.management.NotificationListener);
descriptor: (Ljavax/management/NotificationListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.inspector.XOperations.notificationListenersList:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/inspector/XOperations;
0 2 1 nl Ljavax/management/NotificationListener;
MethodParameters:
Name Flags
nl
private void fireChangedNotification(java.lang.String, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new javax.management.Notification
dup
aload 1
aload 2
lconst_0
invokespecial javax.management.Notification.<init>:(Ljava/lang/String;Ljava/lang/Object;J)V
astore 4
start local 4 1: aload 0
getfield sun.tools.jconsole.inspector.XOperations.notificationListenersList:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 4
StackMap locals: sun.tools.jconsole.inspector.XOperations java.lang.String java.lang.Object java.lang.Object javax.management.Notification top java.util.Iterator
StackMap stack:
2: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.management.NotificationListener
astore 5
start local 5 3: aload 5
aload 4
aload 3
invokeinterface javax.management.NotificationListener.handleNotification:(Ljavax/management/Notification;Ljava/lang/Object;)V
end local 5 4: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/jconsole/inspector/XOperations;
0 6 1 type Ljava/lang/String;
0 6 2 source Ljava/lang/Object;
0 6 3 handback Ljava/lang/Object;
1 6 4 n Ljavax/management/Notification;
3 4 5 nl Ljavax/management/NotificationListener;
MethodParameters:
Name Flags
type
source
handback
protected abstract javax.management.MBeanOperationInfo[] updateOperations(javax.management.MBeanOperationInfo[]);
descriptor: ([Ljavax/management/MBeanOperationInfo;)[Ljavax/management/MBeanOperationInfo;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
operations
}
SourceFile: "XOperations.java"
NestMembers:
sun.tools.jconsole.inspector.XOperations$1
InnerClasses:
sun.tools.jconsole.inspector.XOperations$1