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

Direct call operator.

Parameters
ParameterDescription
argsMethod 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 = MyClass.class.getMethod("process")
print(method([]))