title: How to find out who and from where called a method?
body: <p>I am looking in some legacy code in Scala and see a method:</p>
  
  <pre><code>private def method1 (value: AnyRef, fieldName: String, qualifiedFieldName: String, fieldType: Type, schema: Schema)
                           (implicit mode: ParseMode): Any = {...}
  </code></pre>
  
  <p>How to see who called (or who can call) this method (from where)? (tracking in IDE/InteliJ is fine - just want to 'track' who is calling a method in order to understand the code routes)..</p>
  
  <p>Ideal <code>print line</code> right after a Method name (inside method body) would be:<br> <code>This method is being called from this class etc...</code></p>