klyn.reflection.Constructor.operator call
method

    public operator call(args as Object[]) as Object throws Exception:

Description

Direct call operator.

Parameters

- args Constructor arguments.

Returns

New instance. ```klyn import klyn.reflection ctor = MyClass.class.getConstructors()[0] print(ctor([]))` ``

Throws

- Exception if argument binding fails or the invoked constructor, method, or function throws an exception.