1. <small id='MO3nT'></small><noframes id='MO3nT'>

      <tfoot id='MO3nT'></tfoot>
      <legend id='MO3nT'><style id='MO3nT'><dir id='MO3nT'><q id='MO3nT'></q></dir></style></legend>

        <bdo id='MO3nT'></bdo><ul id='MO3nT'></ul>
    2. <i id='MO3nT'><tr id='MO3nT'><dt id='MO3nT'><q id='MO3nT'><span id='MO3nT'><b id='MO3nT'><form id='MO3nT'><ins id='MO3nT'></ins><ul id='MO3nT'></ul><sub id='MO3nT'></sub></form><legend id='MO3nT'></legend><bdo id='MO3nT'><pre id='MO3nT'><center id='MO3nT'></center></pre></bdo></b><th id='MO3nT'></th></span></q></dt></tr></i><div id='MO3nT'><tfoot id='MO3nT'></tfoot><dl id='MO3nT'><fieldset id='MO3nT'></fieldset></dl></div>

        SonarJava-71 使用 javax.annotation.Generated 注释时排除生成代码的问题

        时间:2024-05-09

          <legend id='9lbx1'><style id='9lbx1'><dir id='9lbx1'><q id='9lbx1'></q></dir></style></legend>

          <small id='9lbx1'></small><noframes id='9lbx1'>

        1. <tfoot id='9lbx1'></tfoot>

              <i id='9lbx1'><tr id='9lbx1'><dt id='9lbx1'><q id='9lbx1'><span id='9lbx1'><b id='9lbx1'><form id='9lbx1'><ins id='9lbx1'></ins><ul id='9lbx1'></ul><sub id='9lbx1'></sub></form><legend id='9lbx1'></legend><bdo id='9lbx1'><pre id='9lbx1'><center id='9lbx1'></center></pre></bdo></b><th id='9lbx1'></th></span></q></dt></tr></i><div id='9lbx1'><tfoot id='9lbx1'></tfoot><dl id='9lbx1'><fieldset id='9lbx1'></fieldset></dl></div>
                <bdo id='9lbx1'></bdo><ul id='9lbx1'></ul>
                  <tbody id='9lbx1'></tbody>

                1. 本文介绍了SonarJava-71 使用 javax.annotation.Generated 注释时排除生成代码的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我看到了这个https://jira.sonarsource.com/browse/SONARJAVA-71 改进当前状态为关闭.我被要求在这里提出我的问题.

                  I see this https://jira.sonarsource.com/browse/SONARJAVA-71 improvement which the current status is closed. I was asked to raise my question here.

                  我想知道如何实施修复,因为我尝试使用最新的 SonarJava 4.10.0.10260,但是它仍然报告带有 @generated 注释的类/方法问题.请告知如何实施此修复程序.包含此修复程序的 SonarJava 版本.谢谢!

                  I would like to know how to implement the fix because i tried to use latest SonarJava 4.10.0.10260, however it still reports issues on class/methods with @generated annotation. Please advise how to implement this fix. Which version of SonarJava release this fix is included. Thanks!

                  推荐答案

                  SONARAVA-71 已在 SonarJava Analyzer 版本 4.9 中实现,因此如果配置正确,您的 SonarJava 版本应忽略此类带注释的元素.

                  SONARAVA-71 has been implemented in version 4.9 of the SonarJava Analyzer, so your version of SonarJava should ignore such annotated elements if configured correctly.

                  现在,为了让使用(并且仅使用)@javax.annotation.Generated 注释的类和方法被分析器忽略,请确保 为您的分析提供字节码.

                  Now, in order to have classes ans methods annotated with (and only with) @javax.annotation.Generated being ignored by the analyzer, be sure to provide the bytecode for your analysis.

                  这篇关于SonarJava-71 使用 javax.annotation.Generated 注释时排除生成代码的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:运行 sonarrunner 时找不到类错误 下一篇:SONAR 问题 - 关闭此 FileInputStream

                  相关文章

                  <i id='hW5yN'><tr id='hW5yN'><dt id='hW5yN'><q id='hW5yN'><span id='hW5yN'><b id='hW5yN'><form id='hW5yN'><ins id='hW5yN'></ins><ul id='hW5yN'></ul><sub id='hW5yN'></sub></form><legend id='hW5yN'></legend><bdo id='hW5yN'><pre id='hW5yN'><center id='hW5yN'></center></pre></bdo></b><th id='hW5yN'></th></span></q></dt></tr></i><div id='hW5yN'><tfoot id='hW5yN'></tfoot><dl id='hW5yN'><fieldset id='hW5yN'></fieldset></dl></div>

                    <small id='hW5yN'></small><noframes id='hW5yN'>

                    • <bdo id='hW5yN'></bdo><ul id='hW5yN'></ul>

                    1. <tfoot id='hW5yN'></tfoot>

                      <legend id='hW5yN'><style id='hW5yN'><dir id='hW5yN'><q id='hW5yN'></q></dir></style></legend>