Insert
trait Insert
Value members
Abstract methods
Concrete methods
Replace tree with a reference to an accessor if needed
Replace tree with a reference to an accessor if needed
protected def accessorSymbol(owner: Symbol, accessorName: TermName, accessorInfo: Type, accessed: Symbol)(using Context): Symbol
An accessor symbol, create a fresh one unless one exists already
An accessor symbol, create a fresh one unless one exists already
Create an accessor unless one exists already, and replace the original access with a reference to the accessor.
Create an accessor unless one exists already, and replace the original access with a reference to the accessor.
- Value Params
- onLHS
The reference is on the left-hand side of an assignment
- reference
The original reference to the non-public symbol