Fixes false positive: 'Optional.ofNullable()' with non-null argument should be replaced with 'Optional.of()' when using TypeElement#getAnnotation
(cherry picked from commit 1b3e7f8e4a0d8ef0a611fb644c6b06b137fa9dca)
IJ-CR-184569
GitOrigin-RevId: d132bebf09d2ee872267a20c78b84537dc17dc04