final class com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured extends com.oracle.truffle.llvm.tests.debug.LLVMDebugValue
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured
super_class: com.oracle.truffle.llvm.tests.debug.LLVMDebugValue
{
private final java.util.Map<java.lang.String, com.oracle.truffle.llvm.tests.debug.LLVMDebugValue> expectedMembers;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue;>;
void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "structured"
aload 1
iload 2
invokespecial com.oracle.truffle.llvm.tests.debug.LLVMDebugValue.<init>:(Ljava/lang/String;Ljava/lang/String;Z)V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured.expectedMembers:Ljava/util/Map;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue$Structured;
0 3 1 expectedType Ljava/lang/String;
0 3 2 isBuggy Z
MethodParameters:
Name Flags
expectedType
isBuggy
void addMember(java.lang.String, com.oracle.truffle.llvm.tests.debug.LLVMDebugValue);
descriptor: (Ljava/lang/String;Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured.expectedMembers:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue$Structured;
0 2 1 name Ljava/lang/String;
0 2 2 value Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue;
MethodParameters:
Name Flags
name
value
java.util.Map<java.lang.String, com.oracle.truffle.llvm.tests.debug.LLVMDebugValue> getExpectedMembers();
descriptor: ()Ljava/util/Map;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured.expectedMembers:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue$Structured;
Signature: ()Ljava/util/Map<Ljava/lang/String;Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue;>;
java.lang.String getExpectedDisplayValue();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue$Structured;
void check(com.oracle.truffle.api.debug.DebugValue);
descriptor: (Lcom/oracle/truffle/api/debug/DebugValue;)V
flags: (0x0000)
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured.checkType:(Lcom/oracle/truffle/api/debug/DebugValue;)V
1: aload 1
invokevirtual com.oracle.truffle.api.debug.DebugValue.getProperties:()Ljava/util/Collection;
astore 2
start local 2 2: aload 2
ifnonnull 6
3: aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured.expectedMembers:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 5
4: return
5: StackMap locals: java.util.Collection
StackMap stack:
new java.lang.AssertionError
dup
ldc "Unexpected number of members: expected %d, but got 0"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured.expectedMembers:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 16
StackMap locals: com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured com.oracle.truffle.api.debug.DebugValue java.util.Collection top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.api.debug.DebugValue
astore 3
start local 3 8: aload 3
invokevirtual com.oracle.truffle.api.debug.DebugValue.getName:()Ljava/lang/String;
astore 5
start local 5 9: aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured.expectedMembers:Ljava/util/Map;
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.llvm.tests.debug.LLVMDebugValue
astore 6
start local 6 10: aload 6
ifnonnull 12
11: new java.lang.AssertionError
dup
ldc "Unexpected member: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
12: StackMap locals: com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured com.oracle.truffle.api.debug.DebugValue java.util.Collection com.oracle.truffle.api.debug.DebugValue java.util.Iterator java.lang.String com.oracle.truffle.llvm.tests.debug.LLVMDebugValue
StackMap stack:
aload 6
aload 3
invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue.check:(Lcom/oracle/truffle/api/debug/DebugValue;)V
13: goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 7
start local 7 15: new java.lang.AssertionError
dup
ldc "Error in member %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 7
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 7 end local 6 end local 5 end local 3 16: StackMap locals: com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured com.oracle.truffle.api.debug.DebugValue java.util.Collection top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
17: ldc "Unexpected number of members"
aload 0
getfield com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured.expectedMembers:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
i2l
aload 2
invokeinterface java.util.Collection.size:()I
i2l
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
18: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue$Structured;
0 19 1 actualValue Lcom/oracle/truffle/api/debug/DebugValue;
2 19 2 actualMembers Ljava/util/Collection<Lcom/oracle/truffle/api/debug/DebugValue;>;
8 16 3 actual Lcom/oracle/truffle/api/debug/DebugValue;
9 16 5 name Ljava/lang/String;
10 16 6 expected Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue;
15 16 7 t Ljava/lang/Throwable;
Exception table:
from to target type
12 13 14 Class java.lang.Throwable
MethodParameters:
Name Flags
actualValue
void checkValue(com.oracle.truffle.api.debug.DebugValue);
descriptor: (Lcom/oracle/truffle/api/debug/DebugValue;)V
flags: (0x0000)
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue$Structured;
0 1 1 value Lcom/oracle/truffle/api/debug/DebugValue;
MethodParameters:
Name Flags
value
}
SourceFile: "LLVMDebugValue.java"
NestHost: com.oracle.truffle.llvm.tests.debug.LLVMDebugValue
InnerClasses:
final Structured = com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured of com.oracle.truffle.llvm.tests.debug.LLVMDebugValue