createFinder method Null safety

Finder createFinder(
  1. SerializableFinder finder,
  2. CreateFinderFactory finderFactory
)

Signature for functions that run the given finder and return the Element found, if any, or null otherwise.

Call finderFactory to create known, nested Finders from SerializableFinders.

Implementation

Finder createFinder(SerializableFinder finder, CreateFinderFactory finderFactory);