Step:
- Add return
Return<type> r;
- Move value into return
r.set(value);
return r.value;
- Add if clause
if (r.isSet) {
return r.value;
} else {
}
- move up a level
a. if you are in a loop, duplicate outside and add a break; - expand else to everything in left in current block
- invert if
- repeat