class com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier extends com.oracle.graal.python.tck.PythonProvider$PResultVerifier
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier
super_class: com.oracle.graal.python.tck.PythonProvider$PResultVerifier
{
private static final com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier INSTANCE;
descriptor: Lcom/oracle/graal/python/tck/PythonProvider$PSequenceMultiplicationVerifier;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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=2, locals=0, args_size=0
0: ldc Lcom/oracle/graal/python/tck/PythonProvider;
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.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.$assertionsDisabled:Z
3: new com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier
dup
invokespecial com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.<init>:()V
putstatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.INSTANCE:Lcom/oracle/graal/python/tck/PythonProvider$PSequenceMultiplicationVerifier;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.graal.python.tck.PythonProvider$PResultVerifier.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/graal/python/tck/PythonProvider$PSequenceMultiplicationVerifier;
public void accept(org.graalvm.polyglot.tck.ResultVerifier$SnippetRun);
descriptor: (Lorg/graalvm/polyglot/tck/ResultVerifier$SnippetRun;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.polyglot.tck.ResultVerifier$SnippetRun.getParameters:()Ljava/util/List;
astore 2
start local 2 1: getstatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.$assertionsDisabled:Z
ifne 2
aload 2
invokeinterface java.util.List.size:()I
iconst_2
if_icmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: java.util.List
StackMap stack:
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Value
astore 3
start local 3 3: aload 2
iconst_1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Value
astore 4
start local 4 4: aload 3
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isSequence:(Lorg/graalvm/polyglot/Value;)Z
ifeq 11
aload 4
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isNumber:(Lorg/graalvm/polyglot/Value;)Z
ifeq 11
5: aload 1
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.hasMemoryError:(Lorg/graalvm/polyglot/tck/ResultVerifier$SnippetRun;)Z
ifne 29
6: aload 4
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isInteger:(Lorg/graalvm/polyglot/Value;)Z
ifne 7
aload 4
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isNegativeNumber:(Lorg/graalvm/polyglot/Value;)Z
ifeq 9
7: StackMap locals: org.graalvm.polyglot.Value org.graalvm.polyglot.Value
StackMap stack:
invokestatic org.graalvm.polyglot.tck.ResultVerifier.getDefaultResultVerifier:()Lorg/graalvm/polyglot/tck/ResultVerifier;
aload 1
invokeinterface org.graalvm.polyglot.tck.ResultVerifier.accept:(Lorg/graalvm/polyglot/tck/ResultVerifier$SnippetRun;)V
8: goto 29
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.polyglot.tck.ResultVerifier$SnippetRun.getException:()Lorg/graalvm/polyglot/PolyglotException;
ifnonnull 29
10: new java.lang.AssertionError
dup
ldc "<sequence> * <non-integer> should give an error."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
11: StackMap locals:
StackMap stack:
aload 3
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isNumber:(Lorg/graalvm/polyglot/Value;)Z
ifeq 18
aload 4
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isSequence:(Lorg/graalvm/polyglot/Value;)Z
ifeq 18
12: aload 1
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.hasMemoryError:(Lorg/graalvm/polyglot/tck/ResultVerifier$SnippetRun;)Z
ifne 29
13: aload 3
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isInteger:(Lorg/graalvm/polyglot/Value;)Z
ifne 14
aload 3
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isNegativeNumber:(Lorg/graalvm/polyglot/Value;)Z
ifeq 16
14: StackMap locals:
StackMap stack:
invokestatic org.graalvm.polyglot.tck.ResultVerifier.getDefaultResultVerifier:()Lorg/graalvm/polyglot/tck/ResultVerifier;
aload 1
invokeinterface org.graalvm.polyglot.tck.ResultVerifier.accept:(Lorg/graalvm/polyglot/tck/ResultVerifier$SnippetRun;)V
15: goto 29
16: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.polyglot.tck.ResultVerifier$SnippetRun.getException:()Lorg/graalvm/polyglot/PolyglotException;
ifnonnull 29
17: new java.lang.AssertionError
dup
ldc "<non-integer> * <sequence> should give an error."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
18: StackMap locals:
StackMap stack:
aload 3
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isNumber:(Lorg/graalvm/polyglot/Value;)Z
ifeq 19
aload 4
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isMapping:(Lorg/graalvm/polyglot/Value;)Z
ifne 20
StackMap locals:
StackMap stack:
19: aload 4
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isNumber:(Lorg/graalvm/polyglot/Value;)Z
ifeq 22
aload 3
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isMapping:(Lorg/graalvm/polyglot/Value;)Z
ifeq 22
20: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.polyglot.tck.ResultVerifier$SnippetRun.getException:()Lorg/graalvm/polyglot/PolyglotException;
ifnull 29
21: new java.lang.AssertionError
dup
ldc "Multipliation with mapping should give an error."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
22: StackMap locals:
StackMap stack:
aload 3
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isSequence:(Lorg/graalvm/polyglot/Value;)Z
ifeq 26
aload 4
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isSequence:(Lorg/graalvm/polyglot/Value;)Z
ifeq 26
23: aload 1
invokevirtual org.graalvm.polyglot.tck.ResultVerifier$SnippetRun.getException:()Lorg/graalvm/polyglot/PolyglotException;
ifnonnull 25
24: new java.lang.AssertionError
dup
ldc "<sequence> * <sequence> should give an error."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
25: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.polyglot.tck.ResultVerifier$SnippetRun.getException:()Lorg/graalvm/polyglot/PolyglotException;
athrow
26: StackMap locals:
StackMap stack:
aload 3
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isNumber:(Lorg/graalvm/polyglot/Value;)Z
ifeq 27
aload 4
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isScalarVector:(Lorg/graalvm/polyglot/Value;)Z
ifne 29
StackMap locals:
StackMap stack:
27: aload 3
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isScalarVector:(Lorg/graalvm/polyglot/Value;)Z
ifeq 28
aload 4
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isNumber:(Lorg/graalvm/polyglot/Value;)Z
ifne 29
28: StackMap locals:
StackMap stack:
invokestatic org.graalvm.polyglot.tck.ResultVerifier.getDefaultResultVerifier:()Lorg/graalvm/polyglot/tck/ResultVerifier;
aload 1
invokeinterface org.graalvm.polyglot.tck.ResultVerifier.accept:(Lorg/graalvm/polyglot/tck/ResultVerifier$SnippetRun;)V
29: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/oracle/graal/python/tck/PythonProvider$PSequenceMultiplicationVerifier;
0 30 1 snippetRun Lorg/graalvm/polyglot/tck/ResultVerifier$SnippetRun;
1 30 2 parameters Ljava/util/List<+Lorg/graalvm/polyglot/Value;>;
3 30 3 par0 Lorg/graalvm/polyglot/Value;
4 30 4 par1 Lorg/graalvm/polyglot/Value;
Exceptions:
throws org.graalvm.polyglot.PolyglotException
MethodParameters:
Name Flags
snippetRun
protected static boolean isScalarVector(org.graalvm.polyglot.Value);
descriptor: (Lorg/graalvm/polyglot/Value;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isNumber:(Lorg/graalvm/polyglot/Value;)Z
ifeq 1
aload 0
invokevirtual org.graalvm.polyglot.Value.hasArrayElements:()Z
ifeq 1
aload 0
invokevirtual org.graalvm.polyglot.Value.getArraySize:()J
lconst_1
lcmp
ifne 1
aload 0
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isMapping:(Lorg/graalvm/polyglot/Value;)Z
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 val Lorg/graalvm/polyglot/Value;
MethodParameters:
Name Flags
val
protected static boolean isNumber(org.graalvm.polyglot.Value);
descriptor: (Lorg/graalvm/polyglot/Value;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.polyglot.Value.isNumber:()Z
ifne 1
aload 0
invokevirtual org.graalvm.polyglot.Value.isBoolean:()Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 par0 Lorg/graalvm/polyglot/Value;
MethodParameters:
Name Flags
par0
protected static boolean isNegativeNumber(org.graalvm.polyglot.Value);
descriptor: (Lorg/graalvm/polyglot/Value;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.polyglot.Value.isNumber:()Z
ifeq 1
aload 0
invokevirtual org.graalvm.polyglot.Value.fitsInLong:()Z
ifeq 1
aload 0
invokevirtual org.graalvm.polyglot.Value.asLong:()J
lconst_0
lcmp
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 par0 Lorg/graalvm/polyglot/Value;
MethodParameters:
Name Flags
par0
protected static boolean isSequence(org.graalvm.polyglot.Value);
descriptor: (Lorg/graalvm/polyglot/Value;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isNumber:(Lorg/graalvm/polyglot/Value;)Z
ifne 2
aload 0
invokevirtual org.graalvm.polyglot.Value.isString:()Z
ifne 1
aload 0
invokevirtual org.graalvm.polyglot.Value.hasArrayElements:()Z
ifeq 2
aload 0
invokestatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.isMapping:(Lorg/graalvm/polyglot/Value;)Z
ifne 2
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 par0 Lorg/graalvm/polyglot/Value;
MethodParameters:
Name Flags
par0
protected static boolean isMapping(org.graalvm.polyglot.Value);
descriptor: (Lorg/graalvm/polyglot/Value;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.polyglot.Value.hasMembers:()Z
ifeq 1
aload 0
invokevirtual org.graalvm.polyglot.Value.getMetaObject:()Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.toString:()Ljava/lang/String;
ldc "dict"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 par0 Lorg/graalvm/polyglot/Value;
MethodParameters:
Name Flags
par0
private static boolean hasMemoryError(org.graalvm.polyglot.tck.ResultVerifier$SnippetRun);
descriptor: (Lorg/graalvm/polyglot/tck/ResultVerifier$SnippetRun;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.polyglot.tck.ResultVerifier$SnippetRun.getException:()Lorg/graalvm/polyglot/PolyglotException;
astore 1
start local 1 1: aload 1
ifnull 4
aload 1
invokevirtual org.graalvm.polyglot.PolyglotException.isGuestException:()Z
ifeq 4
2: ldc "MemoryError"
aload 1
invokevirtual org.graalvm.polyglot.PolyglotException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
aload 1
invokevirtual org.graalvm.polyglot.PolyglotException.getMessage:()Ljava/lang/String;
ldc "OverflowError"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 3
iconst_0
ireturn
StackMap locals: org.graalvm.polyglot.PolyglotException
StackMap stack:
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 snippetRun Lorg/graalvm/polyglot/tck/ResultVerifier$SnippetRun;
1 5 1 exception Lorg/graalvm/polyglot/PolyglotException;
MethodParameters:
Name Flags
snippetRun
private static boolean isInteger(org.graalvm.polyglot.Value);
descriptor: (Lorg/graalvm/polyglot/Value;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.polyglot.Value.isNumber:()Z
ifeq 1
aload 0
invokevirtual org.graalvm.polyglot.Value.fitsInInt:()Z
ifne 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual org.graalvm.polyglot.Value.isBoolean:()Z
ifne 2
iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 par0 Lorg/graalvm/polyglot/Value;
MethodParameters:
Name Flags
par0
public void accept(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.graalvm.polyglot.tck.ResultVerifier$SnippetRun
invokevirtual com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.accept:(Lorg/graalvm/polyglot/tck/ResultVerifier$SnippetRun;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "PythonProvider.java"
NestHost: com.oracle.graal.python.tck.PythonProvider
InnerClasses:
private abstract PResultVerifier = com.oracle.graal.python.tck.PythonProvider$PResultVerifier of com.oracle.graal.python.tck.PythonProvider
private PSequenceMultiplicationVerifier = com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier of com.oracle.graal.python.tck.PythonProvider
public final SnippetRun = org.graalvm.polyglot.tck.ResultVerifier$SnippetRun of org.graalvm.polyglot.tck.ResultVerifier