code: public MethodDescriptor[] getMethodDescriptors() {
          BeanInfo info = getBeanInfo();
          if (info == null) {
              return null;
          }
  
          MethodDescriptor[] mds = info.getMethodDescriptors();      
          getTeaToolsUtils().sortMethodDescriptors(mds);
          return mds;
      }
docs: Returns the type's MethodDescriptors.