@Nullable
  public static Class<?> findCallerClass(int framesToSkip) {
    try {
      Class<?>[] stack = MySecurityManager.INSTANCE.getStack();
      int indexFromTop = 1 + framesToSkip;
      return stack.length > indexFromTop ? stack[indexFromTop] : null;
    }
    catch (Exception e) {
      LoggerRt.getInstance(ReflectionUtilRt.class).warn(e);
      return null;
    }
  }
@Nullable
  public static Class<?> findCallerClass(int framesToSkip)