Q: Sonar Issue : rename this abstract class There is simple minor issue reported in Sonar for an abstract class which says to update the class name as per regex: '^Abstract|Base[A-Z][a-zA-Z0-9]*$'
It seems preety simple where we have to just append the word abstract in front of class name. But surprisngly, it is not solving the issue.
We are literally scratching our heads for this silly thing.
I even tried creating a new class to show the error below. Now, can anyone please guide me why sonar is still reporting this naming convention issue :


A: Existing rule checks that the class name is either Abstract, or has prefix Base followed by a capital letter and alphanumeric characters.
In order to check that the name of an abstract class should start with Abstract or Base prefix, the regular expression in the rule should look like this: ^(Abstract|Base)[A-Z][a-zA-Z0-9]*$.
Thus, either the regexp in the rule should be fixed, or just disabled.
