StackTrace without Exception
java.lang.Threads
Sometimes you like to see the StackTrace even if there appears no Exception. The following Code makes it possible:
for (int i=0; i< Thread.currentThread().getStackTrace().length; i++) System.out.println(Thread.currentThread().getStackTrace()[i].getMethodName());