org.sonar.l10n.java.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.
Noncompliant Code Example
With default provided regular expression ^[A-Z][a-zA-Z0-9]*$
:
class my_class {...}
Compliant Solution
class MyClass {...}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy