Skip to content

@Nullable and Nonnull VS jspecify  #145

@hantsy

Description

@hantsy

jspecify is more popular and gets better community tools support today, the next Spring 7.0 has already migrated to jspecify to check the field/method parameter/return type nullable.

In the current Jakarta Annotations, the @Nullable and NonNull are extracted from JSR305. Jspecify provides more features and compatibility.

With wider tool support when using Jspecify, we can generate static analysis reports at compile time。

If we keep the existing @Nullable/@Nonnull in Jakarta EE, can we generate analysis results at build/deployment time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions