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);
descriptor: (Ljava/lang/String;ZI)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.sun.tools.example.debug.tty.VMConnection
dup
aload 0
iload 2
invokespecial com.sun.tools.example.debug.tty.VMConnection.<init>:(Ljava/lang/String;I)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 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
MethodParameters:
Name Flags
connectSpec
openNow
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.*"
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.StringBuffer
dup
invokespecial java.lang.StringBuffer.<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.StringBuffer 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.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
4: aload 0
ldc ","
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
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.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 7 0 buffer Ljava/lang/StringBuffer;
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 com.sun.tools.example.debug.tty.Env.toHex:(J)Ljava/lang/String;
areturn
4: StackMap locals: com.sun.jdi.ReferenceType long
StackMap stack:
ldc "object description and hex 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 com.sun.tools.example.debug.tty.Env.toHex:(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 java.lang.String toHex(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: bipush 16
newarray 5
astore 2
start local 2 1: bipush 18
newarray 5
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: StackMap locals: char[] char[] int
StackMap stack:
lload 0
ldc 15
land
lstore 5
start local 5 4: aload 2
iload 4
iinc 4 1
lload 5
ldc 10
lcmp
ifge 5
ldc 48
lload 5
ladd
goto 6
StackMap locals: long char[] char[] int long
StackMap stack: char[] int
5: ldc 97
lload 5
ladd
ldc 10
lsub
StackMap locals: long char[] char[] int long
StackMap stack: char[] int long
6: l2i
i2c
castore
end local 5 7: lload 0
iconst_4
lushr
dup2
lstore 0
lconst_0
8: lcmp
ifgt 3
9: aload 3
iconst_0
bipush 48
castore
10: aload 3
iconst_1
bipush 120
castore
11: iconst_2
istore 5
start local 5 12: goto 14
13: StackMap locals: long char[] char[] int int
StackMap stack:
aload 3
iload 5
iinc 5 1
aload 2
iload 4
caload
castore
14: StackMap locals:
StackMap stack:
iinc 4 -1
iload 4
ifge 13
15: new java.lang.String
dup
aload 3
iconst_0
iload 5
invokespecial java.lang.String.<init>:([CII)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 n J
1 16 2 s1 [C
2 16 3 s2 [C
3 16 4 i I
4 7 5 d J
12 16 5 j I
MethodParameters:
Name Flags
n
static long fromHex(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
ldc "0x"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
goto 3
StackMap locals:
StackMap stack:
2: aload 0
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
3: StackMap locals:
StackMap stack: java.lang.String
astore 1
start local 1 4: aload 0
invokevirtual java.lang.String.length:()I
ifne 6
5: new java.lang.NumberFormatException
dup
invokespecial java.lang.NumberFormatException.<init>:()V
athrow
6: StackMap locals: java.lang.String
StackMap stack:
lconst_0
lstore 2
start local 2 7: iconst_0
istore 4
start local 4 8: goto 18
9: StackMap locals: long int
StackMap stack:
aload 1
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 10: iload 5
bipush 48
if_icmplt 13
iload 5
bipush 57
if_icmpgt 13
11: lload 2
ldc 16
lmul
iload 5
bipush 48
isub
i2l
ladd
lstore 2
12: goto 17
StackMap locals: int
StackMap stack:
13: iload 5
bipush 97
if_icmplt 16
iload 5
bipush 102
if_icmpgt 16
14: lload 2
ldc 16
lmul
iload 5
bipush 97
isub
bipush 10
iadd
i2l
ladd
lstore 2
15: goto 17
16: StackMap locals:
StackMap stack:
new java.lang.NumberFormatException
dup
invokespecial java.lang.NumberFormatException.<init>:()V
athrow
end local 5 17: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
18: iload 4
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 9
end local 4 19: lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 hexStr Ljava/lang/String;
4 20 1 str Ljava/lang/String;
7 20 2 ret J
8 19 4 i I
10 17 5 c I
MethodParameters:
Name Flags
hexStr
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