- fillInStackTrace() - Method in exception com.oracle.truffle.espresso.polyglot.ForeignException
-
- fillInStackTrace() - Method in exception com.oracle.truffle.espresso.polyglot.InteropException
-
No stack trace for interop exceptions.
- fitsInBigInteger(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver represents a number and its value fits
in a Java BigInteger without loss of precision, else false.
- fitsInByte(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver represents a number and its value fits
in a Java byte primitive without loss of precision, else false.
- fitsInDouble(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver represents a number and its value fits
in a Java double primitive without loss of precision, else false.
- fitsInFloat(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver represents a number and its value fits
in a Java float primitive without loss of precision, else false.
- fitsInInt(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver represents a number and its value fits
in a Java int primitive without loss of precision, else false.
- fitsInLong(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver represents a number and its value fits
in a Java long primitive without loss of precision, else false.
- fitsInShort(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver represents a number and its value fits
in a Java short primitive without loss of precision, else false.
- ForeignException - Exception in com.oracle.truffle.espresso.polyglot
-
Handy wrapper for foreign exceptions.
- getActualArity() - Method in exception com.oracle.truffle.espresso.polyglot.ArityException
-
Returns the actual number of arguments provided by the foreign access.
- getArraySize(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns the array size of the receiver.
- getBufferSize(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns the buffer size of the receiver, in bytes.
- getByteOffset() - Method in exception com.oracle.truffle.espresso.polyglot.InvalidBufferOffsetException
-
Returns the start byte offset of the invalid access from the start of the buffer.
- getCause() - Method in exception com.oracle.truffle.espresso.polyglot.ForeignException
-
- getCause() - Method in exception com.oracle.truffle.espresso.polyglot.InteropException
-
Returns the cause of an interop exception.
- getDeclaringMetaObject(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns declaring meta object.
- getExceptionCause(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns the internal cause of the receiver.
- getExceptionExitStatus(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns exception exit status of the receiver.
- getExceptionMessage(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns exception message of the receiver.
- getExceptionStackTrace(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns the exception stack trace of the receiver that is of type exception.
- getExceptionType(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
- getExecutableName(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns executable name of the receiver.
- getExpectedMaxArity() - Method in exception com.oracle.truffle.espresso.polyglot.ArityException
-
Returns the maximum number of arguments that are expected.
- getExpectedMinArity() - Method in exception com.oracle.truffle.espresso.polyglot.ArityException
-
Returns the minimum number of arguments that are expected.
- getForeignExceptionObject() - Method in exception com.oracle.truffle.espresso.polyglot.ForeignException
-
Returns the original wrapped foreign exception.
- getHashEntriesIterator(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns the hash entries iterator for the receiver.
- getHashKeysIterator(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns the hash keys iterator for the receiver.
- getHashSize(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns the number of receiver entries.
- getHashValuesIterator(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns the hash values iterator for the receiver.
- getInvalidIndex() - Method in exception com.oracle.truffle.espresso.polyglot.InvalidArrayIndexException
-
Returns the invalid index that was used.
- getIterator(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns the iterator for the receiver.
- getIteratorNextElement(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns the next element in the iteration.
- getLength() - Method in exception com.oracle.truffle.espresso.polyglot.InvalidBufferOffsetException
-
- getMembers(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns an array of member name strings.
- getMessage() - Method in exception com.oracle.truffle.espresso.polyglot.ArityException
- getMessage() - Method in exception com.oracle.truffle.espresso.polyglot.ForeignException
-
- getMessage() - Method in exception com.oracle.truffle.espresso.polyglot.InvalidArrayIndexException
- getMessage() - Method in exception com.oracle.truffle.espresso.polyglot.InvalidBufferOffsetException
- getMessage() - Method in exception com.oracle.truffle.espresso.polyglot.StopIterationException
- getMessage() - Method in exception com.oracle.truffle.espresso.polyglot.UnknownIdentifierException
- getMessage() - Method in exception com.oracle.truffle.espresso.polyglot.UnknownKeyException
- getMessage() - Method in exception com.oracle.truffle.espresso.polyglot.UnsupportedMessageException
- getMetaObject(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns the metaobject that is associated with this value.
- getMetaQualifiedName(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns the qualified name of a metaobject as
string.
- getMetaSimpleName(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns the simple name of a metaobject as
string.
- getSuppliedValues() - Method in exception com.oracle.truffle.espresso.polyglot.UnsupportedTypeException
-
Returns the arguments of the foreign object access that were not supported by the foreign
Object.
- getUnknownIdentifier() - Method in exception com.oracle.truffle.espresso.polyglot.UnknownIdentifierException
-
Returns the identifier that could not be accessed.
- getUnknownKey() - Method in exception com.oracle.truffle.espresso.polyglot.UnknownKeyException
-
Returns the hash key that could not be accessed.
- GuestTypeConversion<T> - Interface in com.oracle.truffle.espresso.polyglot
-
- hasArrayElements(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver may have array elements.
- hasBufferElements(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver may have buffer elements.
- hasDeclaringMetaObject(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver has a declaring meta object.
- hasExceptionCause(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver is an exception with an attached internal cause.
- hasExceptionMessage(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver is an exception that has an exception message.
- hasExceptionStackTrace(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver is an exception and has a stack trace.
- hasExecutableName(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver has an executable name.
- hasHashEntries(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver may have hash entries.
- hasIdentity(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if and only if the receiver specifies identity, else
false.
- hasIterator(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver provides an iterator.
- hasIteratorNextElement(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver is an iterator which has more elements, else
false.
- hasMemberReadSideEffects(Object, String) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if reading a member may cause a side-effect.
- hasMembers(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver may have members.
- hasMemberWriteSideEffects(Object, String) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if writing a member may cause a side-effect, besides the write
operation of the member.
- hasMetaObject(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver value has a metaobject associated.
- identityHashCode(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns an identity hash code for the receiver if it has
identity.
- importObject(String) - Static method in class com.oracle.truffle.espresso.polyglot.Polyglot
-
Imports name from global Polyglot scope.
- importObject(String, Class<? extends T>) - Static method in class com.oracle.truffle.espresso.polyglot.Polyglot
-
Imports name from global Polyglot scope and
casts the result to the given class.
- initCause(Throwable) - Method in exception com.oracle.truffle.espresso.polyglot.ForeignException
-
- instantiate(Object, Object...) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Instantiates the receiver value with the given arguments.
- Interop - Class in com.oracle.truffle.espresso.polyglot
-
Provides access to the interoperability message protocol between Truffle languages.
- InteropException - Exception in com.oracle.truffle.espresso.polyglot
-
Common super class for exceptions that can occur when sending interop messages.
- InvalidArrayIndexException - Exception in com.oracle.truffle.espresso.polyglot
-
An exception thrown if an array does not contain a element with an index.
- InvalidBufferOffsetException - Exception in com.oracle.truffle.espresso.polyglot
-
An exception thrown if a buffer access if out of bounds.
- invokeMember(Object, String, Object...) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Invokes a member for a given receiver and arguments.
- invokeMemberWithCast(Class<T>, Object, String, Object...) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Invokes a member for a given receiver and arguments where the expected return target type is
passed in to assist the runtime in converting the result of the invocation.
- isArrayElementExisting(Object, long) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the array element is existing.
- isArrayElementInsertable(Object, long) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns
true if a given array element index is not existing and
insertable.
- isArrayElementModifiable(Object, long) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns
true if a given array element index is existing and
writable.
- isArrayElementReadable(Object, long) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns
true if a given array element is
readable.
- isArrayElementRemovable(Object, long) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns
true if a given array element index is existing and
removable.
- isArrayElementWritable(Object, long) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
- isBoolean(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver represents a boolean like value, else
false.
- isBufferWritable(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver is a modifiable buffer.
- isException(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver value represents a throwable exception/error.
- isExceptionIncompleteSource(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if receiver value represents an incomplete source exception.
- isExecutable(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver represents an executable value, else
false.
- isForeignObject(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Polyglot
-
Tests if an object is a foreign value, i.e.
- isHashEntryExisting(Object, Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if mapping for a given key is existing.
- isHashEntryInsertable(Object, Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns
true if mapping for the specified key does not exist and is
writable.
- isHashEntryModifiable(Object, Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns
true if mapping for the specified key exists and is
writable.
- isHashEntryReadable(Object, Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns
true if mapping for the specified key exists and is
readable.
- isHashEntryRemovable(Object, Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if mapping for the specified key exists and is removable.
- isHashEntryWritable(Object, Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
- isIdentical(Object, Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if two values represent the identical value, else
false.
- isInstantiable(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver represents an instantiable value, else
false.
- isIterator(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver represents an iterator.
- isMemberExisting(Object, String) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the member is existing.
- isMemberInsertable(Object, String) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns
true if a given member is not existing and
writable.
- isMemberInvocable(Object, String) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if a given member is invocable.
- isMemberModifiable(Object, String) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns
true if a given member is existing and
writable.
- isMemberReadable(Object, String) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns
true if a given member is
readable.
- isMemberRemovable(Object, String) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if a given member is existing and removable.
- isMemberWritable(Object, String) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
- isMetaInstance(Object, Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the given instance is of the provided receiver metaobject, else
false.
- isMetaObject(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver value represents a metaobject.
- isNull(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver represents a null like value, else
false.
- isNumber(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver represents a number value, else
false.
- isPointer(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver value represents a native pointer.
- isString(Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Returns true if the receiver represents a string value, else
false.
- readArrayElement(Object, long) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Reads the value of an array element by index.
- readBufferByte(Object, long) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Reads the byte from the receiver object at the given byte offset from the start of the
buffer.
- readBufferDouble(Object, ByteOrder, long) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Reads the double from the receiver object in the given byte order at the given byte offset
from the start of the buffer.
- readBufferFloat(Object, ByteOrder, long) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Reads the float from the receiver object in the given byte order at the given byte offset
from the start of the buffer.
- readBufferInt(Object, ByteOrder, long) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Reads the int from the receiver object in the given byte order at the given byte offset from
the start of the buffer.
- readBufferLong(Object, ByteOrder, long) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Reads the long from the receiver object in the given byte order at the given byte offset from
the start of the buffer.
- readBufferShort(Object, ByteOrder, long) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Reads the short from the receiver object in the given byte order at the given byte offset
from the start of the buffer.
- readHashValue(Object, Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Reads the value for the specified key.
- readHashValueOrDefault(Object, Object, Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Reads the value for the specified key or returns the defaultValue when the mapping
for the specified key does not exist or is not readable.
- readMember(Object, String) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Reads the value of a given member.
- removeArrayElement(Object, long) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Remove an array element from the receiver object.
- removeHashEntry(Object, Object) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Removes the mapping for a given key from the receiver.
- removeMember(Object, String) - Static method in class com.oracle.truffle.espresso.polyglot.Interop
-
Removes a member from the receiver object.