How to tell IDEA/Studio that the null check has been done?

后端 未结 6 1929
我在风中等你
我在风中等你 2020-12-06 06:14

I\'m developing with Android Studio/IntelliJ IDEA.

I have enabled the inspection check called "Constant conditions & exceptions" that shows a warning if

6条回答
  •  生来不讨喜
    2020-12-06 07:15

    See http://www.jetbrains.com/idea/webhelp/configuring-check-assert-methods.html for IDEA 12. In IDEA 13 EAP, you can add method contract: http://youtrack.jetbrains.com/issue/IDEA-93372

提交回复
热议问题