Pattern: Invalid instance variable name
Issue: -
Validates identifiers for non-static
fields.
This is an example of a configuration of the MemberName
module to ensure that member identifiers begin with 'm'
, followed by an upper case letter, and then letters and digits:
<module name="MemberName">
<property name="format" value="^m[A-Z][a-zA-Z0-9]*$"/>
</module>