class com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayAssertions extends com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayLibrary
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayAssertions
super_class: com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayLibrary
{
private com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayLibrary delegate;
descriptor: Lcom/oracle/truffle/api/library/test/LibraryAssertionsTest$ArrayLibrary;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/api/library/test/LibraryAssertionsTest;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayAssertions.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayLibrary);
descriptor: (Lcom/oracle/truffle/api/library/test/LibraryAssertionsTest$ArrayLibrary;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayLibrary.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayAssertions.delegate:Lcom/oracle/truffle/api/library/test/LibraryAssertionsTest$ArrayLibrary;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/library/test/LibraryAssertionsTest$ArrayAssertions;
0 3 1 delegate Lcom/oracle/truffle/api/library/test/LibraryAssertionsTest$ArrayLibrary;
MethodParameters:
Name Flags
delegate
public boolean isArray(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayAssertions.delegate:Lcom/oracle/truffle/api/library/test/LibraryAssertionsTest$ArrayLibrary;
aload 1
invokevirtual com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayLibrary.isArray:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/library/test/LibraryAssertionsTest$ArrayAssertions;
0 1 1 receiver Ljava/lang/Object;
MethodParameters:
Name Flags
receiver
public int read(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayLibrary.read:(Ljava/lang/Object;I)I
istore 3
start local 3 1: getstatic com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayAssertions.$assertionsDisabled:Z
ifne 2
aload 0
getfield com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayAssertions.delegate:Lcom/oracle/truffle/api/library/test/LibraryAssertionsTest$ArrayLibrary;
aload 1
invokevirtual com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayLibrary.isArray:(Ljava/lang/Object;)Z
ifne 2
new java.lang.AssertionError
dup
ldc "if read was successful the receiver must be of type array"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/library/test/LibraryAssertionsTest$ArrayAssertions;
0 3 1 receiver Ljava/lang/Object;
0 3 2 index I
1 3 3 result I
MethodParameters:
Name Flags
receiver
index
public boolean accepts(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayAssertions.delegate:Lcom/oracle/truffle/api/library/test/LibraryAssertionsTest$ArrayLibrary;
aload 1
invokevirtual com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayLibrary.accepts:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/library/test/LibraryAssertionsTest$ArrayAssertions;
0 1 1 receiver Ljava/lang/Object;
MethodParameters:
Name Flags
receiver
}
SourceFile: "LibraryAssertionsTest.java"
NestHost: com.oracle.truffle.api.library.test.LibraryAssertionsTest
InnerClasses:
ArrayAssertions = com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayAssertions of com.oracle.truffle.api.library.test.LibraryAssertionsTest
public abstract ArrayLibrary = com.oracle.truffle.api.library.test.LibraryAssertionsTest$ArrayLibrary of com.oracle.truffle.api.library.test.LibraryAssertionsTest
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node