title: int instanceof Integer
body: <p>Why this is a compile-time error when Java does the Autoboxing? Am I missing something?</p>
  
  <pre><code>int primitiveIntVariable = 0;
  
  if (primitiveIntVariable instanceof Integer) {
  
  }
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>Inconvertible types; cannot cast 'int' to 'java.lang.Integer'
  </code></pre>