Deprecate stuff for #2491

This commit is contained in:
Clément Fournier
2020-06-14 21:36:33 +02:00
parent bff3bcb487
commit d631b79307
2 changed files with 9 additions and 0 deletions

View File

@@ -31,6 +31,10 @@ public class ASTAnnotation extends AbstractApexNode<Annotation> {
return node.getType().getApexName();
}
/**
* @deprecated Will be removed in 7.0, the AST shouldn't know about rules
*/
@Deprecated
public boolean suppresses(Rule rule) {
final String ruleAnno = "PMD." + rule.getName();