code: public static StackTraceElement myFrame() {
          final Thread me = currentThread();
          StackTraceElement[] se = getAllStackTraces().get(me);
          for (int i = 0; i < se.length; i++) {
              String sClass = se[i].getClassName();
              if (!sClass.equals(CLASS)) continue;
              String method = se[i].getMethodName();
              if (!"myFrame".equals(method)) continue;
              if (i + 1 < se.length) return se[i + 1];
          }
          throw new IllegalStateException("bad stack");
      }
docs: Returns your {@link StackTraceElement}.
  <p>
  You should consider use of this method carefully. Unwinding the stack
  should be considered an expensive operation.
  </p>
  
  @return StackTraceElement of the caller
  @see StackTraceElement