boolean (PsiClass where) { String qname = where.getQualifiedName(); if (qname == null || !qname.startsWith("java.lang.")) return false; return CommonClassNames.JAVA_LANG_STRING.equals(qname) || InheritanceUtil.isInheritor(where, CommonClassNames.JAVA_LANG_NUMBER); }