code: public JMethod []getDeclaredMethods()
    {
      ArrayList<JavaMethod> methodList = getMethodList();
      
      JMethod[] methods = new JMethod[methodList.size()];
  
      methodList.toArray(methods);
  
      return methods;
    }
docs: Returns the array of declared methods.