title: Eclipse duplication annotation @SurpressWarnings for PMD
body: <p>I am trying to disable several arbitrary PMD warnings for my class. </p>
  
  <p><strong>How can I list several PMD rules to be ignored?</strong> I was not able to find with Google.</p>
  
  <pre><code>@SuppressWarnings("PMD.OnlyOneReturn")
  @SuppressWarnings("PMD.ShortVariable")
  public class MyClass {
  </code></pre>
  
  <p>it gives Eclipse compile time error:</p>
  
  <pre><code>Duplicate annotation @SurpressWarnings
  </code></pre>
  
  <p>This is compilable but ignored</p>
  
  <pre><code>@SuppressWarnings("PMD.OnlyOneReturn, PMD.ShortVariable")
  </code></pre>
  
  <p>This</p>
  
  <pre><code>@SuppressWarnings("PMD.OnlyOneReturn", "PMD.ShortVariable")
  </code></pre>
  
  <p>result is </p>
  
  <pre><code>Syntax error on token ,
  </code></pre>
  
  <p>Eclipse is configured to accept PMD type:</p>
  
  <p><a href="https://stackoverflow.com/questions/5017569/unsupported-suppresswarnings-pmd-donotcallsystemexit">Unsupported @SuppressWarnings ( &quot;PMD.DoNotCallSystemExit&quot; )</a></p>