Base the EcoreUtil methods on Predicates
Current status
Several methods in EcoreUtils iterate over the EMF data structures, such as “pickinstanceof”. In such cases, functional programming is the method of choice to increase flexibility and generalitiy of the util methods.
Change
Rework the Util methods to be based on Java Predicates such that custom test can be defined by the caller. The current methods shall be adapted to define type-based predicates.
(from redmine: issue id 3727, created on 2019-05-07, closed on 2019-06-06)