maven-site-plugin 使用

maven-site-plugin是一个负责为Java项目生成静态HTML网站的插件。这个插件非常的有用,里面可以嵌入各种插件,比如用来对代码检查bug的findbugs,检查代码风格的checkstyle,生成testng测试报告的surefire等。先来看一下关于这个插件的配置的一个例子:

[html]  view plain copy print ?
  1.  <properties>  
  2.    <appengine.version>0.0.1-SNAPSHOT</appengine.version>  
  3.    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>  
  4.    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>  
  5.    <testng_version>6.4</testng_version>  
  6.    <logback_version>1.0.3</logback_version>  
  7.    <maven_java_version>1.6</maven_java_version>  
  8.    <maven.site.version>3.0</maven.site.version>  
  9.    <maven_javadoc_version>2.8.1</maven_javadoc_version>  
  10.    <maven_surefire_report_version>2.12</maven_surefire_report_version>  
  11.    <maven_cobertura_version>2.5.1</maven_cobertura_version>  
  12.    <maven.checkstyle.version>2.9.1</maven.checkstyle.version>  
  13.    <maven_findbugs_version>2.4.0</maven_findbugs_version>  
  14.    <maven_pmd_version>2.7</maven_pmd_version>  
  15.    <maven_umlgraph_version>4.6</maven_umlgraph_version>  
  16.    <checkstyle_javaheader_file>java_copyright_header.txt</checkstyle_javaheader_file>  
  17.    <maven.jxr.version>2.3</maven.jxr.version>  
  18.    <project.info.reports.version>2.4</project.info.reports.version>  
  19.  </properties>  
  20.   
  21.   
  22.  <dependencies>  
  23.    <dependency>  
  24.      <groupId>org.testng</groupId>  
  25.      <artifactId>testng</artifactId>  
  26.      <version>${testng_version}</version>  
  27.      <scope>test</scope>  
  28.    </dependency>  
  29.    <dependency>  
  30.      <groupId>ch.qos.logback</groupId>  
  31.      <artifactId>logback-classic</artifactId>  
  32.      <version>${logback_version}</version>  
  33.    </dependency>  
  34.  </dependencies>  
  35.   
  36.  <build>  
  37.    <pluginManagement>  
  38.      <plugins>  
  39. <plugin>  
  40.   <groupId>org.apache.maven.plugins</groupId>  
  41.   <artifactId>maven-surefire-plugin</artifactId>  
  42.   <version>2.12</version>  
  43. </plugin>  
  44. <plugin>  
  45.   <groupId>org.apache.maven.plugins</groupId>  
  46.   <artifactId>maven-site-plugin</artifactId>  
  47.   <version>${maven.site.version}</version>  
  48.   <configuration>  
  49.     <reportPlugins>  
  50.       <plugin>  
  51.     <groupId>org.apache.maven.plugins</groupId>  
  52.     <artifactId>maven-project-info-reports-plugin</artifactId>  
  53.     <version>${project.info.reports.version}</version>  
  54.       </plugin>  
  55.       <plugin>  
  56.     <artifactId>maven-checkstyle-plugin</artifactId>  
  57.     <version>${maven.checkstyle.version}</version>  
  58.     <configuration>  
  59.       <configLocation>esri_checkstyle.xml</configLocation>  
  60.       <excludes>**/test/**</excludes>  
  61.       <headerLocation>${checkstyle_javaheader_file}</headerLocation>  
  62.     </configuration>  
  63.       </plugin>  
  64.       <plugin>    
  65.     <groupId>org.apache.maven.plugins</groupId>    
  66.     <artifactId>maven-jxr-plugin</artifactId>    
  67.     <version>${maven.jxr.version}</version>    
  68.     <configuration>    
  69.       <aggregate>true</aggregate>    
  70.     </configuration>    
  71.       </plugin>    
  72.       <plugin>  
  73.     <artifactId>maven-javadoc-plugin</artifactId>  
  74.     <version>${maven_javadoc_version}</version>  
  75.     <configuration>  
  76.       <source>${maven_java_version}</source>  
  77.       <aggregate>true</aggregate>  
  78.       <doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet>  
  79.       <docletArtifact>  
  80.         <groupId>gr.spinellis</groupId>  
  81.         <artifactId>UmlGraph</artifactId>  
  82.         <version>${maven_umlgraph_version}</version>  
  83.       </docletArtifact>  
  84.       <additionalparam>  
  85.         -inferrel -inferdep -quiet -hide java.*  
  86.         -collpackages java.util.* -qualify  
  87.         -postfixpackage -nodefontsize  
  88.         9  
  89.         -nodefontpackagesize 7  
  90.       </additionalparam>  
  91.     </configuration>  
  92.       </plugin>  
  93.       <plugin>  
  94.     <groupId>org.apache.maven.plugins</groupId>  
  95.     <artifactId>maven-surefire-report-plugin</artifactId>  
  96.     <version>${maven_surefire_report_version}</version>  
  97.       </plugin>  
  98.       <plugin>  
  99.     <groupId>org.codehaus.mojo</groupId>  
  100.     <artifactId>cobertura-maven-plugin</artifactId>  
  101.     <version>${maven_cobertura_version}</version>  
  102.     <configuration>  
  103.       <formats>  
  104.         <format>xml</format>  
  105.         <format>html</format>  
  106.       </formats>  
  107.     </configuration>  
  108.       </plugin>  
  109.       <!--  
  110.       <plugin>  
  111.       <groupId>org.codehaus.mojo</groupId>  
  112.       <artifactId>emma-maven-plugin</artifactId>  
  113.       <version>1.0-alpha-3</version>  
  114.       </plugin>  
  115.       -->  
  116.       <plugin>  
  117.     <groupId>org.codehaus.mojo</groupId>  
  118.     <artifactId>findbugs-maven-plugin</artifactId>  
  119.     <version>${maven_findbugs_version}</version>  
  120.       </plugin>  
  121.       <plugin>  
  122.     <groupId>org.apache.maven.plugins</groupId>  
  123.     <artifactId>maven-pmd-plugin</artifactId>  
  124.     <version>${maven_pmd_version}</version>  
  125.     <configuration>  
  126.       <targetJdk>${maven_java_version}</targetJdk>  
  127.       <linkXref>true</linkXref>  
  128.     </configuration>  
  129.       </plugin>  
  130.       <plugin>  
  131.     <groupId>org.codehaus.mojo</groupId>  
  132.     <artifactId>taglist-maven-plugin</artifactId>  
  133.     <version>2.4</version>  
  134.     <configuration>  
  135.       <tags>  
  136.         <tag>fixme</tag>  
  137.         <tag>FixMe</tag>  
  138.         <tag>FIXME</tag>  
  139.         <tag>@todo</tag>  
  140.         <tag>todo</tag>  
  141.         <tag>TODO</tag>  
  142.         <tag>@deprecated</tag>  
  143.       </tags>  
  144.     </configuration>  
  145.       </plugin>  
  146.     </reportPlugins>  
  147.   </configuration>  
  148. </plugin>  
  149. <!--  
  150.     <plugin>  
  151.     <groupId>com.googlecode.maven-java-formatter-plugin</groupId>  
  152.     <artifactId>maven-java-formatter-plugin</artifactId>  
  153.     <version>0.3.1</version>  
  154.     <configuration>  
  155.     <configFile>${project.basedir}/../eclipse_style.xml</configFile>  
  156.     </configuration>  
  157.     <executions>  
  158.     <execution>  
  159.     <goals>  
  160.     <goal>format</goal>  
  161.     </goals>  
  162.     </execution>  
  163.     </executions>  
  164.     </plugin>  
  165. -->  
  166.      </plugins>  
  167.    </pluginManagement>  
  168.  </build>  



CheckStyle
请注意,checkstyle可以接受一个定制的规则文件,比如我这里的叫my_checkstyle.xml。这是从eclipse中导出的。

[html]  view plain copy print ?
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">  
  3.   
  4. <!-- 
  5.     This configuration file was written by the eclipse-cs plugin configuration editor 
  6. -->  
  7. <!--  
  8.     Checkstyle-Configuration: EsriRDC Sun Checks (Eclipse)  
  9.     Description:   
  10. For EsriRDC  
  11. -->  
  12. <module name="Checker">  
  13.   <property name="severity" value="warning"/>  
  14.   <module name="TreeWalker">  
  15.     <property name="tabWidth" value="4"/>  
  16.     <module name="JavadocMethod">  
  17.       <property name="suppressLoadErrors" value="true"/>  
  18.       <property name="allowMissingThrowsTags" value="true"/>   
  19.     </module>  
  20.     <module name="JavadocType"/>  
  21.     <module name="JavadocVariable"/>  
  22.     <module name="JavadocStyle"/>  
  23.     <module name="ConstantName"/>  
  24.     <module name="LocalFinalVariableName"/>  
  25.     <module name="LocalVariableName"/>  
  26.     <module name="MemberName"/>  
  27.     <module name="MethodName"/>  
  28.     <module name="PackageName"/>  
  29.     <module name="ParameterName"/>  
  30.     <module name="StaticVariableName"/>  
  31.     <module name="TypeName"/>  
  32.     <module name="AvoidStarImport"/>  
  33.     <module name="IllegalImport"/>  
  34.     <module name="RedundantImport"/>  
  35.     <module name="UnusedImports"/>  
  36.     <module name="LineLength">  
  37.       <property name="max" value="120"/>  
  38.     </module>  
  39.     <module name="MethodLength"/>  
  40.     <module name="ParameterNumber"/>  
  41.     <module name="EmptyForIteratorPad"/>  
  42.     <module name="MethodParamPad"/>  
  43.     <module name="NoWhitespaceAfter">  
  44.       <property name="tokens" value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/>  
  45.     </module>  
  46.     <module name="NoWhitespaceBefore"/>  
  47.     <module name="OperatorWrap"/>  
  48.     <module name="ParenPad"/>  
  49.     <module name="TypecastParenPad"/>  
  50.     <module name="WhitespaceAfter"/>  
  51.     <module name="WhitespaceAround"/>  
  52.     <module name="ModifierOrder"/>  
  53.     <module name="RedundantModifier"/>  
  54.     <module name="AvoidNestedBlocks"/>  
  55.     <module name="EmptyBlock"/>  
  56.     <module name="LeftCurly"/>  
  57.     <module name="NeedBraces"/>  
  58.     <module name="RightCurly"/>  
  59.     <module name="AvoidInlineConditionals">  
  60.       <property name="severity" value="ignore"/>  
  61.       <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>  
  62.     </module>  
  63.     <module name="DoubleCheckedLocking"/>  
  64.     <module name="EmptyStatement"/>  
  65.     <module name="EqualsHashCode"/>  
  66.     <module name="HiddenField">  
  67.       <property name="severity" value="ignore"/>  
  68.       <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>  
  69.     </module>  
  70.     <module name="IllegalInstantiation"/>  
  71.     <module name="InnerAssignment"/>  
  72.     <module name="MagicNumber"/>  
  73.     <module name="MissingSwitchDefault"/>  
  74.     <module name="RedundantThrows">  
  75.       <property name="suppressLoadErrors" value="true"/>  
  76.     </module>  
  77.     <module name="SimplifyBooleanExpression"/>  
  78.     <module name="SimplifyBooleanReturn"/>  
  79.     <module name="DesignForExtension">  
  80.       <property name="severity" value="ignore"/>  
  81.       <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>  
  82.     </module>  
  83.     <module name="FinalClass"/>  
  84.     <module name="HideUtilityClassConstructor"/>  
  85.     <module name="InterfaceIsType"/>  
  86.     <module name="VisibilityModifier"/>  
  87.     <module name="ArrayTypeStyle"/>  
  88.     <module name="FinalParameters">  
  89.       <property name="severity" value="ignore"/>  
  90.       <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>  
  91.     </module>  
  92.     <module name="TodoComment">  
  93.       <property name="severity" value="ignore"/>  
  94.       <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>  
  95.     </module>  
  96.     <module name="UpperEll"/>  
  97.   </module>  
  98.   <module name="JavadocPackage">  
  99.     <property name="severity" value="ignore"/>  
  100.     <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>  
  101.   </module>  
  102.   <module name="NewlineAtEndOfFile">  
  103.     <property name="severity" value="ignore"/>  
  104.     <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>  
  105.   </module>  
  106.   <module name="Translation"/>  
  107.   <module name="FileLength"/>  
  108.   <module name="FileTabCharacter">  
  109.     <property name="severity" value="ignore"/>  
  110.     <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>  
  111.   </module>  
  112.   <module name="RegexpSingleline">  
  113.     <property name="severity" value="ignore"/>  
  114.     <property name="format" value="\s+$"/>  
  115.     <property name="message" value="Line has trailing spaces."/>  
  116.     <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>  
  117.   </module>  
  118. </module>  

其实自己编辑这份xml文档也可以,语法规则还是很简单的。


有一个Maven插件可以帮助我对Java代码进行格式化,这个插件不属于maven-site-plugin管理,但是很有用。看我下面的配置:

[html]  view plain copy print ?
  1.      <plugin>  
  2. <groupId>com.googlecode.maven-java-formatter-plugin</groupId>  
  3. <artifactId>maven-java-formatter-plugin</artifactId>  
  4. <version>0.3.1</version>  
  5. <configuration>  
  6.   <configFile>${project.basedir}/eclipse_style.xml</configFile>  
  7. </configuration>  
  8. <executions>  
  9.   <execution>  
  10.     <goals>  
  11.       <goal>format</goal>  
  12.     </goals>  
  13.   </execution>  
  14. </executions>  
  15.      </plugin>  

这个插件需要一个从Eclipse导出的代表当前Eclipse编码风格的xml文件(你也可以手动编辑):

[html]  view plain copy print ?
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>  
  2. <profiles version="12">  
  3. <profile kind="CodeFormatterProfile" name="Chu Yeow's custom profile" version="12">  
  4. <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>  
  5. <setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>  
  6. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>  
  7. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>  
  8. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>  
  9. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>  
  10. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>  
  11. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>  
  12. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="insert"/>  
  13. <setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>  
  14. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="insert"/>  
  15. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>  
  16. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="do not insert"/>  
  17. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="1"/>  
  18. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>  
  19. <setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="false"/>  
  20. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>  
  21. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="do not insert"/>  
  22. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>  
  23. <setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>  
  24. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>  
  25. <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="insert"/>  
  26. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>  
  27. <setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>  
  28. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>  
  29. <setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>  
  30. <setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>  
  31. <setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/>  
  32. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>  
  33. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>  
  34. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>  
  35. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>  
  36. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>  
  37. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="do not insert"/>  
  38. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable" value="insert"/>  
  39. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="do not insert"/>  
  40. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>  
  41. <setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>  
  42. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>  
  43. <setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>  
  44. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>  
  45. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>  
  46. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>  
  47. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>  
  48. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>  
  49. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>  
  50. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>  
  51. <setting id="org.eclipse.jdt.core.compiler.source" value="1.7"/>  
  52. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>  
  53. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>  
  54. <setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>  
  55. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="insert"/>  
  56. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>  
  57. <setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true"/>  
  58. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>  
  59. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>  
  60. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>  
  61. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>  
  62. <setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>  
  63. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>  
  64. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>  
  65. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>  
  66. <setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="16"/>  
  67. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>  
  68. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>  
  69. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>  
  70. <setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="true"/>  
  71. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>  
  72. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>  
  73. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>  
  74. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>  
  75. <setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="false"/>  
  76. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="insert"/>  
  77. <setting id="org.eclipse.jdt.core.formatter.lineSplit" value="80"/>  
  78. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>  
  79. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>  
  80. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>  
  81. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>  
  82. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>  
  83. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>  
  84. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method" value="insert"/>  
  85. <setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>  
  86. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>  
  87. <setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on"/>  
  88. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>  
  89. <setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="16"/>  
  90. <setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>  
  91. <setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error"/>  
  92. <setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>  
  93. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>  
  94. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources" value="insert"/>  
  95. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>  
  96. <setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>  
  97. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>  
  98. <setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested" value="true"/>  
  99. <setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>  
  100. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>  
  101. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>  
  102. <setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="16"/>  
  103. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>  
  104. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="end_of_line"/>  
  105. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="insert"/>  
  106. <setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="0"/>  
  107. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>  
  108. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try" value="do not insert"/>  
  109. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>  
  110. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>  
  111. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>  
  112. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>  
  113. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>  
  114. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>  
  115. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="end_of_line"/>  
  116. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>  
  117. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>  
  118. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>  
  119. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>  
  120. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>  
  121. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try" value="do not insert"/>  
  122. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>  
  123. <setting id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments" value="false"/>  
  124. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw" value="insert"/>  
  125. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>  
  126. <setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error"/>  
  127. <setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="false"/>  
  128. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>  
  129. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="end_of_line"/>  
  130. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>  
  131. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="end_of_line"/>  
  132. <setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>  
  133. <setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch" value="true"/>  
  134. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>  
  135. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>  
  136. <setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column" value="true"/>  
  137. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>  
  138. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field" value="insert"/>  
  139. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="end_of_line"/>  
  140. <setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true"/>  
  141. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>  
  142. <setting id="org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch" value="16"/>  
  143. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>  
  144. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>  
  145. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>  
  146. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>  
  147. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>  
  148. <setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>  
  149. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>  
  150. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>  
  151. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>  
  152. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>  
  153. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="insert"/>  
  154. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>  
  155. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>  
  156. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>  
  157. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>  
  158. <setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>  
  159. <setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="16"/>  
  160. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>  
  161. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>  
  162. <setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>  
  163. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>  
  164. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>  
  165. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>  
  166. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="end_of_line"/>  
  167. <setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>  
  168. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>  
  169. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>  
  170. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>  
  171. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>  
  172. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>  
  173. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>  
  174. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>  
  175. <setting id="org.eclipse.jdt.core.compiler.compliance" value="1.7"/>  
  176. <setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>  
  177. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>  
  178. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>  
  179. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>  
  180. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>  
  181. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>  
  182. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>  
  183. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>  
  184. <setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="false"/>  
  185. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="insert"/>  
  186. <setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>  
  187. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>  
  188. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>  
  189. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="do not insert"/>  
  190. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>  
  191. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>  
  192. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>  
  193. <setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="16"/>  
  194. <setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/>  
  195. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="end_of_line"/>  
  196. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type" value="insert"/>  
  197. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>  
  198. <setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>  
  199. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try" value="insert"/>  
  200. <setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>  
  201. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label" value="do not insert"/>  
  202. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter" value="do not insert"/>  
  203. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>  
  204. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>  
  205. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="do not insert"/>  
  206. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>  
  207. <setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>  
  208. <setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="80"/>  
  209. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package" value="insert"/>  
  210. <setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1"/>  
  211. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>  
  212. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>  
  213. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="end_of_line"/>  
  214. <setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>  
  215. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>  
  216. <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>  
  217. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>  
  218. <setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>  
  219. <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>  
  220. <setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>  
  221. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>  
  222. <setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>  
  223. <setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>  
  224. <setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="true"/>  
  225. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>  
  226. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>  
  227. <setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>  
  228. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>  
  229. <setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>  
  230. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>  
  231. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>  
  232. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>  
  233. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>  
  234. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>  
  235. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>  
  236. <setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>  
  237. <setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>  
  238. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>  
  239. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>  
  240. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="insert"/>  
  241. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>  
  242. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>  
  243. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>  
  244. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>  
  245. <setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>  
  246. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>  
  247. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>  
  248. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>  
  249. <setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="16"/>  
  250. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="insert"/>  
  251. <setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.7"/>  
  252. <setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="80"/>  
  253. <setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>  
  254. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation" value="0"/>  
  255. <setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>  
  256. <setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>  
  257. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>  
  258. <setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>  
  259. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert"/>  
  260. <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>  
  261. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>  
  262. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>  
  263. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>  
  264. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>  
  265. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>  
  266. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>  
  267. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>  
  268. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>  
  269. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="end_of_line"/>  
  270. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>  
  271. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>  
  272. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>  
  273. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>  
  274. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>  
  275. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>  
  276. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>  
  277. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>  
  278. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>  
  279. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>  
  280. <setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries" value="true"/>  
  281. <setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>  
  282. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>  
  283. <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>  
  284. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>  
  285. <setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>  
  286. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources" value="do not insert"/>  
  287. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>  
  288. <setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>  
  289. <setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>  
  290. </profile>  
  291. <profile kind="CodeFormatterProfile" name="Eclipse [Jack]" version="12">  
  292. <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>  
  293. <setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>  
  294. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>  
  295. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>  
  296. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>  
  297. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>  
  298. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>  
  299. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>  
  300. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="insert"/>  
  301. <setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>  
  302. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="insert"/>  
  303. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>  
  304. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="do not insert"/>  
  305. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>  
  306. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>  
  307. <setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="false"/>  
  308. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>  
  309. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="do not insert"/>  
  310. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>  
  311. <setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>  
  312. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>  
  313. <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="insert"/>  
  314. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>  
  315. <setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>  
  316. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>  
  317. <setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>  
  318. <setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>  
  319. <setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/>  
  320. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>  
  321. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>  
  322. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>  
  323. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>  
  324. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>  
  325. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="do not insert"/>  
  326. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable" value="insert"/>  
  327. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="do not insert"/>  
  328. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>  
  329. <setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>  
  330. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>  
  331. <setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>  
  332. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>  
  333. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>  
  334. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>  
  335. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>  
  336. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>  
  337. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>  
  338. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>  
  339. <setting id="org.eclipse.jdt.core.compiler.source" value="1.7"/>  
  340. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>  
  341. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>  
  342. <setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>  
  343. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="insert"/>  
  344. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>  
  345. <setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true"/>  
  346. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>  
  347. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>  
  348. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>  
  349. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>  
  350. <setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="true"/>  
  351. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>  
  352. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>  
  353. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>  
  354. <setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="16"/>  
  355. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>  
  356. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>  
  357. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>  
  358. <setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="true"/>  
  359. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>  
  360. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>  
  361. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>  
  362. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>  
  363. <setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="false"/>  
  364. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="insert"/>  
  365. <setting id="org.eclipse.jdt.core.formatter.lineSplit" value="80"/>  
  366. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>  
  367. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>  
  368. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>  
  369. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>  
  370. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>  
  371. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>  
  372. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method" value="insert"/>  
  373. <setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>  
  374. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>  
  375. <setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on"/>  
  376. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>  
  377. <setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="17"/>  
  378. <setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>  
  379. <setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error"/>  
  380. <setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="tab"/>  
  381. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>  
  382. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources" value="insert"/>  
  383. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>  
  384. <setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>  
  385. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>  
  386. <setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested" value="true"/>  
  387. <setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>  
  388. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>  
  389. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>  
  390. <setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="16"/>  
  391. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>  
  392. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="end_of_line"/>  
  393. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="insert"/>  
  394. <setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="0"/>  
  395. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>  
  396. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try" value="do not insert"/>  
  397. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>  
  398. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>  
  399. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>  
  400. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>  
  401. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>  
  402. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>  
  403. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="end_of_line"/>  
  404. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>  
  405. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>  
  406. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>  
  407. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>  
  408. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>  
  409. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try" value="do not insert"/>  
  410. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>  
  411. <setting id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments" value="false"/>  
  412. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw" value="insert"/>  
  413. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>  
  414. <setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error"/>  
  415. <setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>  
  416. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>  
  417. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="end_of_line"/>  
  418. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>  
  419. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="end_of_line"/>  
  420. <setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>  
  421. <setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch" value="true"/>  
  422. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>  
  423. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>  
  424. <setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column" value="true"/>  
  425. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>  
  426. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field" value="insert"/>  
  427. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="end_of_line"/>  
  428. <setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true"/>  
  429. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>  
  430. <setting id="org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch" value="16"/>  
  431. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>  
  432. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>  
  433. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>  
  434. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>  
  435. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>  
  436. <setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>  
  437. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>  
  438. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>  
  439. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>  
  440. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>  
  441. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="insert"/>  
  442. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>  
  443. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>  
  444. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>  
  445. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>  
  446. <setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>  
  447. <setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="16"/>  
  448. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>  
  449. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>  
  450. <setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>  
  451. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>  
  452. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>  
  453. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>  
  454. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="end_of_line"/>  
  455. <setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>  
  456. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>  
  457. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>  
  458. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>  
  459. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>  
  460. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>  
  461. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>  
  462. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>  
  463. <setting id="org.eclipse.jdt.core.compiler.compliance" value="1.7"/>  
  464. <setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>  
  465. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>  
  466. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>  
  467. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>  
  468. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>  
  469. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>  
  470. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>  
  471. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>  
  472. <setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="false"/>  
  473. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="insert"/>  
  474. <setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>  
  475. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>  
  476. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>  
  477. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="do not insert"/>  
  478. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>  
  479. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>  
  480. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>  
  481. <setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="17"/>  
  482. <setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/>  
  483. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="end_of_line"/>  
  484. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type" value="insert"/>  
  485. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>  
  486. <setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>  
  487. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try" value="insert"/>  
  488. <setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>  
  489. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label" value="do not insert"/>  
  490. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter" value="do not insert"/>  
  491. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>  
  492. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>  
  493. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="do not insert"/>  
  494. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>  
  495. <setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>  
  496. <setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="80"/>  
  497. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package" value="insert"/>  
  498. <setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1"/>  
  499. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>  
  500. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>  
  501. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="end_of_line"/>  
  502. <setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>  
  503. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>  
  504. <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>  
  505. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>  
  506. <setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>  
  507. <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>  
  508. <setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>  
  509. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>  
  510. <setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>  
  511. <setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>  
  512. <setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="true"/>  
  513. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>  
  514. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>  
  515. <setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>  
  516. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>  
  517. <setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>  
  518. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>  
  519. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>  
  520. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>  
  521. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>  
  522. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>  
  523. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>  
  524. <setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>  
  525. <setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>  
  526. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>  
  527. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>  
  528. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="insert"/>  
  529. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>  
  530. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>  
  531. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>  
  532. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>  
  533. <setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>  
  534. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>  
  535. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>  
  536. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>  
  537. <setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="16"/>  
  538. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="insert"/>  
  539. <setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.7"/>  
  540. <setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="80"/>  
  541. <setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>  
  542. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation" value="0"/>  
  543. <setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="true"/>  
  544. <setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>  
  545. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>  
  546. <setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>  
  547. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert"/>  
  548. <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>  
  549. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>  
  550. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>  
  551. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>  
  552. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>  
  553. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>  
  554. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>  
  555. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>  
  556. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>  
  557. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="end_of_line"/>  
  558. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>  
  559. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>  
  560. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>  
  561. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>  
  562. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>  
  563. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>  
  564. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>  
  565. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>  
  566. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>  
  567. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>  
  568. <setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries" value="true"/>  
  569. <setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>  
  570. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>  
  571. <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>  
  572. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>  
  573. <setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>  
  574. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources" value="do not insert"/>  
  575. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>  
  576. <setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>  
  577. <setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>  
  578. </profile>  
  579. <profile kind="CodeFormatterProfile" name="eclipse-cs GeoFlowDaemon" version="12">  
  580. <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>  
  581. <setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>  
  582. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>  
  583. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>  
  584. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>  
  585. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>  
  586. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>  
  587. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>  
  588. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="insert"/>  
  589. <setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>  
  590. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="insert"/>  
  591. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>  
  592. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="do not insert"/>  
  593. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>  
  594. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>  
  595. <setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="false"/>  
  596. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>  
  597. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="do not insert"/>  
  598. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>  
  599. <setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>  
  600. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>  
  601. <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="insert"/>  
  602. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>  
  603. <setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>  
  604. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>  
  605. <setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>  
  606. <setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>  
  607. <setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/>  
  608. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>  
  609. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>  
  610. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>  
  611. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>  
  612. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>  
  613. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="do not insert"/>  
  614. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable" value="insert"/>  
  615. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="do not insert"/>  
  616. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>  
  617. <setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>  
  618. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>  
  619. <setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>  
  620. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>  
  621. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>  
  622. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>  
  623. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>  
  624. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>  
  625. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>  
  626. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>  
  627. <setting id="org.eclipse.jdt.core.compiler.source" value="1.7"/>  
  628. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>  
  629. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>  
  630. <setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>  
  631. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="insert"/>  
  632. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>  
  633. <setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true"/>  
  634. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>  
  635. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>  
  636. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>  
  637. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>  
  638. <setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>  
  639. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>  
  640. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>  
  641. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>  
  642. <setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="16"/>  
  643. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>  
  644. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>  
  645. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>  
  646. <setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="true"/>  
  647. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>  
  648. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>  
  649. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>  
  650. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>  
  651. <setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="false"/>  
  652. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="insert"/>  
  653. <setting id="org.eclipse.jdt.core.formatter.lineSplit" value="80"/>  
  654. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>  
  655. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>  
  656. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>  
  657. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>  
  658. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>  
  659. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>  
  660. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method" value="insert"/>  
  661. <setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>  
  662. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>  
  663. <setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on"/>  
  664. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>  
  665. <setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="16"/>  
  666. <setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>  
  667. <setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error"/>  
  668. <setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>  
  669. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>  
  670. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources" value="insert"/>  
  671. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>  
  672. <setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>  
  673. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>  
  674. <setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested" value="true"/>  
  675. <setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>  
  676. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>  
  677. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>  
  678. <setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="16"/>  
  679. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>  
  680. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="end_of_line"/>  
  681. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="insert"/>  
  682. <setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="0"/>  
  683. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>  
  684. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try" value="do not insert"/>  
  685. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>  
  686. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>  
  687. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>  
  688. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>  
  689. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>  
  690. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>  
  691. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="end_of_line"/>  
  692. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>  
  693. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>  
  694. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>  
  695. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>  
  696. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>  
  697. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try" value="do not insert"/>  
  698. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>  
  699. <setting id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments" value="false"/>  
  700. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw" value="insert"/>  
  701. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>  
  702. <setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error"/>  
  703. <setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="false"/>  
  704. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>  
  705. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="end_of_line"/>  
  706. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>  
  707. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="end_of_line"/>  
  708. <setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>  
  709. <setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch" value="true"/>  
  710. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>  
  711. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>  
  712. <setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column" value="true"/>  
  713. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>  
  714. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field" value="insert"/>  
  715. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="end_of_line"/>  
  716. <setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true"/>  
  717. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>  
  718. <setting id="org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch" value="16"/>  
  719. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>  
  720. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>  
  721. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>  
  722. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>  
  723. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>  
  724. <setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>  
  725. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>  
  726. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>  
  727. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>  
  728. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>  
  729. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="insert"/>  
  730. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>  
  731. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>  
  732. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>  
  733. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>  
  734. <setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>  
  735. <setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="16"/>  
  736. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>  
  737. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>  
  738. <setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>  
  739. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>  
  740. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>  
  741. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>  
  742. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="end_of_line"/>  
  743. <setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>  
  744. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>  
  745. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>  
  746. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>  
  747. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>  
  748. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>  
  749. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>  
  750. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>  
  751. <setting id="org.eclipse.jdt.core.compiler.compliance" value="1.7"/>  
  752. <setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>  
  753. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>  
  754. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>  
  755. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>  
  756. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>  
  757. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>  
  758. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>  
  759. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>  
  760. <setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="false"/>  
  761. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="insert"/>  
  762. <setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>  
  763. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>  
  764. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>  
  765. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="insert"/>  
  766. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>  
  767. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>  
  768. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>  
  769. <setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="16"/>  
  770. <setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/>  
  771. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="end_of_line"/>  
  772. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type" value="insert"/>  
  773. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>  
  774. <setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>  
  775. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try" value="insert"/>  
  776. <setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>  
  777. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label" value="do not insert"/>  
  778. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter" value="do not insert"/>  
  779. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>  
  780. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>  
  781. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="do not insert"/>  
  782. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>  
  783. <setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>  
  784. <setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="80"/>  
  785. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package" value="insert"/>  
  786. <setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1"/>  
  787. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>  
  788. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>  
  789. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="end_of_line"/>  
  790. <setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>  
  791. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>  
  792. <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>  
  793. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>  
  794. <setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>  
  795. <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>  
  796. <setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>  
  797. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>  
  798. <setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>  
  799. <setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>  
  800. <setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="true"/>  
  801. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>  
  802. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>  
  803. <setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>  
  804. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>  
  805. <setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>  
  806. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>  
  807. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>  
  808. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>  
  809. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>  
  810. <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>  
  811. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>  
  812. <setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>  
  813. <setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>  
  814. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>  
  815. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>  
  816. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="insert"/>  
  817. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>  
  818. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>  
  819. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>  
  820. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>  
  821. <setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>  
  822. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>  
  823. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>  
  824. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>  
  825. <setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="16"/>  
  826. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="insert"/>  
  827. <setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.7"/>  
  828. <setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="80"/>  
  829. <setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>  
  830. <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation" value="0"/>  
  831. <setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>  
  832. <setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>  
  833. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>  
  834. <setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>  
  835. <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert"/>  
  836. <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>  
  837. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>  
  838. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>  
  839. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>  
  840. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>  
  841. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>  
  842. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>  
  843. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>  
  844. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>  
  845. <setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="end_of_line"/>  
  846. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>  
  847. <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>  
  848. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>  
  849. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>  
  850. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>  
  851. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>  
  852. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>  
  853. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>  
  854. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>  
  855. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>  
  856. <setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries" value="true"/>  
  857. <setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>  
  858. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>  
  859. <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>  
  860. <setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>  
  861. <setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>  
  862. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources" value="do not insert"/>  
  863. <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>  
  864. <setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>  
  865. <setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>  
  866. </profile>  
  867. </profiles>  

maven-java-formatter-plugin 对于我可是帮了大忙,我不用Eclipse开发,每次只要执行mvn clean compile,就会自动格式化我的Java代码。然后稍作修改,就满足CheckStyle的规则了。原来还用过一个叫做jalopy,那东西现在要付钱了,免费版本我记得并不好用。

Javadoc plugin

现在聊聊生成Java文档。maven-javadoc-plugin可以根据注释,自动生成文档。但是如果你还想要在文档里面看到UML静态结构图,需要制定使用UmlGraph.在我的Ubuntu下面,需要事先做一些准备工作:

1.下载UmlGraph 并安装,可以参考这里的文档:

http://www.umlgraph.org/doc/install.html (javadoc tool已经在安装jdk的时候装好了)

2.apt-get install graphviz

3.apt-get install plotutils


测试报告

要想使用surefire-report-plugin产生报告,还需要在site-plugin之外配置一个maven-surefire-plugin,里面指定了testng.xml,因为我用TestNG开发测试程序。

[html]  view plain copy print ?
  1.      <plugin>  
  2. <groupId>org.apache.maven.plugins</groupId>  
  3. <artifactId>maven-surefire-plugin</artifactId>  
  4. <version>2.12</version>  
  5. <configuration>  
  6.   <suiteXmlFiles>  
  7.     <suiteXmlFile>testng.xml</suiteXmlFile>  
  8.   </suiteXmlFiles>  
  9. </configuration>  
  10.      </plugin>  


现在执行一下mvn clean site

会编译,测试,扫描代码,生成html文件.最后通过浏览器打开target/site/下面的project-reports.html。仔细看看,Java社区多么规范,Maven多么方便啊。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值