klyn.reflection.TypeLoader.methodParameterCountAt
method

    public static methodParameterCountAt(typeName as String, methodIndex as Int) as Int:

Description

Returns the parameter count for one exact method overload.

Parameters

Parameter | Description
--- | ---
`typeName` | Reflected declaring type.
`methodIndex` | Zero-based method-overload index.

Returns

Number of parameters on that overload.

Example

    count = TypeLoader.methodParameterCountAt("Parser", 0)