@Nullable
    private static PsiElement getLowestOffsetElement(@NotNull Collection<? extends PsiReferenceExpression> refs) {
      PsiElement firstElement = null;
      for (PsiReferenceExpression reference : refs) {
        if (firstElement == null || firstElement.getTextRange().getStartOffset() > reference.getTextRange().getStartOffset()) {
          firstElement = reference;
        }
      }
      return firstElement;
    }
@Nullable
    private static PsiElement getLowestOffsetElement(@NotNull Collection<? extends PsiReferenceExpression> refs)