@Override
    public @NotNull List<CustomizableIntentionAction.RangeToHighlight> getRangesToHighlight(Project project, ProblemDescriptor descriptor) {
      PsiCodeBlock block = ObjectUtils.tryCast(descriptor.getStartElement(), PsiCodeBlock.class);
      TextRange range = getRange(block);
      if (range == null) return List.of();
      return List.of(new CustomizableIntentionAction.RangeToHighlight(
        block, range, EditorColors.SEARCH_RESULT_ATTRIBUTES));
    }
@Override
    public @NotNull List<CustomizableIntentionAction.RangeToHighlight> getRangesToHighlight(Project project, ProblemDescriptor descriptor)