Returns a string representation of a lock. The returned
string representation consists of the name of the class of the
lock object, the at-sign character `@', and the unsigned
hexadecimal representation of the
identity hash code
of the object. This method returns a string equals to the value of:
lock.getClass().getName() + '@' + Integer.toHexString(System.identityHashCode(lock))
where
lock is the lock object.
Returns:
the string representation of a lock.