public class io.github.vmzakharov.ecdataframe.ui.MemoryPanel extends javax.swing.JPanel
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.github.vmzakharov.ecdataframe.ui.MemoryPanel
super_class: javax.swing.JPanel
{
private final javax.swing.JTable variables;
descriptor: Ljavax/swing/JTable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.swing.JButton removeButton;
descriptor: Ljavax/swing/JButton;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.swing.JButton removeAllButton;
descriptor: Ljavax/swing/JButton;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.github.vmzakharov.ecdataframe.dsl.EvalContext storedContext;
descriptor: Lio/github/vmzakharov/ecdataframe/dsl/EvalContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.github.vmzakharov.ecdataframe.ui.MemoryPanel$VariableTableModel variableTableModel;
descriptor: Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel$VariableTableModel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.github.vmzakharov.ecdataframe.dsl.EvalContext);
descriptor: (Lio/github/vmzakharov/ecdataframe/dsl/EvalContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
new java.awt.BorderLayout
dup
invokespecial java.awt.BorderLayout.<init>:()V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
1: aload 0
aload 1
putfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.storedContext:Lio/github/vmzakharov/ecdataframe/dsl/EvalContext;
2: aload 0
new io.github.vmzakharov.ecdataframe.ui.MemoryPanel$VariableTableModel
dup
aload 0
invokespecial io.github.vmzakharov.ecdataframe.ui.MemoryPanel$VariableTableModel.<init>:(Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel;)V
putfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.variableTableModel:Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel$VariableTableModel;
3: aload 0
new javax.swing.JTable
dup
aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.variableTableModel:Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel$VariableTableModel;
invokespecial javax.swing.JTable.<init>:(Ljavax/swing/table/TableModel;)V
putfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.variables:Ljavax/swing/JTable;
4: aload 0
new javax.swing.JButton
dup
ldc "Remove"
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
putfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.removeButton:Ljavax/swing/JButton;
5: aload 0
new javax.swing.JButton
dup
ldc "Remove All"
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
putfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.removeAllButton:Ljavax/swing/JButton;
6: aload 0
invokevirtual io.github.vmzakharov.ecdataframe.ui.MemoryPanel.refreshVariableList:()V
7: aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.variables:Ljavax/swing/JTable;
iconst_2
invokevirtual javax.swing.JTable.setSelectionMode:(I)V
8: aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.variables:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getSelectionModel:()Ljavax/swing/ListSelectionModel;
9: aload 0
invokedynamic valueChanged(Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel;)Ljavax/swing/event/ListSelectionListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljavax/swing/event/ListSelectionEvent;)V
io/github/vmzakharov/ecdataframe/ui/MemoryPanel.lambda$0(Ljavax/swing/event/ListSelectionEvent;)V (7)
(Ljavax/swing/event/ListSelectionEvent;)V
invokeinterface javax.swing.ListSelectionModel.addListSelectionListener:(Ljavax/swing/event/ListSelectionListener;)V
10: new javax.swing.JScrollPane
dup
aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.variables:Ljavax/swing/JTable;
invokespecial javax.swing.JScrollPane.<init>:(Ljava/awt/Component;)V
astore 2
start local 2 11: aload 2
12: iconst_5
iconst_5
iconst_0
iconst_5
invokestatic javax.swing.BorderFactory.createEmptyBorder:(IIII)Ljavax/swing/border/Border;
13: getstatic java.awt.Color.BLACK:Ljava/awt/Color;
invokestatic javax.swing.BorderFactory.createLineBorder:(Ljava/awt/Color;)Ljavax/swing/border/Border;
14: invokestatic javax.swing.BorderFactory.createCompoundBorder:(Ljavax/swing/border/Border;Ljavax/swing/border/Border;)Ljavax/swing/border/CompoundBorder;
invokevirtual javax.swing.JScrollPane.setBorder:(Ljavax/swing/border/Border;)V
15: aload 0
aload 2
ldc "Center"
invokevirtual io.github.vmzakharov.ecdataframe.ui.MemoryPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
16: aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.variables:Ljavax/swing/JTable;
iconst_1
invokevirtual javax.swing.JTable.setFillsViewportHeight:(Z)V
17: new io.github.vmzakharov.ecdataframe.ui.ButtonPanel
dup
invokespecial io.github.vmzakharov.ecdataframe.ui.ButtonPanel.<init>:()V
astore 3
start local 3 18: aload 3
aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.removeButton:Ljavax/swing/JButton;
invokevirtual io.github.vmzakharov.ecdataframe.ui.ButtonPanel.addButton:(Ljavax/swing/JButton;)V
19: aload 3
aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.removeAllButton:Ljavax/swing/JButton;
invokevirtual io.github.vmzakharov.ecdataframe.ui.ButtonPanel.addButton:(Ljavax/swing/JButton;)V
20: aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.removeButton:Ljavax/swing/JButton;
iconst_0
invokevirtual javax.swing.JButton.setEnabled:(Z)V
21: aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.removeButton:Ljavax/swing/JButton;
aload 0
invokedynamic actionPerformed(Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel;)Ljava/awt/event/ActionListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/awt/event/ActionEvent;)V
io/github/vmzakharov/ecdataframe/ui/MemoryPanel.lambda$1(Ljava/awt/event/ActionEvent;)V (7)
(Ljava/awt/event/ActionEvent;)V
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
22: aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.removeAllButton:Ljavax/swing/JButton;
aload 0
invokedynamic actionPerformed(Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel;)Ljava/awt/event/ActionListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/awt/event/ActionEvent;)V
io/github/vmzakharov/ecdataframe/ui/MemoryPanel.lambda$2(Ljava/awt/event/ActionEvent;)V (7)
(Ljava/awt/event/ActionEvent;)V
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
23: aload 0
aload 3
ldc "South"
invokevirtual io.github.vmzakharov.ecdataframe.ui.MemoryPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
24: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel;
0 25 1 newStoredContext Lio/github/vmzakharov/ecdataframe/dsl/EvalContext;
11 25 2 scrollPane Ljavax/swing/JScrollPane;
18 25 3 buttonPanel Lio/github/vmzakharov/ecdataframe/ui/ButtonPanel;
MethodParameters:
Name Flags
newStoredContext
public void refreshVariableList();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.variableTableModel:Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel$VariableTableModel;
invokevirtual io.github.vmzakharov.ecdataframe.ui.MemoryPanel$VariableTableModel.fireTableDataChanged:()V
1: aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.removeAllButton:Ljavax/swing/JButton;
aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.variableTableModel:Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel$VariableTableModel;
invokevirtual io.github.vmzakharov.ecdataframe.ui.MemoryPanel$VariableTableModel.getRowCount:()I
ifle 2
iconst_1
goto 3
StackMap locals:
StackMap stack: javax.swing.JButton
2: iconst_0
StackMap locals: io.github.vmzakharov.ecdataframe.ui.MemoryPanel
StackMap stack: javax.swing.JButton int
3: invokevirtual javax.swing.JButton.setEnabled:(Z)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel;
private void lambda$0(javax.swing.event.ListSelectionEvent);
descriptor: (Ljavax/swing/event/ListSelectionEvent;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.removeButton:Ljavax/swing/JButton;
aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.variables:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getSelectedRowCount:()I
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack: javax.swing.JButton
1: iconst_0
StackMap locals: io.github.vmzakharov.ecdataframe.ui.MemoryPanel javax.swing.event.ListSelectionEvent
StackMap stack: javax.swing.JButton int
2: invokevirtual javax.swing.JButton.setEnabled:(Z)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel;
0 3 1 e Ljavax/swing/event/ListSelectionEvent;
private void lambda$1(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.variables:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getSelectedRows:()[I
astore 2
start local 2 1: aload 2
arraylength
iconst_1
isub
istore 3
start local 3 2: goto 6
3: StackMap locals: int[] int
StackMap stack:
aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.variableTableModel:Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel$VariableTableModel;
aload 2
iload 3
iaload
iconst_0
invokevirtual io.github.vmzakharov.ecdataframe.ui.MemoryPanel$VariableTableModel.getValueAt:(II)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 4: aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.storedContext:Lio/github/vmzakharov/ecdataframe/dsl/EvalContext;
aload 4
invokeinterface io.github.vmzakharov.ecdataframe.dsl.EvalContext.removeVariable:(Ljava/lang/String;)V
end local 4 5: iinc 3 -1
StackMap locals:
StackMap stack:
6: iload 3
ifge 3
end local 3 7: aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.variableTableModel:Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel$VariableTableModel;
invokevirtual io.github.vmzakharov.ecdataframe.ui.MemoryPanel$VariableTableModel.fireTableDataChanged:()V
end local 2 8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel;
0 9 1 e Ljava/awt/event/ActionEvent;
1 8 2 selectedRows [I
2 7 3 i I
4 5 4 removed Ljava/lang/String;
private void lambda$2(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.github.vmzakharov.ecdataframe.ui.MemoryPanel.storedContext:Lio/github/vmzakharov/ecdataframe/dsl/EvalContext;
invokeinterface io.github.vmzakharov.ecdataframe.dsl.EvalContext.removeAllVariables:()V
1: aload 0
invokevirtual io.github.vmzakharov.ecdataframe.ui.MemoryPanel.refreshVariableList:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/github/vmzakharov/ecdataframe/ui/MemoryPanel;
0 3 1 e Ljava/awt/event/ActionEvent;
}
SourceFile: "MemoryPanel.java"
NestMembers:
io.github.vmzakharov.ecdataframe.ui.MemoryPanel$VariableTableModel
InnerClasses:
private VariableTableModel = io.github.vmzakharov.ecdataframe.ui.MemoryPanel$VariableTableModel of io.github.vmzakharov.ecdataframe.ui.MemoryPanel
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles