docs: private int getEndIndexOfNextProperty(final String str, final int startIndex) {
  		if (str == null) {
  			return -1;
  		}
  
  		final int startPropIndex = str.indexOf("${", startIndex);
  
  		// we didn't find a property in this string
  		if (startPropIndex == -1) {
  			return -1;
  		}
  
  		final int endPropIndex = str.indexOf("}", startPropIndex);
  		// This check allows something like this "Some filename is ${}"
  		// Maybe we should require "${f}" ???
  		if (endPropIndex > startPropIndex) {
  			return endPropIndex;
  		}
  
  		// if no variables like ${prop1} are in string, return null
  		return -1;
  	}