graal-sdk 23.1.1
polyglot
org.graalvm.polyglot.proxy
ProxyInstantiable
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 Type
Method and Description
public
Object
newInstance
(
Value
... arguments
)
Creates a new instance of the object with the given arguments.
Method Detail
newInstance
back 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