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

Direct call operator.

Parameters
ParameterDescription
argsConstructor arguments as an Object[].
Returns

New instance.

Throws
  • Exception if argument binding or constructor execution fails.
Example
ctor = User.type.getConstructor()
user = ctor([]) as User