haveNameEndingWith
Restricts the rules to classes whose simple names end with the specified suffix.
Parameters
suffix
The suffix (e.g., "Repository", "Service").
Restricts the rules to classes whose simple names end with any of the specified suffixes.
Parameters
suffixes
The suffixes.