toFIDString

@JvmStatic
@JvmOverloads
@JvmName(name = "fidString")
fun FileID.toFIDString(defaultClassName: String = "Unknown", includeHashCode: Boolean = true): String(source)

Helper for overriding a class's toString function.

e.g.

println(myFileIDClass)
// MyFileIDClass[fid=ABCD…1234]@178263541

Parameters

defaultClassName

If the implementing class does not have a simple name (e.g. an Anonymous object), this will be utilized. Default: Unknown.

includeHashCode

true to append the implementing class' hashCode, false to omit it. Default: true.