title: Is it possible to put annotations on return Type
body: <p>I came across this code</p>
  <pre><code>@Override
  public @NotNull Class&lt;?&gt; getProviderClass() {
      return this.getClass();
  }
  </code></pre>
  <p>and I am wondering if it is the same as the code below:</p>
  <pre><code>@Override
  @NotNull
  public Class&lt;?&gt; getProviderClass() {
      return this.getClass();
  }
  </code></pre>
  <p><strong>Note: that the <code>@NotNull</code> annotation is in different positions relative to the accessModifier</strong></p>
  <p>Is the annotation on the return type in this case or on the method?</p>