open fun <T : LinearState> linearHeadsOfType_(stateType: Class<T>): Map<UniqueIdentifier, StateAndRef<T>>
Returns the linearHeads only when the type of the state would be considered an instanceof the given type.