Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /homepages/46/d158246649/htdocs/blogs/chwalisz/wp-includes/pomo/plural-forms.php on line 210
Dumping a Java object ID to a string | Dave Page

I have wanted to do this in the past, never found the code. I found this handy code here recently. Wanted to save it here. Thanks, dude.

You can also handily convert an integer to a hex string using the Integer class, so you can get the value that would come after the @ in a default toString() implementation by calling this:

Integer.toHexString(System.identityHashCode(object))