Often I end up creating a variable to return from a method like this:
List<StageCycleTime> cycleTimeForStages = processStageMetricsProvider.getCycleTimeForStages(stageCycleTime, startTime, endTime);
return cycleTimeForStages;
the only reason I create this return variable is so that I can see it in the debugger. Of course IJ shows this as a code warning: "Local variable 'cycleTimeForStages' is redundant"
is there a better way to see this return variable other than creating one like this?