JetBrains / java-annotations

Annotations for JVM-based languages.
Apache License 2.0
404 stars 47 forks source link

Include TYPE_PARAMETER target in NotNull and Nullable annotations #50

Closed kashike closed 3 years ago

kashike commented 3 years ago

I'm in the process of moving my code to use org.jetbrains:annotations instead of org.checkerframework:checker-qual, and noticed this difference in the annotations while moving over.

Similar to the annotations included with checker-qual (NonNull, Nullable), include the TYPE_PARAMETER target in the NotNull and Nullable annotations.

amaembo commented 3 years ago

Hello! Which problem are you trying to solve with this enhancement?

kashike commented 3 years ago

Ignore this - seems what I encountered was a bug in some other software, and this change is unnecessary.