Is there a way to get the name of the source class/method that calls a second method?
<p>For example, I want to have code like this:</p>

<pre><code>class Class1
{
    Class2.print("Hello there.");
}

class Class2
{
    public void print(String message)
    {
        System.out.println("[method caller's name] : " + message);
    }
}
</code></pre>

<p>Class1 will call Class2's print method, which should print its caller's name followed by the message.</p>
