fun <T : ContractState> inputsOfType(clazz: Class<T>): List<T>
Helper to simplify getting all inputs states of a particular class, interface, or base class.
clazz
- The class type used for filtering via an Class.isInstance check.
clazz must be an extension of ContractState.
Return
the possibly empty list of inputs matching the clazz restriction.
fun <reified T : ContractState> inputsOfType(): List<T>