package <%=packageName%>.security;

/**
 * Constants for Spring Security authorities.
 */
public final class AuthoritiesConstants {

    private AuthoritiesConstants() {
    }

    public static final String ADMIN = "ROLE_ADMIN";

    public static final String USER = "ROLE_USER";

    public static final String ANONYMOUS = "ROLE_ANONYMOUS";
}

@@ -130,52 +130,8 @@
  %7B%0A%0A
-    private AuthoritiesConstants() %7B%0A    %7D%0A%0A
     
@@ -292,11 +292,55 @@
 NYMOUS%22;
+%0A%0A    private AuthoritiesConstants() %7B%0A    %7D
 %0A%7D%0A

Move constructor after the public fields