docs: public Map<String, String> getPrefixes(boolean onlyCommonPrefixes) {
          final Map<String, String> prefixes = new LinkedHashMap<String, String>();
          for (final String term : termDefinitions.keySet()) {
              if (term.contains(":")) {
                  continue;
              }
              final Map<String, Object> termDefinition = (Map<String, Object>) termDefinitions
                      .get(term);
              if (termDefinition == null) {
                  continue;
              }
              final String id = (String) termDefinition.get(JsonLdConsts.ID);
              if (id == null) {
                  continue;
              }
              if (term.startsWith("@") || id.startsWith("@")) {
                  continue;
              }
              if (!onlyCommonPrefixes || id.endsWith("/") || id.endsWith("#")) {
                  prefixes.put(term, id);
              }
          }
          return prefixes;
      }