private boolean fillWithScopeExpansion(@NotNull Set<Object> elements, @NotNull String pattern) {
      addElementsByPattern(pattern, elements, myProgress, myCheckboxState);

      if (elements.isEmpty() && !myCheckboxState) {
        addElementsByPattern(pattern, elements, myProgress, true);
        return true;
      }
      return false;
    }
private boolean fillWithScopeExpansion(@NotNull Set<Object> elements, @NotNull String pattern)