//leakcanary-repo/shark/HeapObject/HeapInstance/readAsJavaString
readAsJavaString¶
[jvm]\ fun readAsJavaString(): String?
If this HeapInstance is an instance of the String class, returns a String instance with content that matches the string in the heap dump. Otherwise returns null.
This may trigger IO reads.