create

fun create(callSiteId: Int, index: Int, parent: HookKey?, intern: Boolean = true): HookKey

Packs callSiteId and index into a single Long and returns a HookKey.

When intern is true, the returned instance is cached so that subsequent calls with the same arguments return the same object. When false, a fresh instance is allocated every time.