resetUniqueNameCounters function
void
resetUniqueNameCounters()
In general, it is worth putting the processing of class names, methods, fields. in some separate layer from the parser and templates, so as not to write such crutches with a reset The reset itself is needed to update the status during tests.
Implementation
void resetUniqueNameCounters() {
_uniqueObjectCounter = 0;
_uniqueEnumCounter = 0;
}