protected static void addReferenceData(@NotNull PsiElement element,
                                         @NotNull List<? super ReferenceData> array,
                                         int startOffset,
                                         @NotNull String qClassName,
                                         @Nullable String staticMemberName) {
    TextRange range = element.getTextRange();
    array.add(
        new ReferenceData(
            range.getStartOffset() - startOffset,
            range.getEndOffset() - startOffset,
            qClassName, staticMemberName));
  }
protected static void addReferenceData(@NotNull PsiElement element,
                                         @NotNull List<? super ReferenceData> array,
                                         int startOffset,
                                         @NotNull String qClassName,
                                         @Nullable String staticMemberName)