stackparam
stackparam copied to clipboard
abbreviate package names
This changes the displayed class name from really.long.package.name.Class to r.l.p.n.Class for classes that have not overridden Object.toString(). Also replaces literal newlines with \n.
Thanks for the PR, will test. I wonder if it will fail https://github.com/cretz/stackparam/blob/d42fd0a15fdc97ed02f5fc2c998143a2e4402a28/javalib/agent-tests/src/test/java/stackparam/ThrowableTest.java.
Sorry about that, forgot to run cargo test. Fixed now.