def __get_constants(self):
helper = ConstantClass(self._constants_class_name, self._io)<EOL>helper.reload()<EOL>constants = helper.constants()<EOL>for name, value in constants.items():<EOL><INDENT>self._add_replace_pair(name, value, True)<EOL><DEDENT>self._io.text('<STR_LIT>'.<EOL>format(len(constants), helper.file_name()))<EOL>
Gets the constants from the class that acts like a namespace for constants and adds them to the replace pairs.