I am doing a java code inspection. Here is a function (snippet):
String getValue() { String res; StringBuilder strBuilder = new StringBuilder();
Just guessing, but some (most?) IDEs don't allow you to directly inspect the value of function returns. With this scheme, you could put a breakpoint at the end of the method, and mouse over "res" to get the return value.