@Override
        public boolean select(Viewer viewer, Object parentElement, Object element) {
            return (element instanceof DBPNamedObject namedObject && matches(namedObject.getName())) ||
                (element instanceof DBPObjectWithDescription owd && matches(owd.getDescription()));
        }
Searcher. Filters elements by name and description
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/navigator/itemlist/ObjectListControl.java