I am looking at a very old code-base, and every field access follows this pattern:
void method() {
TYPE fieldRef = this.field;
// Use fieldRef instead of field
}
I can't figure out why this pattern is followed rigorously. Is there some performance benefit to this? Does it have something to do with how fields behave with inheritance?