public class com.oracle.truffle.api.dsl.test.SourceSectionTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.api.dsl.test.SourceSectionTest
super_class: java.lang.Object
{
public static final int[] data;
descriptor: [I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
org.junit.experimental.theories.DataPoints()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_4
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_3
iastore
dup
iconst_3
iconst_4
iastore
putstatic com.oracle.truffle.api.dsl.test.SourceSectionTest.data:[I
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/oracle/truffle/api/dsl/test/SourceSectionTest;
public void testSourceSections(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tSourceSectionTestFactory cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/dsl/test/SourceSectionTest;
RuntimeVisibleAnnotations:
org.junit.experimental.theories.Theory()
MethodParameters:
Name Flags
value0
value1
value2
private static void expectSourceSection(com.oracle.truffle.api.nodes.Node, com.oracle.truffle.api.source.SourceSection);
descriptor: (Lcom/oracle/truffle/api/nodes/Node;Lcom/oracle/truffle/api/source/SourceSection;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.api.nodes.Node.getSourceSection:()Lcom/oracle/truffle/api/source/SourceSection;
aload 1
invokestatic org.hamcrest.CoreMatchers.sameInstance:(Ljava/lang/Object;)Lorg/hamcrest/Matcher;
invokestatic org.hamcrest.CoreMatchers.is:(Lorg/hamcrest/Matcher;)Lorg/hamcrest/Matcher;
invokestatic org.junit.Assert.assertThat:(Ljava/lang/Object;Lorg/hamcrest/Matcher;)V
1: aload 0
invokevirtual com.oracle.truffle.api.nodes.Node.getChildren:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: com.oracle.truffle.api.nodes.Node com.oracle.truffle.api.source.SourceSection top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.api.nodes.Node
astore 2
start local 2 3: aload 2
instanceof com.oracle.truffle.api.dsl.test.TypeSystemTest$ArgumentNode
ifeq 5
4: goto 7
5: StackMap locals: com.oracle.truffle.api.nodes.Node com.oracle.truffle.api.source.SourceSection com.oracle.truffle.api.nodes.Node java.util.Iterator
StackMap stack:
aload 2
ifnull 7
6: aload 2
aload 1
invokestatic com.oracle.truffle.api.dsl.test.SourceSectionTest.expectSourceSection:(Lcom/oracle/truffle/api/nodes/Node;Lcom/oracle/truffle/api/source/SourceSection;)V
end local 2 7: StackMap locals: com.oracle.truffle.api.nodes.Node com.oracle.truffle.api.source.SourceSection top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 root Lcom/oracle/truffle/api/nodes/Node;
0 9 1 section Lcom/oracle/truffle/api/source/SourceSection;
3 7 2 child Lcom/oracle/truffle/api/nodes/Node;
MethodParameters:
Name Flags
root
section
public void testCreateCast();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tSourceSectionTestFactory cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/dsl/test/SourceSectionTest;
RuntimeVisibleAnnotations:
org.junit.Test()
}
SourceFile: "SourceSectionTest.java"
NestMembers:
com.oracle.truffle.api.dsl.test.SourceSectionTest$MutableSourceSectionNode com.oracle.truffle.api.dsl.test.SourceSectionTest$NodeWithFixedSourceSection
InnerClasses:
MutableSourceSectionNode = com.oracle.truffle.api.dsl.test.SourceSectionTest$MutableSourceSectionNode of com.oracle.truffle.api.dsl.test.SourceSectionTest
NodeWithFixedSourceSection = com.oracle.truffle.api.dsl.test.SourceSectionTest$NodeWithFixedSourceSection of com.oracle.truffle.api.dsl.test.SourceSectionTest
public ArgumentNode = com.oracle.truffle.api.dsl.test.TypeSystemTest$ArgumentNode of com.oracle.truffle.api.dsl.test.TypeSystemTest
RuntimeVisibleAnnotations:
org.junit.runner.RunWith(value = Lorg/junit/experimental/theories/Theories;)