private static String computeValueToString(Object value) {
    if (value instanceof PsiType) {
      if (value instanceof PsiArrayType) {
        return "class " + ClassUtil.getClassObjectPresentation((PsiType)value);
      }

      PsiClass psiClass = PsiUtil.resolveClassInType((PsiType)value);
      String prefix = psiClass == null ? "" : psiClass.isInterface() ? "interface " : "class ";
      return prefix + ((PsiType)value).getCanonicalText();
    }
    else {
      return value.toString();
    }
  }
private static String computeValueToString(Object value)