docs: @CheckForNull
      static String replaceVariableBySystemProperty(String value) {
  
          if (value == null)
              return null;
  
          int startVariableIndex = value.indexOf("${");
  
          while (startVariableIndex >= 0) {
              int endVariableIndex = value.indexOf("}", startVariableIndex);
  
              String propertyName = value.substring(startVariableIndex + 2, endVariableIndex);
  
              String systemProperty = System.getProperty(propertyName);
  
              if (systemProperty == null) {
                  throw new JoynrRuntimeException("No value for system property '" + propertyName
                          + "' set as defined in property file. Unable to start Bounce Proxy");
              } else {
                  value = value.substring(0, startVariableIndex) + systemProperty + value.substring(endVariableIndex + 1);
              }
              startVariableIndex = value.indexOf("${");
          }
  
          return value;
      }