title: Using NotNull Annotation in method argument
body: <p>I just started using the <code>@NotNull</code> annotation with Java 8 and getting some unexpected results.</p>
  
  <p>I have a method like this:</p>
  
  <pre><code>public List&lt;Found&gt; findStuff(@NotNull List&lt;Searching&gt; searchingList) {
      ... code here ...
  }
  </code></pre>
  
  <p>I wrote a JUnit test passing in the null value for the argument searchingList. I was expecting some type of error to happen but it went through as though the annotation was not there. Is this expected behavior? From what I understood, this was to allow you to skip writing the boilerplate null check code.</p>
  
  <p>An explanation of what exactly @NotNull is supposed to do would be greatly appreciated.</p>