klyn.reflection.Method.operator call
method

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

Description

Direct call operator.

Parameters

Parameter | Description
--- | ---
`args` | Method arguments.

Returns

Result as Object.

Throws

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

Example

    import klyn.reflection

    method = type(Application).getMethod("time")
    print(method([] as Object[]))