fun <T : ContractState> referenceInputRefsOfType(clazz: Class<T>): List<StateAndRef<T>>
Helper to simplify getting all reference input 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 reference inputs StateAndRef matching the clazz restriction.
fun <reified T : ContractState> referenceInputRefsOfType(): List<StateAndRef<T>>