public readonly property genericParameterCount as Int:
Returns the number of generic parameters declared by the base type.
print(ArrayList<Int>.type.genericParameterCount)