docs: public static DescriptorExtensionList<BuildDiscarder,BuildDiscarderDescriptor> all() {
          return Jenkins.getInstance().<BuildDiscarder,BuildDiscarderDescriptor>getDescriptorList(BuildDiscarder.class);
      }