boolean (@Nullable PsiType type) { if (!(type instanceof PsiClassType)) return false; String name = ((PsiClassType)type).getClassName(); return PRIMITIVE_WRAPPER_SIMPLE_NAMES.contains(name) && isPrimitiveWrapper(type.getCanonicalText()); }