@Nullable
  public static PsiPrimitiveType getOptionallyUnboxedType(@Nullable PsiType type) {
    return type instanceof PsiPrimitiveType ? (PsiPrimitiveType)type : getUnboxedType(type);
  }
@Nullable
  public static PsiPrimitiveType getOptionallyUnboxedType(@Nullable PsiType type)