UML Class Diagram: What goes in the return type for the function if the function returns a function call?
<p>So I have a function lets say:</p>

<pre><code>def func(self):
    ls = []
    #do something to ls 
    return self.ListParser(ls)

def ListParser(self, ls):
    files = []
    # do some stuff with ls and files
    return files
</code></pre>

<p>So in the uml class diagram what do I put for return type if it looks like this:</p>

<p><code>+</code> func(self): return type</p>

<p>do I put:</p>

<p><code>+</code> func(self): ListParser(ls)</p>

<p>or </p>

<p><code>+</code> func(self): files[]</p>

<p>Do I put what it will eventually return or the function call. </p>

<p>Thank you.</p>