1 package org.feistymeow.utility;
 
   15     Throwable ex = 
new Throwable();
 
   16     StackTraceElement[] trace = ex.getStackTrace();
 
   18     String meth = trace[0].getMethodName(); 
 
   20     for (
int i = 1; i < trace.length; i++) {
 
   21       if ((trace[i].getMethodName() != meth)
 
   22           && (!trace[i].getMethodName().contains(
"formatted_names"))) {
 
   24         return trace[i].getMethodName();
 
   33     Throwable ex = 
new Throwable();
 
   34     StackTraceElement[] trace = ex.getStackTrace();
 
   37     String meth = trace[0].getMethodName(); 
 
   39     for (
int i = 1; i < trace.length; i++) {
 
   40       String currClass = trace[i].getClassName();
 
   41       if ((trace[i].getMethodName() != meth)
 
   42           && (!trace[i].getMethodName().contains(
"formatted_names"))) {
 
   45         return simpleClassName;
 
   52     Throwable ex = 
new Throwable();
 
   53     StackTraceElement[] trace = ex.getStackTrace();
 
   56     String meth = trace[0].getMethodName(); 
 
   58     for (
int i = 1; i < trace.length; i++) {
 
   59       String currClass = trace[i].getClassName();
 
   60       if ((trace[i].getMethodName() != meth)
 
   61           && (!trace[i].getMethodName().contains(
"formatted_names"))) {
 
   71     if ((
null == fullClassName) || (
"".equals(fullClassName)))
 
   76     int lastDot = fullClassName.lastIndexOf(
'.');
 
   84     return fullClassName.substring(0, lastDot);
 
   88     if ((
null == fullClassName) || (
"".equals(fullClassName)))
 
   93     int lastDot = fullClassName.lastIndexOf(
'.');
 
   98     return fullClassName.substring(++lastDot);
 
  107     return class_name + 
"." + function_name + 
": ";
 
static String extractSimpleClassName(String fullClassName)
 
static String formatted_names()
 
static String thisClassName()
 
static String thisFunctionName()
 
static String extractPackageName(String fullClassName)