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 method names match a provided regular expression.

Noncompliant Code Example

With default provided regular expression: XXXXX

public int DoSomething(){...}

Compliant Solution

public int doSomething(){...}

Exceptions

Overriding methods are excluded.

 
@Override 
public int Do_Something(){...}