public Collection<BuildWrapperDescriptor> getApplicableDescriptors() { Collection<BuildWrapperDescriptor> r = new ArrayList<>(); for (BuildWrapperDescriptor d : Jenkins.getActiveInstance().getExtensionList(BuildWrapperDescriptor.class)) { if (SimpleBuildWrapper.class.isAssignableFrom(d.clazz)) { r.add(d); } } return r; }