class com.sun.tools.example.debug.tty.BreakpointSpec extends com.sun.tools.example.debug.tty.EventRequestSpec
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.example.debug.tty.BreakpointSpec
super_class: com.sun.tools.example.debug.tty.EventRequestSpec
{
java.lang.String methodId;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.util.List<java.lang.String> methodArgs;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljava/lang/String;>;
int lineNumber;
descriptor: I
flags: (0x0000)
void <init>(com.sun.tools.example.debug.tty.ReferenceTypeSpec, int);
descriptor: (Lcom/sun/tools/example/debug/tty/ReferenceTypeSpec;I)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial com.sun.tools.example.debug.tty.EventRequestSpec.<init>:(Lcom/sun/tools/example/debug/tty/ReferenceTypeSpec;)V
1: aload 0
aconst_null
putfield com.sun.tools.example.debug.tty.BreakpointSpec.methodId:Ljava/lang/String;
2: aload 0
aconst_null
putfield com.sun.tools.example.debug.tty.BreakpointSpec.methodArgs:Ljava/util/List;
3: aload 0
iload 2
putfield com.sun.tools.example.debug.tty.BreakpointSpec.lineNumber:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
0 5 1 refSpec Lcom/sun/tools/example/debug/tty/ReferenceTypeSpec;
0 5 2 lineNumber I
MethodParameters:
Name Flags
refSpec
lineNumber
void <init>(com.sun.tools.example.debug.tty.ReferenceTypeSpec, java.lang.String, java.util.List<java.lang.String>);
descriptor: (Lcom/sun/tools/example/debug/tty/ReferenceTypeSpec;Ljava/lang/String;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial com.sun.tools.example.debug.tty.EventRequestSpec.<init>:(Lcom/sun/tools/example/debug/tty/ReferenceTypeSpec;)V
1: aload 0
aload 2
putfield com.sun.tools.example.debug.tty.BreakpointSpec.methodId:Ljava/lang/String;
2: aload 0
aload 3
putfield com.sun.tools.example.debug.tty.BreakpointSpec.methodArgs:Ljava/util/List;
3: aload 0
iconst_0
putfield com.sun.tools.example.debug.tty.BreakpointSpec.lineNumber:I
4: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.isValidMethodName:(Ljava/lang/String;)Z
ifne 6
5: new com.sun.tools.example.debug.tty.MalformedMemberNameException
dup
aload 2
invokespecial com.sun.tools.example.debug.tty.MalformedMemberNameException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: com.sun.tools.example.debug.tty.BreakpointSpec com.sun.tools.example.debug.tty.ReferenceTypeSpec java.lang.String java.util.List
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
0 7 1 refSpec Lcom/sun/tools/example/debug/tty/ReferenceTypeSpec;
0 7 2 methodId Ljava/lang/String;
0 7 3 methodArgs Ljava/util/List<Ljava/lang/String;>;
Exceptions:
throws com.sun.tools.example.debug.tty.MalformedMemberNameException
Signature: (Lcom/sun/tools/example/debug/tty/ReferenceTypeSpec;Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
refSpec
methodId
methodArgs
com.sun.jdi.request.EventRequest resolveEventRequest(com.sun.jdi.ReferenceType);
descriptor: (Lcom/sun/jdi/ReferenceType;)Lcom/sun/jdi/request/EventRequest;
flags: (0x0000)
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.location:(Lcom/sun/jdi/ReferenceType;)Lcom/sun/jdi/Location;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new com.sun.jdi.InvalidTypeException
dup
invokespecial com.sun.jdi.InvalidTypeException.<init>:()V
athrow
3: StackMap locals: com.sun.jdi.Location
StackMap stack:
aload 1
invokeinterface com.sun.jdi.ReferenceType.virtualMachine:()Lcom/sun/jdi/VirtualMachine;
invokeinterface com.sun.jdi.VirtualMachine.eventRequestManager:()Lcom/sun/jdi/request/EventRequestManager;
astore 3
start local 3 4: aload 3
aload 2
invokeinterface com.sun.jdi.request.EventRequestManager.createBreakpointRequest:(Lcom/sun/jdi/Location;)Lcom/sun/jdi/request/BreakpointRequest;
astore 4
start local 4 5: aload 4
aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.suspendPolicy:I
invokeinterface com.sun.jdi.request.EventRequest.setSuspendPolicy:(I)V
6: aload 4
invokeinterface com.sun.jdi.request.EventRequest.enable:()V
7: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
0 8 1 refType Lcom/sun/jdi/ReferenceType;
1 8 2 location Lcom/sun/jdi/Location;
4 8 3 em Lcom/sun/jdi/request/EventRequestManager;
5 8 4 bp Lcom/sun/jdi/request/EventRequest;
Exceptions:
throws com.sun.tools.example.debug.tty.AmbiguousMethodException, com.sun.jdi.AbsentInformationException, com.sun.jdi.InvalidTypeException, java.lang.NoSuchMethodException, com.sun.tools.example.debug.tty.LineNotFoundException
MethodParameters:
Name Flags
refType
java.lang.String methodName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodId:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
int lineNumber();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.lineNumber:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
java.util.List<java.lang.String> methodArgs();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodArgs:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
boolean isMethodBreakpoint();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodId:Ljava/lang/String;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.refSpec:Lcom/sun/tools/example/debug/tty/ReferenceTypeSpec;
invokeinterface com.sun.tools.example.debug.tty.ReferenceTypeSpec.hashCode:()I
aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.lineNumber:I
iadd
1: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodId:Ljava/lang/String;
ifnull 2
aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodId:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
goto 3
StackMap locals:
StackMap stack: int
2: iconst_0
3: StackMap locals: com.sun.tools.example.debug.tty.BreakpointSpec
StackMap stack: int int
iadd
4: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodArgs:Ljava/util/List;
ifnull 5
aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodArgs:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
goto 6
StackMap locals:
StackMap stack: int
5: iconst_0
6: StackMap locals: com.sun.tools.example.debug.tty.BreakpointSpec
StackMap stack: int int
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.tools.example.debug.tty.BreakpointSpec
ifeq 12
1: aload 1
checkcast com.sun.tools.example.debug.tty.BreakpointSpec
astore 2
start local 2 2: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodId:Ljava/lang/String;
ifnull 4
3: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodId:Ljava/lang/String;
aload 2
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodId:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
goto 5
4: StackMap locals: com.sun.tools.example.debug.tty.BreakpointSpec
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodId:Ljava/lang/String;
aload 2
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodId:Ljava/lang/String;
if_acmpne 11
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodArgs:Ljava/util/List;
ifnull 7
6: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodArgs:Ljava/util/List;
aload 2
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodArgs:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifeq 11
goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodArgs:Ljava/util/List;
aload 2
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodArgs:Ljava/util/List;
if_acmpne 11
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.refSpec:Lcom/sun/tools/example/debug/tty/ReferenceTypeSpec;
aload 2
getfield com.sun.tools.example.debug.tty.BreakpointSpec.refSpec:Lcom/sun/tools/example/debug/tty/ReferenceTypeSpec;
invokeinterface com.sun.tools.example.debug.tty.ReferenceTypeSpec.equals:(Ljava/lang/Object;)Z
ifeq 11
9: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.lineNumber:I
aload 2
getfield com.sun.tools.example.debug.tty.BreakpointSpec.lineNumber:I
if_icmpne 11
10: iconst_1
ireturn
StackMap locals:
StackMap stack:
11: iconst_0
ireturn
end local 2 12: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
0 13 1 obj Ljava/lang/Object;
2 12 2 breakpoint Lcom/sun/tools/example/debug/tty/BreakpointSpec;
MethodParameters:
Name Flags
obj
java.lang.String errorMessageFor(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.tools.example.debug.tty.AmbiguousMethodException
ifeq 4
1: ldc "Method is overloaded; specify arguments"
2: aload 0
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.methodName:()Ljava/lang/String;
3: invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.NoSuchMethodException
ifeq 9
5: ldc "No method in"
6: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.methodName:()Ljava/lang/String;
aastore
dup
iconst_1
7: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.refSpec:Lcom/sun/tools/example/debug/tty/ReferenceTypeSpec;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
8: invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.AbsentInformationException
ifeq 13
10: ldc "No linenumber information for"
11: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.refSpec:Lcom/sun/tools/example/debug/tty/ReferenceTypeSpec;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
12: invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
13: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.tools.example.debug.tty.LineNotFoundException
ifeq 18
14: ldc "No code at line"
15: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.lineNumber:()I
i2l
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
16: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.refSpec:Lcom/sun/tools/example/debug/tty/ReferenceTypeSpec;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
17: invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
18: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.InvalidTypeException
ifeq 22
19: ldc "Breakpoints can be located only in classes."
20: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.refSpec:Lcom/sun/tools/example/debug/tty/ReferenceTypeSpec;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
21: invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
22: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.sun.tools.example.debug.tty.EventRequestSpec.errorMessageFor:(Ljava/lang/Exception;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
0 23 1 e Ljava/lang/Exception;
MethodParameters:
Name Flags
e
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.refSpec:Lcom/sun/tools/example/debug/tty/ReferenceTypeSpec;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 0
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.isMethodBreakpoint:()Z
ifeq 16
2: aload 1
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: aload 1
aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodId:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodArgs:Ljava/util/List;
ifnull 18
5: iconst_1
istore 2
start local 2 6: aload 1
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.methodArgs:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 13
StackMap locals: com.sun.tools.example.debug.tty.BreakpointSpec java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 9: iload 2
ifne 11
10: aload 1
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
11: StackMap locals: com.sun.tools.example.debug.tty.BreakpointSpec java.lang.StringBuilder int java.lang.String java.util.Iterator
StackMap stack:
aload 1
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: iconst_0
istore 2
end local 3 13: StackMap locals: com.sun.tools.example.debug.tty.BreakpointSpec java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
14: aload 1
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 15: goto 18
16: StackMap locals: com.sun.tools.example.debug.tty.BreakpointSpec java.lang.StringBuilder
StackMap stack:
aload 1
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
17: aload 1
aload 0
getfield com.sun.tools.example.debug.tty.BreakpointSpec.lineNumber:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
18: StackMap locals:
StackMap stack:
ldc "breakpoint"
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
1 19 1 sb Ljava/lang/StringBuilder;
6 15 2 first Z
9 13 3 arg Ljava/lang/String;
private com.sun.jdi.Location location(com.sun.jdi.ReferenceType);
descriptor: (Lcom/sun/jdi/ReferenceType;)Lcom/sun/jdi/Location;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.isMethodBreakpoint:()Z
ifeq 5
2: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.findMatchingMethod:(Lcom/sun/jdi/ReferenceType;)Lcom/sun/jdi/Method;
astore 3
start local 3 3: aload 3
invokeinterface com.sun.jdi.Method.location:()Lcom/sun/jdi/Location;
astore 2
end local 3 4: goto 11
5: StackMap locals: com.sun.jdi.Location
StackMap stack:
aload 1
aload 0
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.lineNumber:()I
invokeinterface com.sun.jdi.ReferenceType.locationsOfLine:(I)Ljava/util/List;
astore 3
start local 3 6: aload 3
invokeinterface java.util.List.size:()I
ifne 8
7: new com.sun.tools.example.debug.tty.LineNotFoundException
dup
invokespecial com.sun.tools.example.debug.tty.LineNotFoundException.<init>:()V
athrow
8: StackMap locals: java.util.List
StackMap stack:
aload 3
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.jdi.Location
astore 2
9: aload 2
invokeinterface com.sun.jdi.Location.method:()Lcom/sun/jdi/Method;
ifnonnull 11
10: new com.sun.tools.example.debug.tty.LineNotFoundException
dup
invokespecial com.sun.tools.example.debug.tty.LineNotFoundException.<init>:()V
athrow
end local 3 11: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
0 12 1 refType Lcom/sun/jdi/ReferenceType;
1 12 2 location Lcom/sun/jdi/Location;
3 4 3 method Lcom/sun/jdi/Method;
6 11 3 locs Ljava/util/List<Lcom/sun/jdi/Location;>;
Exceptions:
throws com.sun.tools.example.debug.tty.AmbiguousMethodException, com.sun.jdi.AbsentInformationException, java.lang.NoSuchMethodException, com.sun.tools.example.debug.tty.LineNotFoundException
MethodParameters:
Name Flags
refType
private boolean isValidMethodName(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.isJavaIdentifier:(Ljava/lang/String;)Z
ifne 4
1: aload 1
ldc "<init>"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
2: aload 1
ldc "<clinit>"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
0 5 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
private boolean compareArgTypes(com.sun.jdi.Method, java.util.List<java.lang.String>);
descriptor: (Lcom/sun/jdi/Method;Ljava/util/List;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface com.sun.jdi.Method.argumentTypeNames:()Ljava/util/List;
astore 3
start local 3 1: aload 3
invokeinterface java.util.List.size:()I
aload 2
invokeinterface java.util.List.size:()I
if_icmpeq 3
2: iconst_0
ireturn
3: StackMap locals: java.util.List
StackMap stack:
aload 3
invokeinterface java.util.List.size:()I
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 20
6: StackMap locals: int int
StackMap stack:
aload 3
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 7: aload 2
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 8: aload 6
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
9: iload 5
iload 4
iconst_1
isub
if_icmpne 12
10: aload 1
invokeinterface com.sun.jdi.Method.isVarArgs:()Z
ifeq 12
11: aload 7
ldc "..."
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 13
12: StackMap locals: java.lang.String java.lang.String
StackMap stack:
iconst_0
ireturn
13: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.lang.String.length:()I
istore 8
start local 8 14: iload 8
iconst_1
iadd
aload 7
invokevirtual java.lang.String.length:()I
if_icmpeq 16
15: iconst_0
ireturn
16: StackMap locals: int
StackMap stack:
aload 6
iconst_0
aload 7
iconst_0
iload 8
iconst_2
isub
invokevirtual java.lang.String.regionMatches:(ILjava/lang/String;II)Z
ifne 18
17: iconst_0
ireturn
18: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 8 end local 7 end local 6 19: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
20: iload 5
iload 4
if_icmplt 6
end local 5 21: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
0 22 1 method Lcom/sun/jdi/Method;
0 22 2 nameList Ljava/util/List<Ljava/lang/String;>;
1 22 3 argTypeNames Ljava/util/List<Ljava/lang/String;>;
4 22 4 nTypes I
5 21 5 i I
7 19 6 comp1 Ljava/lang/String;
8 19 7 comp2 Ljava/lang/String;
14 19 8 comp1Length I
Signature: (Lcom/sun/jdi/Method;Ljava/util/List<Ljava/lang/String;>;)Z
MethodParameters:
Name Flags
method
nameList
private java.lang.String normalizeArgTypeName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 2: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 3: aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
4: aload 1
invokevirtual java.lang.String.length:()I
istore 5
start local 5 5: aload 1
ldc "..."
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
istore 6
start local 6 6: iload 6
ifeq 14
7: iinc 5 -3
8: goto 14
9: StackMap locals: com.sun.tools.example.debug.tty.BreakpointSpec java.lang.String int java.lang.StringBuilder java.lang.StringBuilder int int
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 10: iload 7
invokestatic java.lang.Character.isWhitespace:(C)Z
ifne 25
iload 7
bipush 91
if_icmpne 12
11: goto 25
12: StackMap locals: int
StackMap stack:
aload 3
iload 7
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
13: iinc 2 1
end local 7 14: StackMap locals:
StackMap stack:
iload 2
iload 5
if_icmplt 9
15: goto 25
16: StackMap locals:
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 17: iload 7
bipush 91
if_icmpeq 18
iload 7
bipush 93
if_icmpne 20
18: StackMap locals: int
StackMap stack:
aload 4
iload 7
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
19: goto 24
StackMap locals:
StackMap stack:
20: iload 7
invokestatic java.lang.Character.isWhitespace:(C)Z
ifne 24
21: new java.lang.IllegalArgumentException
dup
22: ldc "Invalid argument type name"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;)Ljava/lang/String;
23: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
iinc 2 1
end local 7 25: StackMap locals:
StackMap stack:
iload 2
iload 5
if_icmplt 16
26: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
27: aload 1
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 28
aload 1
ldc "*."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 33
28: StackMap locals:
StackMap stack:
aload 1
invokestatic com.sun.tools.example.debug.tty.Env.getReferenceTypeFromToken:(Ljava/lang/String;)Lcom/sun/jdi/ReferenceType;
astore 7
start local 7 29: aload 7
ifnull 33
30: aload 7
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
astore 1
end local 7 31: goto 33
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
32: pop
33: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
34: iload 6
ifeq 36
35: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "..."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
36: StackMap locals:
StackMap stack:
aload 1
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
0 37 1 name Ljava/lang/String;
1 37 2 i I
2 37 3 typePart Ljava/lang/StringBuilder;
3 37 4 arrayPart Ljava/lang/StringBuilder;
5 37 5 nameLength I
6 37 6 isVarArgs Z
10 14 7 c C
17 25 7 c C
29 31 7 argClass Lcom/sun/jdi/ReferenceType;
Exception table:
from to target type
28 31 32 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
name
private com.sun.jdi.Method findMatchingMethod(com.sun.jdi.ReferenceType);
descriptor: (Lcom/sun/jdi/ReferenceType;)Lcom/sun/jdi/Method;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.methodArgs:()Ljava/util/List;
ifnull 8
2: new java.util.ArrayList
dup
aload 0
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.methodArgs:()Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
3: aload 0
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.methodArgs:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: com.sun.tools.example.debug.tty.BreakpointSpec com.sun.jdi.ReferenceType java.util.List top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 5: aload 0
aload 3
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.normalizeArgTypeName:(Ljava/lang/String;)Ljava/lang/String;
astore 3
6: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: StackMap locals: com.sun.tools.example.debug.tty.BreakpointSpec com.sun.jdi.ReferenceType java.util.List
StackMap stack:
aconst_null
astore 3
start local 3 9: aconst_null
astore 4
start local 4 10: iconst_0
istore 5
start local 5 11: aload 1
invokeinterface com.sun.jdi.ReferenceType.methods:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 21
StackMap locals: com.sun.tools.example.debug.tty.BreakpointSpec com.sun.jdi.ReferenceType java.util.List com.sun.jdi.Method com.sun.jdi.Method int top java.util.Iterator
StackMap stack:
12: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.jdi.Method
astore 6
start local 6 13: aload 6
invokeinterface com.sun.jdi.Method.name:()Ljava/lang/String;
aload 0
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.methodName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
14: iinc 5 1
15: iload 5
iconst_1
if_icmpne 17
16: aload 6
astore 3
17: StackMap locals: com.sun.tools.example.debug.tty.BreakpointSpec com.sun.jdi.ReferenceType java.util.List com.sun.jdi.Method com.sun.jdi.Method int com.sun.jdi.Method java.util.Iterator
StackMap stack:
aload 2
ifnull 21
18: aload 0
aload 6
aload 2
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.compareArgTypes:(Lcom/sun/jdi/Method;Ljava/util/List;)Z
ifeq 21
19: aload 6
astore 4
20: goto 22
end local 6 21: StackMap locals: com.sun.tools.example.debug.tty.BreakpointSpec com.sun.jdi.ReferenceType java.util.List com.sun.jdi.Method com.sun.jdi.Method int top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
22: StackMap locals: com.sun.tools.example.debug.tty.BreakpointSpec com.sun.jdi.ReferenceType java.util.List com.sun.jdi.Method com.sun.jdi.Method int
StackMap stack:
aconst_null
astore 6
start local 6 23: aload 4
ifnull 26
24: aload 4
astore 6
25: goto 32
StackMap locals: com.sun.jdi.Method
StackMap stack:
26: aload 2
ifnonnull 31
iload 5
ifle 31
27: iload 5
iconst_1
if_icmpne 30
28: aload 3
astore 6
29: goto 32
30: StackMap locals:
StackMap stack:
new com.sun.tools.example.debug.tty.AmbiguousMethodException
dup
invokespecial com.sun.tools.example.debug.tty.AmbiguousMethodException.<init>:()V
athrow
31: StackMap locals:
StackMap stack:
new java.lang.NoSuchMethodException
dup
aload 0
invokevirtual com.sun.tools.example.debug.tty.BreakpointSpec.methodName:()Ljava/lang/String;
invokespecial java.lang.NoSuchMethodException.<init>:(Ljava/lang/String;)V
athrow
32: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lcom/sun/tools/example/debug/tty/BreakpointSpec;
0 33 1 refType Lcom/sun/jdi/ReferenceType;
1 33 2 argTypeNames Ljava/util/List<Ljava/lang/String;>;
5 7 3 name Ljava/lang/String;
9 33 3 firstMatch Lcom/sun/jdi/Method;
10 33 4 exactMatch Lcom/sun/jdi/Method;
11 33 5 matchCount I
13 21 6 candidate Lcom/sun/jdi/Method;
23 33 6 method Lcom/sun/jdi/Method;
Exceptions:
throws com.sun.tools.example.debug.tty.AmbiguousMethodException, java.lang.NoSuchMethodException
MethodParameters:
Name Flags
refType
}
SourceFile: "BreakpointSpec.java"