class com.sun.tools.example.debug.gui.LaunchTool$2 implements java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.example.debug.gui.LaunchTool$2
super_class: java.lang.Object
{
final com.sun.tools.example.debug.gui.LaunchTool this$0;
descriptor: Lcom/sun/tools/example/debug/gui/LaunchTool;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.util.List val$argReps;
descriptor: Ljava/util/List;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final javax.swing.JDialog val$dialog;
descriptor: Ljavax/swing/JDialog;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.sun.jdi.connect.Connector val$connector;
descriptor: Lcom/sun/jdi/connect/Connector;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.Map val$args;
descriptor: Ljava/util/Map;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.tools.example.debug.gui.LaunchTool, java.util.List, javax.swing.JDialog, com.sun.jdi.connect.Connector, java.util.Map);
descriptor: (Lcom/sun/tools/example/debug/gui/LaunchTool;Ljava/util/List;Ljavax/swing/JDialog;Lcom/sun/jdi/connect/Connector;Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=6
start local 0 0: aload 0
aload 1
putfield com.sun.tools.example.debug.gui.LaunchTool$2.this$0:Lcom/sun/tools/example/debug/gui/LaunchTool;
aload 0
aload 2
putfield com.sun.tools.example.debug.gui.LaunchTool$2.val$argReps:Ljava/util/List;
aload 0
aload 3
putfield com.sun.tools.example.debug.gui.LaunchTool$2.val$dialog:Ljavax/swing/JDialog;
aload 0
aload 4
putfield com.sun.tools.example.debug.gui.LaunchTool$2.val$connector:Lcom/sun/jdi/connect/Connector;
aload 0
aload 5
putfield com.sun.tools.example.debug.gui.LaunchTool$2.val$args:Ljava/util/Map;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/gui/LaunchTool$2;
MethodParameters:
Name Flags
this$0 final
val$argReps final
val$dialog final
val$connector final
val$args final
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.gui.LaunchTool$2.val$argReps:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 20
StackMap locals: com.sun.tools.example.debug.gui.LaunchTool$2 java.awt.event.ActionEvent top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.example.debug.gui.LaunchTool$ArgRep
astore 2
start local 2 2: aload 2
invokevirtual com.sun.tools.example.debug.gui.LaunchTool$ArgRep.isSpecified:()Z
ifne 10
3: aload 0
getfield com.sun.tools.example.debug.gui.LaunchTool$2.val$dialog:Ljavax/swing/JDialog;
4: new java.lang.StringBuilder
dup
aload 2
getfield com.sun.tools.example.debug.gui.LaunchTool$ArgRep.arg:Lcom/sun/jdi/connect/Connector$Argument;
invokeinterface com.sun.jdi.connect.Connector$Argument.label:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: ldc ": Argument must be specified"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: ldc "No argument"
iconst_0
8: invokestatic javax.swing.JOptionPane.showMessageDialog:(Ljava/awt/Component;Ljava/lang/Object;Ljava/lang/String;I)V
9: return
10: StackMap locals: com.sun.tools.example.debug.gui.LaunchTool$2 java.awt.event.ActionEvent com.sun.tools.example.debug.gui.LaunchTool$ArgRep java.util.Iterator
StackMap stack:
aload 2
invokevirtual com.sun.tools.example.debug.gui.LaunchTool$ArgRep.isValid:()Z
ifne 19
11: aload 0
getfield com.sun.tools.example.debug.gui.LaunchTool$2.val$dialog:Ljavax/swing/JDialog;
12: new java.lang.StringBuilder
dup
aload 2
getfield com.sun.tools.example.debug.gui.LaunchTool$ArgRep.arg:Lcom/sun/jdi/connect/Connector$Argument;
invokeinterface com.sun.jdi.connect.Connector$Argument.label:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
13: ldc ": Bad argument value: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: aload 2
invokevirtual com.sun.tools.example.debug.gui.LaunchTool$ArgRep.getText:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: ldc "Bad argument"
iconst_0
17: invokestatic javax.swing.JOptionPane.showMessageDialog:(Ljava/awt/Component;Ljava/lang/Object;Ljava/lang/String;I)V
18: return
19: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.tools.example.debug.gui.LaunchTool$ArgRep.install:()V
end local 2 20: StackMap locals: com.sun.tools.example.debug.gui.LaunchTool$2 java.awt.event.ActionEvent top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
21: aload 0
getfield com.sun.tools.example.debug.gui.LaunchTool$2.this$0:Lcom/sun/tools/example/debug/gui/LaunchTool;
getfield com.sun.tools.example.debug.gui.LaunchTool.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 0
getfield com.sun.tools.example.debug.gui.LaunchTool$2.val$connector:Lcom/sun/jdi/connect/Connector;
aload 0
getfield com.sun.tools.example.debug.gui.LaunchTool$2.val$args:Ljava/util/Map;
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.explictStart:(Lcom/sun/jdi/connect/Connector;Ljava/util/Map;)Z
ifeq 25
22: aload 0
getfield com.sun.tools.example.debug.gui.LaunchTool$2.val$dialog:Ljavax/swing/JDialog;
iconst_0
invokevirtual javax.swing.JDialog.setVisible:(Z)V
23: aload 0
getfield com.sun.tools.example.debug.gui.LaunchTool$2.val$dialog:Ljavax/swing/JDialog;
invokevirtual javax.swing.JDialog.dispose:()V
24: goto 35
25: StackMap locals: com.sun.tools.example.debug.gui.LaunchTool$2 java.awt.event.ActionEvent
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.LaunchTool$2.val$dialog:Ljavax/swing/JDialog;
26: ldc "Bad arguments values: See diagnostics window."
27: ldc "Bad arguments"
iconst_0
28: invokestatic javax.swing.JOptionPane.showMessageDialog:(Ljava/awt/Component;Ljava/lang/Object;Ljava/lang/String;I)V
29: goto 35
StackMap locals:
StackMap stack: com.sun.tools.example.debug.bdi.VMLaunchFailureException
30: astore 2
start local 2 31: aload 0
getfield com.sun.tools.example.debug.gui.LaunchTool$2.val$dialog:Ljavax/swing/JDialog;
32: new java.lang.StringBuilder
dup
ldc "Launch Failure: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
33: ldc "Launch Failed"
iconst_0
34: invokestatic javax.swing.JOptionPane.showMessageDialog:(Ljava/awt/Component;Ljava/lang/Object;Ljava/lang/String;I)V
end local 2 35: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lcom/sun/tools/example/debug/gui/LaunchTool$2;
0 36 1 event Ljava/awt/event/ActionEvent;
2 20 2 ar Lcom/sun/tools/example/debug/gui/LaunchTool$ArgRep;
31 35 2 exc Lcom/sun/tools/example/debug/bdi/VMLaunchFailureException;
Exception table:
from to target type
21 29 30 Class com.sun.tools.example.debug.bdi.VMLaunchFailureException
MethodParameters:
Name Flags
event
}
SourceFile: "LaunchTool.java"
EnclosingMethod: com.sun.tools.example.debug.gui.LaunchTool.configureAndConnect:(Lcom/sun/jdi/connect/Connector;)V
NestHost: com.sun.tools.example.debug.gui.LaunchTool
InnerClasses:
public abstract Argument = com.sun.jdi.connect.Connector$Argument of com.sun.jdi.connect.Connector
com.sun.tools.example.debug.gui.LaunchTool$2
private abstract ArgRep = com.sun.tools.example.debug.gui.LaunchTool$ArgRep of com.sun.tools.example.debug.gui.LaunchTool