Search code examples
intellij-ideanon-nullable

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


Solution

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