onAllNodesOfType

Finds all nodes of type T. Convenience for onAllNodes(SwingMatcher.isOfType<T>()).

The returned collection carries T, so its nodes are fetched without naming the type a second time.