Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mdt-papyrus.dev] Papyrus naming convention Util vs Helper

Hi team,

 

Is there a rule for naming convention of Util vs Helper?

I didn’t find any reference in https://wiki.eclipse.org/Development_Conventions_and_Guidelines

 

For me :

 *A utility class is :

-          final

-          Not instantiable  (private constructor)

-          All methods are public static

Whereas

*A helper  is :

     -  public constructor

     - not static methods

     - methods can be public or private

 

ð  A utility class is stateless vs a helper is stateful

 

Did I missed something ?

Is there any eclipse rules for helper?

 

Regards,

Benoit Maggi


Back to the top