public class SuppressWarningsFilter extends Object implements org.sonar.api.issue.batch.IssueFilter
@SuppressWarnings annotation.
Plugins, via BatchExtensions, must feed this filter by registering the
lines in which are covered by suppress warnings. Note that filters are disabled for the issues reported by
end-users from UI or web services.| Constructor and Description |
|---|
SuppressWarningsFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.sonar.api.issue.Issue issue,
org.sonar.api.issue.batch.IssueFilterChain chain) |
void |
addComponent(String componentKey,
com.google.common.collect.Multimap<Integer,String> warningLines) |
public void addComponent(String componentKey, com.google.common.collect.Multimap<Integer,String> warningLines)
public boolean accept(org.sonar.api.issue.Issue issue,
org.sonar.api.issue.batch.IssueFilterChain chain)
accept in interface org.sonar.api.issue.batch.IssueFilterCopyright © 2012–2015 SonarSource. All rights reserved.