code: public VariableRef[] getLocalVariableRefs() {
          VariableRef[] refs = new VariableRef[mVariableRefs.size()];
          return mVariableRefs.toArray(refs);
      }
docs: Returns all the references made from this scope to variables declared
  in this scope or in a parent.
  
  @return non-null array of VariableRefs.