code: public Parameter[] parameters() {
          // generate the parameters on the fly:  they're not cached
          List<VarSymbol> params = sym.params();
          Parameter result[] = new Parameter[params.length()];
  
          int i = 0;
          for (VarSymbol param : params) {
              result[i++] = new ParameterImpl(env, param);
          }
          return result;
      }
docs: Get argument information.
  
  @see ParameterImpl
  
  @return an array of ParameterImpl, one element per argument
  in the order the arguments are present.