<@U5UU34LPK> Another hacky way that's probably mor...
# announcements
d
@karelpeeters Another hacky way that's probably more reliable than guessing the class name:
Copy code
fun getCallingClass(): Class<*> {
  return Class.forName(Exception().stackTrace[1].className)
}
Then you could call
getCallingClass()
from a static context and will get the class for that stack frame.