class Debug {

    public static String objectId(Object o) {
        if (o == null) {
            return null;
        }
        return abbreviatedName(o.getClass()) + "@" + toMemorableString(System.identityHashCode(o));
    }

}