- Use
google-java-format
for code formatting. - Use wrapper classes instead of primitives. For example, use
Integer
in place ofint
. It helps us in distinguishing, when a value is not set. - Use
@Builder
based object construction instead ofnew
. - Using
lombok
annotations for any new classes. - All hardcoded constants appear as a
private static final
variables at the top of the class.