
org.sonar.l10n.squidjava.rules.squid.S00101.html Maven / Gradle / Ivy
Sharing some naming conventions is a key point to make it possible for a team to efficiently collaborate. This rule allows to check that all class names match a provided regular expression.
The following code snippet illustrates this rule when the regular expression value is "^[A-Z][a-zA-Z0-9]*$":
public class MyFirstClass { ... } // Compliant
public class mySecondClass { ... } // Non-Compliant
© 2015 - 2025 Weber Informatics LLC | Privacy Policy