private static boolean isTooGeneral(final @Nullable PsiClass element) {
    if (element == null) return true;

    final @NonNls String qname = element.getQualifiedName();
    return qname == null || qname.startsWith("java.lang.");
  }
private static boolean isTooGeneral(final @Nullable PsiClass element)