Top Description Methods
org.graalvm.polyglot.proxy

public Interface ProxyInstantiable

extends Proxy
Annotations
@FunctionalInterface
Imports
org.graalvm.polyglot.Value

Interface to be implemented to mimic guest language objects that are instantiable.
Since
19.0
See Also
Proxy

Method Summary

Modifier and TypeMethod and Description
public Object
newInstance(Value... arguments)

Creates a new instance of the object with the given arguments.

Method Detail

newInstanceback to summary
public Object newInstance(Value... arguments)

Creates a new instance of the object with the given arguments.

Exceptions
UnsupportedOperationException:
if the proxy cannot be instantiated with the given arguments.
Since
19.0