@Contract("null -> false")
  public static boolean isPrimitiveWrapper(@Nullable PsiType type) {
    if (!(type instanceof PsiClassType)) return false;
    String name = ((PsiClassType)type).getClassName();
    return PRIMITIVE_WRAPPER_SIMPLE_NAMES.contains(name) && isPrimitiveWrapper(type.getCanonicalText());
  }
@Contract("null -> false")
  public static boolean isPrimitiveWrapper(@Nullable PsiType type)