Wednesday 15 January 2014

java - Is there any way to enforce enum types naming convention with Checkstyle? -


We want to implement the Enum Type Naming Convention in our project to start with e letter (hence the names Should be designated eg ETJ , EColor etc.).

I see a way to implement the naming convention for the interface and class types (using the "Class Declaration" and "Interface Description" token).

Is there any way to do this Enums?

I think there is no easy way to do this with checkstyle so that you write your own Fall. Check to do this.

See:

No comments:

Post a Comment