Lombok Java Library

@ToString

The Class @ToString tag will replace the Overriding ToString method automatically.

@AllArgsConstructor and @NoArgsConstructor

The Class @AllArgsConstructor and @NoArgsConstructor tags will automatically replace the constructors.

@EqualsAndHashCode

The Class @EqualsAndHashCode tag will allow us to compare 2 objects.

@Log4J

The Class @Log4J tag can replace the logger initiator in the class. The LOGGER can be replaced by log.

@Data

The Class @Data tag will replace the @ToString, @RequiredArgsConstructor, @EqualsAndHashCode, @Setter (for non-final attributes) and the @Getter.