@Override
        public boolean hasChildren(Object element) {
            if (!allowFoldersOnly || element instanceof DBNLocalFolder) {
                return !ArrayUtils.isEmpty(getCachedChildren((DBNNode) element));
            } else {
                return false;
            }
        }
A {@link DBNNode}-oriented specialization of {@link BreadcrumbViewer}.
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/navigator/breadcrumb/NodeBreadcrumbViewer.java