public class com.oracle.truffle.api.library.test.AcceptsTest extends com.oracle.truffle.api.test.AbstractParametrizedLibraryTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.api.library.test.AcceptsTest
super_class: com.oracle.truffle.api.test.AbstractParametrizedLibraryTest
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.api.test.AbstractParametrizedLibraryTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/library/test/AcceptsTest;
public static java.util.List<com.oracle.truffle.api.test.AbstractParametrizedLibraryTest$TestRun> data();
descriptor: ()Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_2
anewarray com.oracle.truffle.api.test.AbstractParametrizedLibraryTest$TestRun
dup
iconst_0
getstatic com.oracle.truffle.api.test.AbstractParametrizedLibraryTest$TestRun.CACHED:Lcom/oracle/truffle/api/test/AbstractParametrizedLibraryTest$TestRun;
aastore
dup
iconst_1
getstatic com.oracle.truffle.api.test.AbstractParametrizedLibraryTest$TestRun.UNCACHED:Lcom/oracle/truffle/api/test/AbstractParametrizedLibraryTest$TestRun;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/List<Lcom/oracle/truffle/api/test/AbstractParametrizedLibraryTest$TestRun;>;
RuntimeVisibleAnnotations:
org.junit.runners.Parameterized$Parameters(name = "{0}")
public void testCustomAccepts1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new com.oracle.truffle.api.library.test.AcceptsTest$CustomAccepts1
dup
invokespecial com.oracle.truffle.api.library.test.AcceptsTest$CustomAccepts1.<init>:()V
astore 1
start local 1 1: aload 0
ldc Lcom/oracle/truffle/api/library/test/AcceptsTest$AcceptsTestLibrary;
aload 1
invokevirtual com.oracle.truffle.api.library.test.AcceptsTest.createLibrary:(Ljava/lang/Class;Ljava/lang/Object;)Lcom/oracle/truffle/api/library/Library;
checkcast com.oracle.truffle.api.library.test.AcceptsTest$AcceptsTestLibrary
astore 2
start local 2 2: aload 2
aload 1
invokevirtual com.oracle.truffle.api.library.test.AcceptsTest$AcceptsTestLibrary.accepts:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertTrue:(Z)V
3: aload 2
new com.oracle.truffle.api.library.test.AcceptsTest$CustomAccepts1
dup
invokespecial com.oracle.truffle.api.library.test.AcceptsTest$CustomAccepts1.<init>:()V
invokevirtual com.oracle.truffle.api.library.test.AcceptsTest$AcceptsTestLibrary.accepts:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertTrue:(Z)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/api/library/test/AcceptsTest;
1 5 1 value Ljava/lang/Object;
2 5 2 lib Lcom/oracle/truffle/api/library/test/AcceptsTest$AcceptsTestLibrary;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testCustomAccepts2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new com.oracle.truffle.api.library.test.AcceptsTest$CustomAccepts2
dup
invokespecial com.oracle.truffle.api.library.test.AcceptsTest$CustomAccepts2.<init>:()V
astore 1
start local 1 1: aload 0
ldc Lcom/oracle/truffle/api/library/test/AcceptsTest$AcceptsTestLibrary;
aload 1
invokevirtual com.oracle.truffle.api.library.test.AcceptsTest.createLibrary:(Ljava/lang/Class;Ljava/lang/Object;)Lcom/oracle/truffle/api/library/Library;
checkcast com.oracle.truffle.api.library.test.AcceptsTest$AcceptsTestLibrary
astore 2
start local 2 2: aload 2
aload 1
invokevirtual com.oracle.truffle.api.library.test.AcceptsTest$AcceptsTestLibrary.accepts:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertTrue:(Z)V
3: aload 0
getfield com.oracle.truffle.api.library.test.AcceptsTest.run:Lcom/oracle/truffle/api/test/AbstractParametrizedLibraryTest$TestRun;
getstatic com.oracle.truffle.api.test.AbstractParametrizedLibraryTest$TestRun.CACHED:Lcom/oracle/truffle/api/test/AbstractParametrizedLibraryTest$TestRun;
if_acmpne 6
4: aload 2
new com.oracle.truffle.api.library.test.AcceptsTest$CustomAccepts2
dup
invokespecial com.oracle.truffle.api.library.test.AcceptsTest$CustomAccepts2.<init>:()V
invokevirtual com.oracle.truffle.api.library.test.AcceptsTest$AcceptsTestLibrary.accepts:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertFalse:(Z)V
5: goto 7
6: StackMap locals: java.lang.Object com.oracle.truffle.api.library.test.AcceptsTest$AcceptsTestLibrary
StackMap stack:
aload 2
new com.oracle.truffle.api.library.test.AcceptsTest$CustomAccepts2
dup
invokespecial com.oracle.truffle.api.library.test.AcceptsTest$CustomAccepts2.<init>:()V
invokevirtual com.oracle.truffle.api.library.test.AcceptsTest$AcceptsTestLibrary.accepts:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertTrue:(Z)V
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/api/library/test/AcceptsTest;
1 8 1 value Ljava/lang/Object;
2 8 2 lib Lcom/oracle/truffle/api/library/test/AcceptsTest$AcceptsTestLibrary;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testInvalidAccepts1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new com.oracle.truffle.api.library.test.AcceptsTest$InvalidAccepts1
dup
invokespecial com.oracle.truffle.api.library.test.AcceptsTest$InvalidAccepts1.<init>:()V
astore 1
start local 1 1: aload 0
getfield com.oracle.truffle.api.library.test.AcceptsTest.run:Lcom/oracle/truffle/api/test/AbstractParametrizedLibraryTest$TestRun;
invokevirtual com.oracle.truffle.api.test.AbstractParametrizedLibraryTest$TestRun.isCached:()Z
ifne 3
2: aload 0
aload 1
invokedynamic run(Lcom/oracle/truffle/api/library/test/AcceptsTest;Ljava/lang/Object;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
com/oracle/truffle/api/library/test/AcceptsTest.lambda$0(Ljava/lang/Object;)V (7)
()V
invokestatic com.oracle.truffle.api.library.test.AcceptsTest.assertAssertionError:(Ljava/lang/Runnable;)V
3: StackMap locals: java.lang.Object
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/api/library/test/AcceptsTest;
1 4 1 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.junit.Test()
private void lambda$0(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
ldc Lcom/oracle/truffle/api/library/test/AcceptsTest$AcceptsTestLibrary;
aload 1
invokevirtual com.oracle.truffle.api.library.test.AcceptsTest.createLibrary:(Ljava/lang/Class;Ljava/lang/Object;)Lcom/oracle/truffle/api/library/Library;
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/library/test/AcceptsTest;
}
SourceFile: "AcceptsTest.java"
NestMembers:
com.oracle.truffle.api.library.test.AcceptsTest$AcceptsTestLibrary com.oracle.truffle.api.library.test.AcceptsTest$CustomAccepts1 com.oracle.truffle.api.library.test.AcceptsTest$CustomAccepts2 com.oracle.truffle.api.library.test.AcceptsTest$ErrorAccepts1 com.oracle.truffle.api.library.test.AcceptsTest$InvalidAccepts1
InnerClasses:
abstract AcceptsTestLibrary = com.oracle.truffle.api.library.test.AcceptsTest$AcceptsTestLibrary of com.oracle.truffle.api.library.test.AcceptsTest
CustomAccepts1 = com.oracle.truffle.api.library.test.AcceptsTest$CustomAccepts1 of com.oracle.truffle.api.library.test.AcceptsTest
CustomAccepts2 = com.oracle.truffle.api.library.test.AcceptsTest$CustomAccepts2 of com.oracle.truffle.api.library.test.AcceptsTest
ErrorAccepts1 = com.oracle.truffle.api.library.test.AcceptsTest$ErrorAccepts1 of com.oracle.truffle.api.library.test.AcceptsTest
InvalidAccepts1 = com.oracle.truffle.api.library.test.AcceptsTest$InvalidAccepts1 of com.oracle.truffle.api.library.test.AcceptsTest
public final TestRun = com.oracle.truffle.api.test.AbstractParametrizedLibraryTest$TestRun of com.oracle.truffle.api.test.AbstractParametrizedLibraryTest
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Parameters = org.junit.runners.Parameterized$Parameters of org.junit.runners.Parameterized
RuntimeVisibleAnnotations:
org.junit.runner.RunWith(value = Lorg/junit/runners/Parameterized;)