lombok common comment
@Data is equivalent to adding a getter, setter methods
@AllArgsConstructor: automatic generation of all-argument constructor.
@NoArgsConstructor: no parameter automatically generated constructor.
Using procedure
1, pom added dependent
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.16</version>
</dependency>
2, enter the full path to the file system will automatically pop up under Lombok.jar pepper popups
third step is over, another will pop up the interface in accordance with its three-step tips:
Related jar package 1. The project added lombok (automatically downloaded without manual operation)
and then open ide ide 2. after the first exit (restart Eclipse)
3.Clear item (below, may be done enough maven-update program)
other users method: not test should be no problem
End according uppermost steps , below which there are automatic. And above users feel about the same way