How to get all function arguments in scala
<p>Is there possible to get all function arguments and pass it to another?</p>

<pre><code>def function funA(arg1: String, arg2: String, arg3: Int): Any = {
  ....
  funB(arg1, arg2, arg3)
}
</code></pre>

<p>Instead <code>funB(arg1, arg2, arg3)</code> I want to write something like this <code>funB(parentFun.args)</code></p>

<p>Is it at all possible? Maybe I should use some reflections?</p>