Get the Method Name



Hello . . . Somebody help me . . . How will I get the name of the
present working method . . . A code snippet below is shown with the
part where I want to return the name of the method. please reply . . .
thanks a lot . . .



import java.lang.reflect.*;

public class This
{

public This(){}

public void thisMethod()
{
Class keyClass = this.getClass();
String keyName = keyClass.getName()
System.out.println("Class: "+keyName+", Method: "<<RETURN THE METHOD
NAME>>) );
}


public static void main(String[] args)
{
This t = new This();
t.thisMethod();
}
}

.