code: public static Map<String, String> getValues(final MetaConfig metaConfig, final String variableContains) {
          final Map<String, String> variableSelection = new HashMap<>();
          for (EntryType.Entry entry : metaConfig.getEntryList()) {
              if (entry.getKey().contains(variableContains)) {
                  if (!entry.getValue().isEmpty()) {
                      variableSelection.put(entry.getKey(), entry.getValue());
                  }
              }
          }
          return variableSelection;
      }
docs: Method resolves all variables whose name contains the given identifier.
  
  @param metaConfig the meta config to resolve the variables.
  @param variableContains the identifier to select the variables.
  @return a map of the variable name and its current value.