Skip to content

JetBrains Annotations #44

Description

@MichalKononenko

JetBrains provides some annotations that we can use in this project for catching things like NullPointerException, and for specifying contracts in our functions. These wouldn't serve any use at runtime, but they could prove useful in the IDE. The source code for these annotations is available on Maven central repository.

If we import annotations, then we have one more dependency in our project, and put a useless (at runtime) artifact into the compiled jar, but it will catch a few exceptions that we miss.

If we don't do it, we miss out on these annotations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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