public class com.sun.tools.example.debug.bdi.MethodBreakpointSpec extends com.sun.tools.example.debug.bdi.BreakpointSpec
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.example.debug.bdi.MethodBreakpointSpec
super_class: com.sun.tools.example.debug.bdi.BreakpointSpec
{
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;>;
void <init>(com.sun.tools.example.debug.bdi.EventRequestSpecList, com.sun.tools.example.debug.bdi.ReferenceTypeSpec, java.lang.String, java.util.List<java.lang.String>);
descriptor: (Lcom/sun/tools/example/debug/bdi/EventRequestSpecList;Lcom/sun/tools/example/debug/bdi/ReferenceTypeSpec;Ljava/lang/String;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
invokespecial com.sun.tools.example.debug.bdi.BreakpointSpec.<init>:(Lcom/sun/tools/example/debug/bdi/EventRequestSpecList;Lcom/sun/tools/example/debug/bdi/ReferenceTypeSpec;)V
1: aload 0
aload 3
putfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodId:Ljava/lang/String;
2: aload 0
aload 4
putfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodArgs:Ljava/util/List;
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/example/debug/bdi/MethodBreakpointSpec;
0 4 1 specs Lcom/sun/tools/example/debug/bdi/EventRequestSpecList;
0 4 2 refSpec Lcom/sun/tools/example/debug/bdi/ReferenceTypeSpec;
0 4 3 methodId Ljava/lang/String;
0 4 4 methodArgs Ljava/util/List<Ljava/lang/String;>;
Signature: (Lcom/sun/tools/example/debug/bdi/EventRequestSpecList;Lcom/sun/tools/example/debug/bdi/ReferenceTypeSpec;Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
specs
refSpec
methodId
methodArgs
void resolve(com.sun.jdi.ReferenceType);
descriptor: (Lcom/sun/jdi/ReferenceType;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodId:Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.bdi.MethodBreakpointSpec.isValidMethodName:(Ljava/lang/String;)Z
ifne 2
1: new com.sun.tools.example.debug.bdi.MalformedMemberNameException
dup
aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodId:Ljava/lang/String;
invokespecial com.sun.tools.example.debug.bdi.MalformedMemberNameException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.ClassType
ifne 4
3: new com.sun.jdi.InvalidTypeException
dup
invokespecial com.sun.jdi.InvalidTypeException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast com.sun.jdi.ClassType
invokevirtual com.sun.tools.example.debug.bdi.MethodBreakpointSpec.location:(Lcom/sun/jdi/ClassType;)Lcom/sun/jdi/Location;
astore 2
start local 2 5: aload 0
aload 1
invokeinterface com.sun.jdi.ReferenceType.virtualMachine:()Lcom/sun/jdi/VirtualMachine;
invokeinterface com.sun.jdi.VirtualMachine.eventRequestManager:()Lcom/sun/jdi/request/EventRequestManager;
6: aload 2
invokeinterface com.sun.jdi.request.EventRequestManager.createBreakpointRequest:(Lcom/sun/jdi/Location;)Lcom/sun/jdi/request/BreakpointRequest;
7: invokevirtual com.sun.tools.example.debug.bdi.MethodBreakpointSpec.setRequest:(Lcom/sun/jdi/request/EventRequest;)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/example/debug/bdi/MethodBreakpointSpec;
0 9 1 refType Lcom/sun/jdi/ReferenceType;
5 9 2 location Lcom/sun/jdi/Location;
Exceptions:
throws com.sun.tools.example.debug.bdi.MalformedMemberNameException, com.sun.tools.example.debug.bdi.AmbiguousMethodException, com.sun.jdi.InvalidTypeException, java.lang.NoSuchMethodException, com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
refType
private com.sun.jdi.Location location(com.sun.jdi.ClassType);
descriptor: (Lcom/sun/jdi/ClassType;)Lcom/sun/jdi/Location;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.bdi.MethodBreakpointSpec.findMatchingMethod:(Lcom/sun/jdi/ClassType;)Lcom/sun/jdi/Method;
astore 2
start local 2 1: aload 2
invokeinterface com.sun.jdi.Method.location:()Lcom/sun/jdi/Location;
astore 3
start local 3 2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/bdi/MethodBreakpointSpec;
0 3 1 clazz Lcom/sun/jdi/ClassType;
1 3 2 method Lcom/sun/jdi/Method;
2 3 3 location Lcom/sun/jdi/Location;
Exceptions:
throws com.sun.tools.example.debug.bdi.AmbiguousMethodException, java.lang.NoSuchMethodException, com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
clazz
public java.lang.String methodName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodId:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/bdi/MethodBreakpointSpec;
public java.util.List<java.lang.String> methodArgs();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodArgs:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/bdi/MethodBreakpointSpec;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
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.bdi.MethodBreakpointSpec.refSpec:Lcom/sun/tools/example/debug/bdi/ReferenceTypeSpec;
invokeinterface com.sun.tools.example.debug.bdi.ReferenceTypeSpec.hashCode:()I
1: aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodId:Ljava/lang/String;
ifnull 2
aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.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.bdi.MethodBreakpointSpec
StackMap stack: int int
iadd
4: aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodArgs:Ljava/util/List;
ifnull 5
aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.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.bdi.MethodBreakpointSpec
StackMap stack: int int
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/bdi/MethodBreakpointSpec;
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.bdi.MethodBreakpointSpec
ifeq 7
1: aload 1
checkcast com.sun.tools.example.debug.bdi.MethodBreakpointSpec
astore 2
start local 2 2: aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodId:Ljava/lang/String;
aload 2
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodId:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
3: aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodArgs:Ljava/util/List;
aload 2
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodArgs:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.refSpec:Lcom/sun/tools/example/debug/bdi/ReferenceTypeSpec;
aload 2
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.refSpec:Lcom/sun/tools/example/debug/bdi/ReferenceTypeSpec;
invokeinterface com.sun.tools.example.debug.bdi.ReferenceTypeSpec.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
StackMap locals: com.sun.tools.example.debug.bdi.MethodBreakpointSpec
StackMap stack:
6: iconst_0
ireturn
end local 2 7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/example/debug/bdi/MethodBreakpointSpec;
0 8 1 obj Ljava/lang/Object;
2 7 2 breakpoint Lcom/sun/tools/example/debug/bdi/MethodBreakpointSpec;
MethodParameters:
Name Flags
obj
public java.lang.String errorMessageFor(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.tools.example.debug.bdi.AmbiguousMethodException
ifeq 2
1: new java.lang.StringBuilder
dup
ldc "Method "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " is overloaded; specify arguments"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.NoSuchMethodException
ifeq 4
3: new java.lang.StringBuilder
dup
ldc "No method "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.refSpec:Lcom/sun/tools/example/debug/bdi/ReferenceTypeSpec;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.InvalidTypeException
ifeq 8
5: new java.lang.StringBuilder
dup
ldc "Breakpoints can be located only in classes. "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.refSpec:Lcom/sun/tools/example/debug/bdi/ReferenceTypeSpec;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is an interface or array"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.sun.tools.example.debug.bdi.BreakpointSpec.errorMessageFor:(Ljava/lang/Exception;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/example/debug/bdi/MethodBreakpointSpec;
0 9 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.StringBuffer
dup
ldc "breakpoint "
invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.refSpec:Lcom/sun/tools/example/debug/bdi/ReferenceTypeSpec;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
2: aload 1
bipush 46
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
3: aload 1
aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodId:Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
4: aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodArgs:Ljava/util/List;
ifnull 15
5: iconst_1
istore 2
start local 2 6: aload 1
bipush 40
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
7: aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.methodArgs:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 13
StackMap locals: com.sun.tools.example.debug.bdi.MethodBreakpointSpec java.lang.StringBuffer 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.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
11: StackMap locals: com.sun.tools.example.debug.bdi.MethodBreakpointSpec java.lang.StringBuffer int java.lang.String java.util.Iterator
StackMap stack:
aload 1
aload 3
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
12: iconst_0
istore 2
end local 3 13: StackMap locals: com.sun.tools.example.debug.bdi.MethodBreakpointSpec java.lang.StringBuffer int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
14: aload 1
ldc ")"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 2 15: StackMap locals: com.sun.tools.example.debug.bdi.MethodBreakpointSpec java.lang.StringBuffer
StackMap stack:
aload 1
ldc " ("
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
16: aload 1
aload 0
invokevirtual com.sun.tools.example.debug.bdi.MethodBreakpointSpec.getStatusString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
17: aload 1
bipush 41
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
18: aload 1
invokevirtual java.lang.StringBuffer.toString:()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/bdi/MethodBreakpointSpec;
1 19 1 buffer Ljava/lang/StringBuffer;
6 15 2 first Z
9 13 3 name Ljava/lang/String;
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.bdi.MethodBreakpointSpec.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/bdi/MethodBreakpointSpec;
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/bdi/MethodBreakpointSpec;
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 com.sun.jdi.VirtualMachine vm();
descriptor: ()Lcom/sun/jdi/VirtualMachine;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.request:Lcom/sun/jdi/request/EventRequest;
invokeinterface com.sun.jdi.request.EventRequest.virtualMachine:()Lcom/sun/jdi/VirtualMachine;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/bdi/MethodBreakpointSpec;
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.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 3
start local 3 2: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<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.bdi.MethodBreakpointSpec java.lang.String int java.lang.StringBuffer java.lang.StringBuffer 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.StringBuffer.append:(C)Ljava/lang/StringBuffer;
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.StringBuffer.append:(C)Ljava/lang/StringBuffer;
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"
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.StringBuffer.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 0
getfield com.sun.tools.example.debug.bdi.MethodBreakpointSpec.specs:Lcom/sun/tools/example/debug/bdi/EventRequestSpecList;
getfield com.sun.tools.example.debug.bdi.EventRequestSpecList.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 1
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.findClassesMatchingPattern:(Ljava/lang/String;)Ljava/util/List;
astore 7
start local 7 29: aload 7
invokeinterface java.util.List.size:()I
ifle 33
30: aload 7
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.jdi.ReferenceType
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.StringBuffer.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/bdi/MethodBreakpointSpec;
0 37 1 name Ljava/lang/String;
1 37 2 i I
2 37 3 typePart Ljava/lang/StringBuffer;
3 37 4 arrayPart Ljava/lang/StringBuffer;
5 37 5 nameLength I
6 37 6 isVarArgs Z
10 14 7 c C
17 25 7 c C
29 31 7 refs Ljava/util/List<*>;
Exception table:
from to target type
28 31 32 Class java.lang.IllegalArgumentException
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
name
private com.sun.jdi.Method findMatchingMethod(com.sun.jdi.ClassType);
descriptor: (Lcom/sun/jdi/ClassType;)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.bdi.MethodBreakpointSpec.methodArgs:()Ljava/util/List;
ifnull 8
2: new java.util.ArrayList
dup
aload 0
invokevirtual com.sun.tools.example.debug.bdi.MethodBreakpointSpec.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.bdi.MethodBreakpointSpec.methodArgs:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: com.sun.tools.example.debug.bdi.MethodBreakpointSpec com.sun.jdi.ClassType 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.bdi.MethodBreakpointSpec.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.bdi.MethodBreakpointSpec com.sun.jdi.ClassType 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.ClassType.methods:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 21
StackMap locals: com.sun.tools.example.debug.bdi.MethodBreakpointSpec com.sun.jdi.ClassType 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.bdi.MethodBreakpointSpec.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.bdi.MethodBreakpointSpec com.sun.jdi.ClassType 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.bdi.MethodBreakpointSpec.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.bdi.MethodBreakpointSpec com.sun.jdi.ClassType 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.bdi.MethodBreakpointSpec com.sun.jdi.ClassType 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.bdi.AmbiguousMethodException
dup
invokespecial com.sun.tools.example.debug.bdi.AmbiguousMethodException.<init>:()V
athrow
31: StackMap locals:
StackMap stack:
new java.lang.NoSuchMethodException
dup
aload 0
invokevirtual com.sun.tools.example.debug.bdi.MethodBreakpointSpec.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/bdi/MethodBreakpointSpec;
0 33 1 clazz Lcom/sun/jdi/ClassType;
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.bdi.AmbiguousMethodException, java.lang.NoSuchMethodException, com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
clazz
}
SourceFile: "MethodBreakpointSpec.java"