private static @IntentionName String calcText(PsiMember member, PsiSubstitutor substitutor) {
    PsiClass aClass = member.getContainingClass();
    if (aClass == null) return "";
    return QuickFixBundle.message(member instanceof PsiMethod
                                  ? "access.static.method.via.class.reference.text"
                                  : "access.static.field.via.class.reference.text",
                                  HighlightMessageUtil.getSymbolName(member, substitutor, PsiFormatUtilBase.SHOW_TYPE),
                                  HighlightUtil.formatClass(aClass, false));
  }
private static @IntentionName String calcText(PsiMember member, PsiSubstitutor substitutor)