Elide GraalVM25.6.0-elide.4
All types
Versions and modules

MutableTruffleString.AsManagedNode

Javaabstract classin com.oracle.truffle.api.stringssince 22.1

public abstract static class MutableTruffleString.AsManagedNode extends AbstractPublicNode
Inheritance
  1. Object
  2. Node
  3. AbstractPublicNode
  4. AsManagedNode
Enclosing type
MutableTruffleString

Node to get the given AbstractTruffleString as a managed MutableTruffleString, meaning that the resulting string's backing memory is not a native pointer. See execute(AbstractTruffleString, TruffleString.Encoding) for details.

Members shown

Methods3 + 26 inherited

MutableTruffleString execute(AbstractTruffleString, TruffleString.Encoding)

execute

abstractsince 22.1
public abstract MutableTruffleString execute(
    AbstractTruffleString a,
    TruffleString.Encoding expectedEncoding
)

If the given string is already a managed (i.e. not backed by a native pointer) string, return it. Otherwise, copy the string's native pointer content into a Java byte array and return a new string backed by the byte array.

Parameters

aAbstractTruffleString
No description.
expectedEncodingTruffleString.Encoding
No description.

Returns

MutableTruffleString
No description.
static MutableTruffleString.AsManagedNode create()

create

staticsince 22.1
public static MutableTruffleString.AsManagedNode create()

Create a new AsManagedNode.

static MutableTruffleString.AsManagedNode getUncached()

getUncached

staticsince 22.1
public static MutableTruffleString.AsManagedNode getUncached()

Get the uncached version of AsManagedNode.

Inherited members