title: How to draw import in UML?
body: <p>I know how inheritance, composition, aggregation etc... can be implemented in Java and drawn in UML. But if class A imports class B, how do we note this in UML? Are the two classes associated in any way in a class diagram, if so in what way?</p>
  
  <p>Example</p>
  
  <pre><code>import com.example.Book;
  
  public class Library {
      public void doSomething(Book book)  {
  //      ...
      }
  }
  </code></pre>