code: private Variable[] getLocallyDeclaredVariables() {
          Collection<Variable> vars = mDeclared.values();
          return vars.toArray(new Variable[vars.size()]);
      }
docs: Returns all the variables declared in this scope.
  
  @return non-null array of locally declared variables