Interface ProxyInstantiable

All Superinterfaces:
Proxy
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ProxyInstantiable extends Proxy
Interface to be implemented to mimic guest language objects that are instantiable.
Since:
19.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    newInstance(Value... arguments)
    Creates a new instance of the object with the given arguments.
  • Method Details

    • newInstance

      Object newInstance(Value... arguments)
      Creates a new instance of the object with the given arguments.
      Throws:
      UnsupportedOperationException - if the proxy cannot be instantiated with the given arguments.
      Since:
      19.0