boolean (@NotNull Set<Object> elements) { boolean scopeExpanded = false; try { scopeExpanded = fillWithScopeExpansion(elements, myPattern); String lowerCased = patternToLowerCase(myPattern); if (elements.isEmpty() && !lowerCased.equals(myPattern)) { scopeExpanded = fillWithScopeExpansion(elements, lowerCased); } } catch (ProcessCanceledException e) { throw e; } catch (Exception e) { LOG.error(e); } return scopeExpanded; }