Created
January 4, 2016 15:12
-
-
Save jsyeo/e39e2393f458105f4848 to your computer and use it in GitHub Desktop.
debug print
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private String debugString(CallChain cc) { | |
StringBuilder sb = new StringBuilder(); | |
for (CallSite cs : cc) { | |
sb.append(cs.getCaller().getClassName()); | |
sb.append("."); | |
sb.append(cs.getCaller().getMethodName()); | |
sb.append("->"); | |
} | |
sb.append(cc.last().getCallee().getMethodName()); | |
return sb.toString(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment