title: The method method(com.here.A) in the type Some is not applicable for the arguments (com.somewhereelse.A)
body: <p>I have class A.class in package <code>com.here</code>:</p>
  
  <pre><code>public class A {
  String a;
  }
  </code></pre>
  
  <p>And I have class A in different library in package <code>com.somwehereelse</code>:</p>
  
  <pre><code>public class A {
  String a;
  }
  </code></pre>
  
  <p>And I have Some.class and I call method</p>
  
  <pre><code>public class Some{
  public someMethod(A a){
  method(a);
  }
  }
  </code></pre>
  
  <p>Class A and B differs package. But I am able to only use A.class from <code>com.here</code> package, when I try to use A.class from <code>com.somewhereelse.A</code> I obtain error: </p>
  
  <blockquote>
    <p>The method method(com.somewhereelse.A) in the type Some is not applicable for
    the arguments (com.here.A).</p>
  </blockquote>
  
  <p>How to pass as argument A.class from library of <code>com.somewhereelse</code> package? If I can't change packages.</p>