1) enterGetterSetter is called from Namer with a ValDef which
may need accessors. Some setup is performed. In general this
creates symbols and enters them into the scope of the owner.
2) finishGetterSetter is called from Typer when a Template is typed.
It completes the job, returning a list of trees with their symbols
set to those created in enterGetterSetter. Those trees then become
part of the typed template.
There are two key methods in here.
1) enterGetterSetter is called from Namer with a ValDef which may need accessors. Some setup is performed. In general this creates symbols and enters them into the scope of the owner.
2) finishGetterSetter is called from Typer when a Template is typed. It completes the job, returning a list of trees with their symbols set to those created in enterGetterSetter. Those trees then become part of the typed template.