class com.sun.tools.example.debug.tty.Env
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.example.debug.tty.Env
super_class: java.lang.Object
{
static com.sun.tools.example.debug.tty.EventRequestSpecList specList;
descriptor: Lcom/sun/tools/example/debug/tty/EventRequestSpecList;
flags: (0x0008) ACC_STATIC
private static com.sun.tools.example.debug.tty.VMConnection connection;
descriptor: Lcom/sun/tools/example/debug/tty/VMConnection;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static com.sun.tools.example.debug.tty.SourceMapper sourceMapper;
descriptor: Lcom/sun/tools/example/debug/tty/SourceMapper;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.List<java.lang.String> excludes;
descriptor: Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/List<Ljava/lang/String;>;
private static final int SOURCE_CACHE_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private static java.util.List<com.sun.tools.example.debug.tty.Env$SourceCode> sourceCache;
descriptor: Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/List<Lcom/sun/tools/example/debug/tty/Env$SourceCode;>;
private static java.util.HashMap<java.lang.String, com.sun.jdi.Value> savedValues;
descriptor: Ljava/util/HashMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/HashMap<Ljava/lang/String;Lcom/sun/jdi/Value;>;
private static com.sun.jdi.Method atExitMethod;
descriptor: Lcom/sun/jdi/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.sun.tools.example.debug.tty.EventRequestSpecList
dup
invokespecial com.sun.tools.example.debug.tty.EventRequestSpecList.<init>:()V
putstatic com.sun.tools.example.debug.tty.Env.specList:Lcom/sun/tools/example/debug/tty/EventRequestSpecList;
1: new com.sun.tools.example.debug.tty.SourceMapper
dup
ldc ""
invokespecial com.sun.tools.example.debug.tty.SourceMapper.<init>:(Ljava/lang/String;)V
putstatic com.sun.tools.example.debug.tty.Env.sourceMapper:Lcom/sun/tools/example/debug/tty/SourceMapper;
2: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putstatic com.sun.tools.example.debug.tty.Env.sourceCache:Ljava/util/List;
3: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic com.sun.tools.example.debug.tty.Env.savedValues:Ljava/util/HashMap;
4: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: 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/tty/Env;
static void init(java.lang.String, boolean, int, java.lang.String);
descriptor: (Ljava/lang/String;ZILjava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new com.sun.tools.example.debug.tty.VMConnection
dup
aload 0
iload 2
aload 3
invokespecial com.sun.tools.example.debug.tty.VMConnection.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic com.sun.tools.example.debug.tty.Env.connection:Lcom/sun/tools/example/debug/tty/VMConnection;
1: getstatic com.sun.tools.example.debug.tty.Env.connection:Lcom/sun/tools/example/debug/tty/VMConnection;
invokevirtual com.sun.tools.example.debug.tty.VMConnection.isLaunch:()Z
ifeq 2
iload 1
ifeq 3
2: StackMap locals:
StackMap stack:
getstatic com.sun.tools.example.debug.tty.Env.connection:Lcom/sun/tools/example/debug/tty/VMConnection;
invokevirtual com.sun.tools.example.debug.tty.VMConnection.open:()Lcom/sun/jdi/VirtualMachine;
pop
3: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 connectSpec Ljava/lang/String;
0 4 1 openNow Z
0 4 2 flags I
0 4 3 extraOptions Ljava/lang/String;
MethodParameters:
Name Flags
connectSpec
openNow
flags
extraOptions
static void setTraceFlags(int);
descriptor: (I)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.tools.example.debug.tty.Env.connection:Lcom/sun/tools/example/debug/tty/VMConnection;
iload 0
invokevirtual com.sun.tools.example.debug.tty.VMConnection.setTraceFlags:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 flags I
MethodParameters:
Name Flags
flags
static com.sun.tools.example.debug.tty.VMConnection connection();
descriptor: ()Lcom/sun/tools/example/debug/tty/VMConnection;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.tools.example.debug.tty.Env.connection:Lcom/sun/tools/example/debug/tty/VMConnection;
areturn
LocalVariableTable:
Start End Slot Name Signature
static com.sun.jdi.VirtualMachine vm();
descriptor: ()Lcom/sun/jdi/VirtualMachine;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.tools.example.debug.tty.Env.connection:Lcom/sun/tools/example/debug/tty/VMConnection;
invokevirtual com.sun.tools.example.debug.tty.VMConnection.vm:()Lcom/sun/jdi/VirtualMachine;
areturn
LocalVariableTable:
Start End Slot Name Signature
static void shutdown();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
invokestatic com.sun.tools.example.debug.tty.Env.shutdown:(Ljava/lang/String;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
static void shutdown(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.sun.tools.example.debug.tty.Env.connection:Lcom/sun/tools/example/debug/tty/VMConnection;
ifnull 4
1: getstatic com.sun.tools.example.debug.tty.Env.connection:Lcom/sun/tools/example/debug/tty/VMConnection;
invokevirtual com.sun.tools.example.debug.tty.VMConnection.disposeVM:()V
2: goto 4
StackMap locals:
StackMap stack: com.sun.jdi.VMDisconnectedException
3: pop
4: StackMap locals:
StackMap stack:
aload 0
ifnull 7
5: aload 0
invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;)V
6: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:()V
7: StackMap locals:
StackMap stack:
iconst_0
invokestatic java.lang.System.exit:(I)V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 message Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class com.sun.jdi.VMDisconnectedException
MethodParameters:
Name Flags
message
static void setSourcePath(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.sun.tools.example.debug.tty.SourceMapper
dup
aload 0
invokespecial com.sun.tools.example.debug.tty.SourceMapper.<init>:(Ljava/lang/String;)V
putstatic com.sun.tools.example.debug.tty.Env.sourceMapper:Lcom/sun/tools/example/debug/tty/SourceMapper;
1: getstatic com.sun.tools.example.debug.tty.Env.sourceCache:Ljava/util/List;
invokeinterface java.util.List.clear:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 srcPath Ljava/lang/String;
MethodParameters:
Name Flags
srcPath
static void setSourcePath(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.sun.tools.example.debug.tty.SourceMapper
dup
aload 0
invokespecial com.sun.tools.example.debug.tty.SourceMapper.<init>:(Ljava/util/List;)V
putstatic com.sun.tools.example.debug.tty.Env.sourceMapper:Lcom/sun/tools/example/debug/tty/SourceMapper;
1: getstatic com.sun.tools.example.debug.tty.Env.sourceCache:Ljava/util/List;
invokeinterface java.util.List.clear:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 srcList Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
srcList
static java.lang.String getSourcePath();
descriptor: ()Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.tools.example.debug.tty.Env.sourceMapper:Lcom/sun/tools/example/debug/tty/SourceMapper;
invokevirtual com.sun.tools.example.debug.tty.SourceMapper.getSourcePath:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.util.List<java.lang.String> excludes();
descriptor: ()Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.tools.example.debug.tty.Env.excludes:Ljava/util/List;
ifnonnull 2
1: ldc "java.*, javax.*, sun.*, com.sun.*, jdk.*"
invokestatic com.sun.tools.example.debug.tty.Env.setExcludes:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
getstatic com.sun.tools.example.debug.tty.Env.excludes:Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/List<Ljava/lang/String;>;
static java.lang.String excludesString();
descriptor: ()Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=0
0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 0
start local 0 1: invokestatic com.sun.tools.example.debug.tty.Env.excludes:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 5
StackMap locals: java.lang.StringBuilder top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 3: aload 0
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 0
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 1 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 0
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 7 0 sb Ljava/lang/StringBuilder;
3 5 1 pattern Ljava/lang/String;
static void addExcludes(com.sun.jdi.request.StepRequest);
descriptor: (Lcom/sun/jdi/request/StepRequest;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: invokestatic com.sun.tools.example.debug.tty.Env.excludes:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: com.sun.jdi.request.StepRequest top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 2: aload 0
aload 1
invokeinterface com.sun.jdi.request.StepRequest.addClassExclusionFilter:(Ljava/lang/String;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 request Lcom/sun/jdi/request/StepRequest;
2 3 1 pattern Ljava/lang/String;
MethodParameters:
Name Flags
request
static void addExcludes(com.sun.jdi.request.MethodEntryRequest);
descriptor: (Lcom/sun/jdi/request/MethodEntryRequest;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: invokestatic com.sun.tools.example.debug.tty.Env.excludes:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: com.sun.jdi.request.MethodEntryRequest top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 2: aload 0
aload 1
invokeinterface com.sun.jdi.request.MethodEntryRequest.addClassExclusionFilter:(Ljava/lang/String;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 request Lcom/sun/jdi/request/MethodEntryRequest;
2 3 1 pattern Ljava/lang/String;
MethodParameters:
Name Flags
request
static void addExcludes(com.sun.jdi.request.MethodExitRequest);
descriptor: (Lcom/sun/jdi/request/MethodExitRequest;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: invokestatic com.sun.tools.example.debug.tty.Env.excludes:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: com.sun.jdi.request.MethodExitRequest top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 2: aload 0
aload 1
invokeinterface com.sun.jdi.request.MethodExitRequest.addClassExclusionFilter:(Ljava/lang/String;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 request Lcom/sun/jdi/request/MethodExitRequest;
2 3 1 pattern Ljava/lang/String;
MethodParameters:
Name Flags
request
static void setExcludes(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.util.StringTokenizer
dup
aload 0
ldc " ,;"
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 1
start local 1 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: goto 4
3: StackMap locals: java.util.StringTokenizer java.util.List
StackMap stack:
aload 2
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
5: aload 2
putstatic com.sun.tools.example.debug.tty.Env.excludes:Ljava/util/List;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 excludeString Ljava/lang/String;
1 7 1 t Ljava/util/StringTokenizer;
2 7 2 list Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
excludeString
static com.sun.jdi.Method atExitMethod();
descriptor: ()Lcom/sun/jdi/Method;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.tools.example.debug.tty.Env.atExitMethod:Lcom/sun/jdi/Method;
areturn
LocalVariableTable:
Start End Slot Name Signature
static void setAtExitMethod(com.sun.jdi.Method);
descriptor: (Lcom/sun/jdi/Method;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic com.sun.tools.example.debug.tty.Env.atExitMethod:Lcom/sun/jdi/Method;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 mmm Lcom/sun/jdi/Method;
MethodParameters:
Name Flags
mmm
static java.io.BufferedReader sourceReader(com.sun.jdi.Location);
descriptor: (Lcom/sun/jdi/Location;)Ljava/io/BufferedReader;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.tools.example.debug.tty.Env.sourceMapper:Lcom/sun/tools/example/debug/tty/SourceMapper;
aload 0
invokevirtual com.sun.tools.example.debug.tty.SourceMapper.sourceReader:(Lcom/sun/jdi/Location;)Ljava/io/BufferedReader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 location Lcom/sun/jdi/Location;
MethodParameters:
Name Flags
location
static synchronized java.lang.String sourceLine(com.sun.jdi.Location, int);
descriptor: (Lcom/sun/jdi/Location;I)Ljava/lang/String;
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: iload 1
iconst_m1
if_icmpne 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface com.sun.jdi.Location.sourceName:()Ljava/lang/String;
astore 2
start local 2 3: getstatic com.sun.tools.example.debug.tty.Env.sourceCache:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 4: aconst_null
astore 4
start local 4 5: goto 11
6: StackMap locals: java.lang.String java.util.Iterator com.sun.tools.example.debug.tty.Env$SourceCode
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.example.debug.tty.Env$SourceCode
astore 5
start local 5 7: aload 5
invokevirtual com.sun.tools.example.debug.tty.Env$SourceCode.fileName:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
8: aload 5
astore 4
9: aload 3
invokeinterface java.util.Iterator.remove:()V
10: goto 12
end local 5 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
12: StackMap locals:
StackMap stack:
aload 4
ifnonnull 19
13: aload 0
invokestatic com.sun.tools.example.debug.tty.Env.sourceReader:(Lcom/sun/jdi/Location;)Ljava/io/BufferedReader;
astore 5
start local 5 14: aload 5
ifnonnull 16
15: new java.io.FileNotFoundException
dup
aload 2
invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals: java.io.BufferedReader
StackMap stack:
new com.sun.tools.example.debug.tty.Env$SourceCode
dup
aload 2
aload 5
invokespecial com.sun.tools.example.debug.tty.Env$SourceCode.<init>:(Ljava/lang/String;Ljava/io/BufferedReader;)V
astore 4
17: getstatic com.sun.tools.example.debug.tty.Env.sourceCache:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_5
if_icmpne 19
18: getstatic com.sun.tools.example.debug.tty.Env.sourceCache:Ljava/util/List;
getstatic com.sun.tools.example.debug.tty.Env.sourceCache:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
end local 5 19: StackMap locals:
StackMap stack:
getstatic com.sun.tools.example.debug.tty.Env.sourceCache:Ljava/util/List;
iconst_0
aload 4
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
20: aload 4
iload 1
invokevirtual com.sun.tools.example.debug.tty.Env$SourceCode.sourceLine:(I)Ljava/lang/String;
21: areturn
end local 4 end local 3 end local 2 22: StackMap locals: com.sun.jdi.Location int
StackMap stack: com.sun.jdi.AbsentInformationException
pop
23: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 location Lcom/sun/jdi/Location;
0 24 1 lineNumber I
3 22 2 fileName Ljava/lang/String;
4 22 3 iter Ljava/util/Iterator<Lcom/sun/tools/example/debug/tty/Env$SourceCode;>;
5 22 4 code Lcom/sun/tools/example/debug/tty/Env$SourceCode;
7 11 5 candidate Lcom/sun/tools/example/debug/tty/Env$SourceCode;
14 19 5 reader Ljava/io/BufferedReader;
Exception table:
from to target type
2 21 22 Class com.sun.jdi.AbsentInformationException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
location
lineNumber
static java.lang.String description(com.sun.jdi.ObjectReference);
descriptor: (Lcom/sun/jdi/ObjectReference;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
invokeinterface com.sun.jdi.ObjectReference.referenceType:()Lcom/sun/jdi/ReferenceType;
astore 1
start local 1 1: aload 0
invokeinterface com.sun.jdi.ObjectReference.uniqueID:()J
lstore 2
start local 2 2: aload 1
ifnonnull 4
3: lload 2
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
areturn
4: StackMap locals: com.sun.jdi.ReferenceType long
StackMap stack:
ldc "object description and id"
5: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
aastore
dup
iconst_1
6: lload 2
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
aastore
7: invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 ref Lcom/sun/jdi/ObjectReference;
1 8 1 clazz Lcom/sun/jdi/ReferenceType;
2 8 2 id J
MethodParameters:
Name Flags
ref
static com.sun.jdi.ReferenceType getReferenceTypeFromToken(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/jdi/ReferenceType;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifeq 4
2: aconst_null
astore 1
3: goto 16
StackMap locals: com.sun.jdi.ReferenceType
StackMap stack:
4: aload 0
ldc "*."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
5: aload 0
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 0
6: invokestatic com.sun.tools.example.debug.tty.Env.vm:()Lcom/sun/jdi/VirtualMachine;
invokeinterface com.sun.jdi.VirtualMachine.allClasses:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals: java.lang.String com.sun.jdi.ReferenceType top java.util.Iterator
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.jdi.ReferenceType
astore 2
start local 2 8: aload 2
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
aload 0
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 11
9: aload 2
astore 1
10: goto 16
end local 2 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
12: goto 16
13: StackMap locals: java.lang.String com.sun.jdi.ReferenceType
StackMap stack:
invokestatic com.sun.tools.example.debug.tty.Env.vm:()Lcom/sun/jdi/VirtualMachine;
aload 0
invokeinterface com.sun.jdi.VirtualMachine.classesByName:(Ljava/lang/String;)Ljava/util/List;
astore 2
start local 2 14: aload 2
invokeinterface java.util.List.size:()I
ifle 16
15: aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.jdi.ReferenceType
astore 1
end local 2 16: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 idToken Ljava/lang/String;
1 17 1 cls Lcom/sun/jdi/ReferenceType;
8 11 2 type Lcom/sun/jdi/ReferenceType;
14 16 2 classes Ljava/util/List<Lcom/sun/jdi/ReferenceType;>;
MethodParameters:
Name Flags
idToken
static java.util.Set<java.lang.String> getSaveKeys();
descriptor: ()Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.tools.example.debug.tty.Env.savedValues:Ljava/util/HashMap;
invokevirtual java.util.HashMap.keySet:()Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
static com.sun.jdi.Value getSavedValue(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/jdi/Value;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.tools.example.debug.tty.Env.savedValues:Ljava/util/HashMap;
aload 0
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.jdi.Value
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
MethodParameters:
Name Flags
key
static void setSavedValue(java.lang.String, com.sun.jdi.Value);
descriptor: (Ljava/lang/String;Lcom/sun/jdi/Value;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.tools.example.debug.tty.Env.savedValues:Ljava/util/HashMap;
aload 0
aload 1
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 key Ljava/lang/String;
0 2 1 value Lcom/sun/jdi/Value;
MethodParameters:
Name Flags
key
value
}
SourceFile: "Env.java"
NestMembers:
com.sun.tools.example.debug.tty.Env$SourceCode
InnerClasses:
SourceCode = com.sun.tools.example.debug.tty.Env$SourceCode of com.sun.tools.example.debug.tty.Env