final class com.oracle.truffle.polyglot.HostInteropErrors
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.polyglot.HostInteropErrors
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/polyglot/HostInteropErrors;
static java.lang.RuntimeException nullCoercion(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.reflect.Type);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/reflect/Type;)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "Cannot convert null value %s to Java type '%s'."
iconst_2
anewarray java.lang.Object
dup
iconst_0
1: aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_1
2: aload 2
invokeinterface java.lang.reflect.Type.getTypeName:()Ljava/lang/String;
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.nullPointer:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 languageContext Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 4 1 nullValue Ljava/lang/Object;
0 4 2 targetType Ljava/lang/reflect/Type;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
languageContext
nullValue
targetType
static java.lang.RuntimeException cannotConvertPrimitive(com.oracle.truffle.polyglot.PolyglotLanguageContext, , java.lang.Class<?>);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic com.oracle.truffle.polyglot.ToHostNode.isPrimitiveTarget:(Ljava/lang/Class;)Z
ifeq 3
1: ldc "Invalid or lossy primitive coercion."
astore 3
start local 3 2: goto 4
end local 3 3: StackMap locals:
StackMap stack:
ldc "Unsupported target type."
astore 3
start local 3 4: StackMap locals: java.lang.String
StackMap stack:
ldc "Cannot convert %s to Java type '%s': %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
5: aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_1
6: aload 2
invokevirtual java.lang.Class.getTypeName:()Ljava/lang/String;
aastore
dup
iconst_2
7: aload 3
aastore
8: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.classCast:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 languageContext Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 9 1 value Ljava/lang/Object;
0 9 2 targetType Ljava/lang/Class<*>;
2 3 3 reason Ljava/lang/String;
4 9 3 reason Ljava/lang/String;
Signature: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Class<*>;)Ljava/lang/RuntimeException;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
languageContext
value
targetType
static java.lang.RuntimeException cannotConvert(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.reflect.Type, java.lang.String);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/reflect/Type;Ljava/lang/String;)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "Cannot convert %s to Java type '%s': %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
1: aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_1
2: aload 2
invokeinterface java.lang.reflect.Type.getTypeName:()Ljava/lang/String;
aastore
dup
iconst_2
3: aload 3
aastore
4: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.classCast:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 languageContext Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 5 1 value Ljava/lang/Object;
0 5 2 targetType Ljava/lang/reflect/Type;
0 5 3 reason Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
languageContext
value
targetType
reason
static java.lang.RuntimeException invalidListIndex(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.reflect.Type, int);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/reflect/Type;I)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "Invalid index %s for List<%s> %s."
iconst_3
anewarray java.lang.Object
dup
iconst_0
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 2
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatComponentType:(Ljava/lang/reflect/Type;)Ljava/lang/Object;
aastore
dup
iconst_2
aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.arrayIndexOutOfBounds:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 2 1 receiver Ljava/lang/Object;
0 2 2 componentType Ljava/lang/reflect/Type;
0 2 3 index I
1 2 4 message Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
receiver
componentType
index
static java.lang.RuntimeException invalidArrayIndex(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.reflect.Type, int);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/reflect/Type;I)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "Invalid array index %s for %s[] %s."
iconst_3
anewarray java.lang.Object
dup
iconst_0
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 2
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatComponentType:(Ljava/lang/reflect/Type;)Ljava/lang/Object;
aastore
dup
iconst_2
aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.arrayIndexOutOfBounds:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 2 1 receiver Ljava/lang/Object;
0 2 2 componentType Ljava/lang/reflect/Type;
0 2 3 index I
1 2 4 message Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
receiver
componentType
index
private static java.lang.Object formatComponentType(java.lang.reflect.Type);
descriptor: (Ljava/lang/reflect/Type;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
ldc Ljava/lang/Object;
if_acmpne 2
StackMap locals:
StackMap stack:
1: ldc "Object"
goto 3
StackMap locals:
StackMap stack:
2: aload 0
invokeinterface java.lang.reflect.Type.getTypeName:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 componentType Ljava/lang/reflect/Type;
MethodParameters:
Name Flags
componentType
static java.lang.RuntimeException arrayReadUnsupported(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.reflect.Type);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/reflect/Type;)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: ldc "Unsupported array read operation for %s[] %s."
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatComponentType:(Ljava/lang/reflect/Type;)Ljava/lang/Object;
aastore
dup
iconst_1
aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.unsupported:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 2 1 receiver Ljava/lang/Object;
0 2 2 componentType Ljava/lang/reflect/Type;
1 2 3 message Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
receiver
componentType
static java.lang.RuntimeException listUnsupported(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.reflect.Type, java.lang.String);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/reflect/Type;Ljava/lang/String;)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "Unsupported operation %s for List<%s> %s."
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 2
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatComponentType:(Ljava/lang/reflect/Type;)Ljava/lang/Object;
aastore
dup
iconst_2
aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.unsupported:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 2 1 receiver Ljava/lang/Object;
0 2 2 componentType Ljava/lang/reflect/Type;
0 2 3 operation Ljava/lang/String;
1 2 4 message Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
receiver
componentType
operation
static java.lang.RuntimeException mapUnsupported(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.reflect.Type, java.lang.reflect.Type, java.lang.String);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;Ljava/lang/String;)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: ldc "Unsupported operation %s for Map<%s, %s> %s."
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 2
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatComponentType:(Ljava/lang/reflect/Type;)Ljava/lang/Object;
aastore
dup
iconst_2
aload 3
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatComponentType:(Ljava/lang/reflect/Type;)Ljava/lang/Object;
aastore
dup
iconst_3
aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 5
start local 5 1: aload 5
invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.unsupported:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 2 1 receiver Ljava/lang/Object;
0 2 2 keyType Ljava/lang/reflect/Type;
0 2 3 valueType Ljava/lang/reflect/Type;
0 2 4 operation Ljava/lang/String;
1 2 5 message Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
receiver
keyType
valueType
operation
static java.lang.RuntimeException invalidMapValue(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.reflect.Type, java.lang.reflect.Type, java.lang.Object, java.lang.Object);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: ldc "Invalid value %s for Map<%s, %s> %s and identifier '%s'."
iconst_5
anewarray java.lang.Object
dup
iconst_0
1: aload 0
aload 5
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_1
aload 2
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatComponentType:(Ljava/lang/reflect/Type;)Ljava/lang/Object;
aastore
dup
iconst_2
aload 3
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatComponentType:(Ljava/lang/reflect/Type;)Ljava/lang/Object;
aastore
dup
iconst_3
aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_4
aload 4
aastore
2: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
3: invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.classCast:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 4 1 receiver Ljava/lang/Object;
0 4 2 keyType Ljava/lang/reflect/Type;
0 4 3 valueType Ljava/lang/reflect/Type;
0 4 4 identifier Ljava/lang/Object;
0 4 5 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
receiver
keyType
valueType
identifier
value
static java.lang.RuntimeException invalidMapIdentifier(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.reflect.Type, java.lang.reflect.Type, java.lang.Object);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;Ljava/lang/Object;)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
instanceof java.lang.Number
ifne 1
aload 4
instanceof java.lang.String
ifeq 5
1: StackMap locals:
StackMap stack:
ldc "Invalid or unmodifiable value for identifier '%s' for Map<%s, %s> %s."
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 2
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatComponentType:(Ljava/lang/reflect/Type;)Ljava/lang/Object;
aastore
dup
iconst_2
2: aload 3
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatComponentType:(Ljava/lang/reflect/Type;)Ljava/lang/Object;
aastore
dup
iconst_3
aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
4: invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.illegalArgument:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
5: StackMap locals:
StackMap stack:
ldc "Illegal identifier type '%s' for Map<%s, %s> %s."
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 4
ifnonnull 6
ldc "null"
goto 7
StackMap locals: com.oracle.truffle.polyglot.PolyglotLanguageContext java.lang.Object java.lang.reflect.Type java.lang.reflect.Type java.lang.Object
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int
6: aload 4
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getTypeName:()Ljava/lang/String;
StackMap locals: com.oracle.truffle.polyglot.PolyglotLanguageContext java.lang.Object java.lang.reflect.Type java.lang.reflect.Type java.lang.Object
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
7: aastore
dup
iconst_1
aload 2
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatComponentType:(Ljava/lang/reflect/Type;)Ljava/lang/Object;
aastore
dup
iconst_2
8: aload 3
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatComponentType:(Ljava/lang/reflect/Type;)Ljava/lang/Object;
aastore
dup
iconst_3
aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
9: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
10: invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.illegalArgument:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 11 1 receiver Ljava/lang/Object;
0 11 2 keyType Ljava/lang/reflect/Type;
0 11 3 valueType Ljava/lang/reflect/Type;
0 11 4 identifier Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
receiver
keyType
valueType
identifier
static java.lang.RuntimeException invalidListValue(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.reflect.Type, int, java.lang.Object);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/reflect/Type;ILjava/lang/Object;)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: ldc "Invalid value %s for List<%s> %s and index %s."
iconst_4
anewarray java.lang.Object
dup
iconst_0
1: aload 0
aload 4
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_1
aload 2
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatComponentType:(Ljava/lang/reflect/Type;)Ljava/lang/Object;
aastore
dup
iconst_2
aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_3
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
2: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
3: invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.classCast:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 4 1 receiver Ljava/lang/Object;
0 4 2 componentType Ljava/lang/reflect/Type;
0 4 3 identifier I
0 4 4 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
receiver
componentType
identifier
value
static java.lang.RuntimeException invalidExecuteArgumentType(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.Object[]);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatArgs:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;[Ljava/lang/Object;)[Ljava/lang/String;
astore 3
start local 3 1: ldc "Invalid argument when executing %s with arguments %s."
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_1
aload 3
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
start local 4 2: aload 4
invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.illegalArgument:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 3 1 receiver Ljava/lang/Object;
0 3 2 arguments [Ljava/lang/Object;
1 3 3 formattedArgs [Ljava/lang/String;
2 3 4 message Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
receiver
arguments
static java.lang.RuntimeException invalidInstantiateArgumentType(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.Object[]);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatArgs:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;[Ljava/lang/Object;)[Ljava/lang/String;
astore 3
start local 3 1: ldc "Invalid argument when instantiating %s with arguments %s."
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_1
aload 3
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
start local 4 2: aload 4
invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.illegalArgument:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 3 1 receiver Ljava/lang/Object;
0 3 2 arguments [Ljava/lang/Object;
1 3 3 formattedArgs [Ljava/lang/String;
2 3 4 message Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
receiver
arguments
static java.lang.RuntimeException invalidInstantiateArity(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.Object[], int, int);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;[Ljava/lang/Object;II)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 2
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatArgs:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;[Ljava/lang/Object;)[Ljava/lang/String;
astore 5
start local 5 1: ldc "Invalid argument count when instantiating %s with arguments %s. Expected %s argument(s) but got %s."
iconst_4
anewarray java.lang.Object
dup
iconst_0
2: aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_1
aload 5
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aastore
dup
iconst_2
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 6
start local 6 4: aload 6
invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.illegalArgument:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 5 1 receiver Ljava/lang/Object;
0 5 2 arguments [Ljava/lang/Object;
0 5 3 expected I
0 5 4 actual I
1 5 5 formattedArgs [Ljava/lang/String;
4 5 6 message Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
receiver
arguments
expected
actual
static java.lang.RuntimeException invalidExecuteArity(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.Object[], int, int);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;[Ljava/lang/Object;II)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 2
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.formatArgs:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;[Ljava/lang/Object;)[Ljava/lang/String;
astore 5
start local 5 1: ldc "Invalid argument count when executing %s with arguments %s. Expected %s argument(s) but got %s."
iconst_4
anewarray java.lang.Object
dup
iconst_0
2: aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_1
aload 5
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aastore
dup
iconst_2
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 6
start local 6 4: aload 6
invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.illegalArgument:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 5 1 receiver Ljava/lang/Object;
0 5 2 arguments [Ljava/lang/Object;
0 5 3 expected I
0 5 4 actual I
1 5 5 formattedArgs [Ljava/lang/String;
4 5 6 message Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
receiver
arguments
expected
actual
static java.lang.RuntimeException invokeUnsupported(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.String);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: ldc "Unsupported operation identifier '%s' and object %s. Identifier is not executable or instantiable."
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.unsupported:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 2 1 receiver Ljava/lang/Object;
0 2 2 identifier Ljava/lang/String;
1 2 3 message Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
receiver
identifier
static java.lang.RuntimeException executeUnsupported(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: ldc "Unsupported operation for object %s. Object is not executable or instantiable."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
invokestatic com.oracle.truffle.polyglot.PolyglotEngineException.unsupported:(Ljava/lang/String;)Lcom/oracle/truffle/polyglot/PolyglotEngineException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 2 1 receiver Ljava/lang/Object;
1 2 2 message Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
receiver
private static java.lang.String[] formatArgs(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object[]);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;[Ljava/lang/Object;)[Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
arraylength
anewarray java.lang.String
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: java.lang.String[] int
StackMap stack:
aload 2
iload 3
aload 0
aload 1
iload 3
aaload
invokestatic com.oracle.truffle.polyglot.HostInteropErrors.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
aastore
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 1
arraylength
if_icmplt 3
end local 3 6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 7 1 arguments [Ljava/lang/Object;
1 7 2 formattedArgs [Ljava/lang/String;
2 6 3 i I
MethodParameters:
Name Flags
context
arguments
static java.lang.String getValueInfo(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.PolyglotValue.getValueInfo:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 languageContext Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 1 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
languageContext
value
static com.oracle.truffle.api.interop.UnsupportedTypeException unsupportedTypeException(java.lang.Object[], java.lang.Throwable);
descriptor: ([Ljava/lang/Object;Ljava/lang/Throwable;)Lcom/oracle/truffle/api/interop/UnsupportedTypeException;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokestatic com.oracle.truffle.api.interop.UnsupportedTypeException.create:([Ljava/lang/Object;Ljava/lang/String;)Lcom/oracle/truffle/api/interop/UnsupportedTypeException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 args [Ljava/lang/Object;
0 1 1 e Ljava/lang/Throwable;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
args
e
static com.oracle.truffle.api.interop.UnsupportedTypeException unsupportedTypeException(java.lang.Object, java.lang.Throwable);
descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)Lcom/oracle/truffle/api/interop/UnsupportedTypeException;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
aload 1
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokestatic com.oracle.truffle.api.interop.UnsupportedTypeException.create:([Ljava/lang/Object;Ljava/lang/String;)Lcom/oracle/truffle/api/interop/UnsupportedTypeException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 arg Ljava/lang/Object;
0 1 1 e Ljava/lang/Throwable;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
arg
e
}
SourceFile: "HostInteropErrors.java"
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives