1. Install the Eclipse Code Formatter plug-in
2. Download Ali P3C specification
https://github.com/alibaba/p3c/tree/master/p3c-formatter
2. Configure Eclipse Code Formatter
3. Import and select Ali template
eclipse-codestyle.xml - code template
eclipse-codetemplate.xml - Annotation template