trevjones
01/02/2020, 4:35 PMa.c.Intent.getStringExtra
returns a String!
even though it is annotated with android.annotation.Nullable
where as a.os.BaseBundle.getString
returns a String?
as expected based on the a.a.Nullable
annotation that has seemingly no effect on the intent apis?
inference and IDE seem to spot the issue, but the compiler DGAF
-Xjsr305=strict
has no effect here either.
edit: If inferred as non null why does the compiler treat it like a platform type? Is that intended behavior or a bug?jw
01/02/2020, 7:40 PMtrevjones
01/02/2020, 7:43 PMjw
01/03/2020, 1:50 AM