beluchin
beluchin

Reputation: 12682

disable @Nonnull annotation on "implement methods"

IntelliJ is adding @Nonnull annotations on code generated via the implement methods feature. How to prevent IntelliJ from annotating signatures with that annotation?

IntelliJ 2019.1

Thanks

Upvotes: 0

Views: 452

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 401935

IntelliJ IDEA copies the annotations from the interface declaration, there is no way to disable this behavior.

Upvotes: 2

Related Questions