Added replaceAllParams function javadoc