org.metasyntactic.debug
Class Method

java.lang.Object
  |
  +--org.metasyntactic.debug.Method

public class Method
extends java.lang.Object

Debugging method that when called will return the name of the method it was called from.


Method Summary
static java.lang.String fullMethod()
          Get the fully qualified method name that this method was called from
static java.lang.String method()
          Returns a more concise representation of the method that this method was called from.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

method

public static java.lang.String method()
Returns a more concise representation of the method that this method was called from. Basically equivalent to calling fullMethod and then stripping some extraneous package information for the beginning of the string

Returns:
A simplified name for the enclosing method

fullMethod

public static java.lang.String fullMethod()
Get the fully qualified method name that this method was called from

Returns:
The fully qualified name of the method this method was called from