[Java] Field names should comply with a naming convention - S116

Greetings,

My apologies if this topic is not in the proper section, feel free to move it where it belongs

In my project, I was able to change the Regular expression for this rule but it seems to me that this rule applies to private, protected and public fields, is that correct ?
I would like to have a Regular expression that is different for each type of fields (a specific one for private fields, a different one for public fields…etc), is that possible ?

Thanks in advance
Frederic

Right now, as I understand it, that isn’t possible.

Can you provide some examples of why you want to do this? Specifically, examples of how you would configure this differently for different fields and why.

Right now, as I understand it, that isn’t possible.

Bummer.

Can you provide some examples of why you want to do this? Specifically, examples of how you would configure this differently for different fields and why.

Sure.
For example, our project’s code style is to have all private fields start with "_" while all public/protected filed NOT start with "_"

Thanks