Add PrettyMethod overload with result string.

Make it possible to avoid memory allocations.

Test: m test-art-host-gtest
Change-Id: I8914ed9f0768577063692dfe74cb418b3a8db2f0
2 files changed