code: public static DescriptorExtensionList<RetentionStrategy<?>,Descriptor<RetentionStrategy<?>>> all() {
          return (DescriptorExtensionList) Jenkins.get().getDescriptorList(RetentionStrategy.class);
      }
docs: Returns all the registered {@link RetentionStrategy} descriptors.