code: public static StatsImpl getStats(DataDescriptor dd, boolean recursive) {
          if (disabled)
              return null;
          return getStats(findModuleItem(dd), recursive);
      }
docs: --- DD based: Custom PMI ---