Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    I tried your advice, but idea tell nothing about void test(@NonNull String s) {} called by test(null); Commented Mar 3, 2017 at 11:31
  • 3
    @user1244932 Do you mean IntelliJ IDEA? You can configure the nullability annotations it uses for static analysis. I don't exactly know where, but one place to define them in is in "File > Settings > Build, Execution, Deployment > Compiler" and there in is a button "Configure annotations...". Commented Mar 23, 2017 at 17:23
  • @user1244932 see screenshot if you are still looking for this. Commented Oct 27, 2017 at 10:53