In the current series of posts I am writing on reducing the number of parameters required to call Java methods and constructors, I have focused so far on approaches that directly affect the parameters ...
This very issue is one of my pet peeves of working in Java/C, because extract-function refactoring is severely inhibited by having only 1 return value, and it forces you to pass in mutable values ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results