title: Private nested Java class in UML diagram
body: <p>I have a question regarding UML. I have a class which simply contains an inner class with the private access modifier - cannot be accessed from anywhere else... Normally in order to present an inner class relation I can use a (+) relation like here (<code>InnerOddIterator</code>): </p>
  
  <p><img src="https://i.stack.imgur.com/8TwQv.png" alt="enter image description here"></p>
  
  <p>(taken from <a href="http://www.uml-diagrams.org/nested-classifier.html" rel="noreferrer">http://www.uml-diagrams.org/nested-classifier.html</a>)</p>
  
  <p>I have not found anywhere any information about how can clearly emphasize that this class is private. Do you know if such a method exist at all? If yes I'll be grateful you give me some link here or something?</p>
  
  <p>Just to keep things clear, a sample code:</p>
  
  <pre><code>public class DataStrucure {
       // fields, methods, etc
       private class InnerOddIterator{
            // ... 
       };
  }
  </code></pre>