boolean (@Nullable PsiType type) { if (type == null) return false; PsiType rawType = TypeConversionUtil.erasure(type.getDeepComponentType()); if (rawType == null) return false; return rawType.equalsToText(CommonClassNames.JAVA_LANG_OBJECT); }