|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsli.util.CallDetective
public class CallDetective
Returns a caller function
| Constructor Summary | |
|---|---|
CallDetective()
|
|
| Method Summary | |
|---|---|
static String |
findCaller()
Returns the name and line number of the function which called the present one. |
static String |
findCaller(int depth)
Returns the name and line number of n-th of the caller function. |
static void |
foo()
|
static void |
main(String[] args)
|
static void |
printFn()
Prints out the function information |
static void |
printFn(Object o)
Prints out function information as well as the speicified object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CallDetective()
| Method Detail |
|---|
public static String findCaller()
public static String findCaller(int depth)
depth -
public static void main(String[] args)
public static void foo()
public static void printFn()
public static void printFn(Object o)
o -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||