Lambda와 anonymous this

함수 body가 어느 객체를 receiver로 보는지 구분한다.

형태thisCapture
lambda둘러싼 ownerowner lifetime
anonymous class새 함수 객체Outer.this 별도
static referencereceiver 없음capture 없음
bound reference특정 instancereceiver capture

핵심: scope 차이는 field lookup뿐 아니라 callback 보관 수명에도 영향을 준다.