title: Symbol 'IllegalArgumentException' is inaccessible from here
body: <p>I have two projects in Android studio: <code>model</code> and <code>app</code>.<br>
  <code>model</code> is written completely in java, graddle file starts with <code>apply plugin: 'java'</code><br>
  <code>app</code> is written in android-java and depends on <code>model</code>. The graddle file starts with <code>apply plugin: 'com.android.application'</code></p>
  
  <p>I can insert this snippet:</p>
  
  <pre><code>/**
   * Debugging
   *
   * @throws IllegalArgumentException
   *             if illegal == true
   */
  private void debug(boolean illegal){
      if (illegal)
          throw new IllegalArgumentException("tu");
  }
  </code></pre>
  
  <p>anywhere in <code>app</code> and there are no errors. However when I insert it anywhere in <code>model</code> I get an error: <code>Symbol 'IllegalArgumentException' is inaccessible from here</code> and upon clicking 'more'<br>
  <code>Inspection info: This inspection points out unresolved references inside javadoc</code><br>
  I can however compile, run without problems.</p>
  
  <p>My Android-studio version is 3.4. I do not remember having this problem with the version I used before but I'm not sure which version that was.</p>