klyn.reflection.Constructor.operator
method
public operator ()(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