Not a beginning question, so I shall move it.
There are methods about getStackTrace: go through the
API index for G and try ctrl-F "stacktrace" (or "stack"). Find the getStackTrace methods or similar and get the stack trace printed; you can tell the method names from that printout.