code: public int defineTemporaryVariable(org.codehaus.groovy.ast.Variable var, boolean store) {
          return defineTemporaryVariable(var.getName(), var.getType(),store);
      }
docs: creates a temporary variable.
  
  @param var defines type and name
  @param store defines if the toplevel argument of the stack should be stored
  @return the index used for this temporary variable