code: public JMethod []getConstructors()
    {
      ArrayList<JavaMethod> ctorList = new ArrayList<JavaMethod>();
      
      for (JavaMethod method : getMethodList()) {
        if (method.getName().equals("<init>"))
          ctorList.add(method);
      }
      
      JMethod[] methods = new JMethod[ctorList.size()];
  
      ctorList.toArray(methods);
  
      return methods;
    }
docs: Returns the array of declared methods.