private boolean isOverObjectStatistics(@NotNull DBNDatabaseNode node, @NotNull Tree tree, @NotNull Event event) {
        if (!DBWorkbench.getPlatform().getPreferenceStore().getBoolean(NavigatorPreferences.NAVIGATOR_SHOW_STATISTICS_INFO)) {
            return false;
        }

        if (!(node.getObject() instanceof DBPObjectStatistics statistics) || !statistics.hasStatistics() || statistics.getStatObjectSize() <= 0) {
            return false;
        }

        var treeItem = tree.getItem(new Point(event.x, event.y));
        if (treeItem == null) {
            return false;
        }

        Rectangle client = getClientArea(tree);
        Rectangle item = getItemBounds(client, treeItem);

        return event.x < item.x + item.width
            && event.x >= item.x + item.width - PERCENT_FILL_WIDTH
            && item.width >= PERCENT_FILL_WIDTH;
    }
Statistics node renderer.
Draws connection type marker next to the item name.
Draws item statistics in the right part.
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/navigator/database/StatisticsNavigatorNodeRenderer.java