I have enums like:
public static enum Command { login, register, logout, newMessage }
When formatting the file, the output becomes:
<
You can specify this in your formatter preferences: