public static <T extends PsiMember & PsiDocCommentOwner> Comparator<T> createSortIdenticalNamedMembersComparator(PsiElement place) {
    return Comparator
      .<T, Boolean>comparing(JavaCompletionUtil::isEffectivelyDeprecated)
      .thenComparing(CodeInsightUtil::isInnerClass)
      .thenComparing(new PsiProximityComparator(place))
      .thenComparing(CodeInsightUtil::compareQualifiedNames);
  }
public static <T extends PsiMember & PsiDocCommentOwner> Comparator<T> createSortIdenticalNamedMembersComparator(PsiElement place)