code: public List<String> getUnsavedResources() {
          List<String> list = new ArrayList<>();
          List<String> l;
  
          for (int i = 0; i < getExtensionCount(); i++) {
              l = getExtension(i).getUnsavedResources();
              if (l != null) {
                  list.addAll(l);
              }
          }
          
          return list;
      }
docs: Gets the names of all unsaved resources of all the extensions.
  
  @return a {@code List} containing all the unsaved resources of all add-ons, never {@code null}
  @see Extension#getActiveActions()