@NotNull
    private static Rectangle getItemBounds(@NotNull Rectangle client, @NotNull TreeItem item) {
        Rectangle bounds = item.getBounds();
        return new Rectangle(
            client.x + bounds.x + bounds.width,
            bounds.y,
            client.width - bounds.x - bounds.width,
            bounds.height
        );
    }
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