code: public static DescriptorExtensionList<Publisher,Descriptor<Publisher>> all() {
          return Jenkins.getInstance().<Publisher,Descriptor<Publisher>>getDescriptorList(Publisher.class);
      }
docs: for backward compatibility, the signature is not BuildStepDescriptor