void (@NotNull String query) { assert SwingUtilities.isEventDispatchThread(); setEmptyText(query); if (query.equals(myQuery)) { myEmpty = query.isEmpty(); return; } if (myRunQuery != null) { myRunQuery.set(false); myRunQuery = null; loading(false); } removeGroup(); myQuery = query; if (!(myEmpty = query.isEmpty())) { handleQuery(query); } }