package Ġru . d age ev . compiler . byte code generation . expression Ċ Ċ import Ġj dk . internal . org . object web . asm . Method Visitor Ċ import Ġj dk . internal . org . object web . asm . Op codes Ċ import Ġru . d age ev . compiler . domain . node . expression . Variable Reference Ċ import Ġru . d age ev . compiler . domain . scope . Scope Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġd age ev Ċ Ġ* Ġon Ġ 1 1 / 2 7 / 1 6 . Ċ Ġ*/ Ċ class ĠField Reference Generator ( val Ġscope : ĠScope , Ġval Ġmethod Visitor : ĠMethod Visitor ) Ġ{ ĊĊĠĠĠ Ġfun Ġgenerate ( local Variable Reference : ĠVariable Reference . Local Variable Reference ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġindex Ġ= Ġscope . local Variables . indexOf ( local Variable Reference . local Variable . name ) ĊĠĠĠĠĠĠĠ Ġmethod Visitor . visit Var Insn ( local Variable Reference . local Variable . type . get Load Variable Opcode (), Ġindex ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġgenerate ( field Reference : ĠVariable Reference . Field Reference ) Ġ{ ĊĠĠĠĠĠĠĠ Ġmethod Visitor . visit Var Insn ( Op codes . AL O AD , Ġ 0 ) ĊĠĠĠĠĠĠĠ Ġmethod Visitor . visit Field Insn ( Op codes . GET FIELD , Ġfield Reference . field . owner Type . get Internal Name (), Ġfield Reference . field . name , Ġfield Reference . field . type . get Descriptor ()) ĊĠĠĠ Ġ} Ċ }