Reports usages of ? where they can be omitted, for example, if the inferred type of assigned expression is not nullable.
?
Suggests removing redundant ? in type declarations.
例:
let x: Int? = 42
クイックフィックス適用後:
let x: Int = 42