klyn.reflection.Method.operator call
method
public operator call(args as Object[]) as Object throws Exception:
Description

Direct call operator.

Parameters
  • args Method arguments.
Returns

Result as Object. klyn import klyn.reflection method = MyClass.class.getMethod("process") print(method([]))

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