forked from phoedos/pmd
Deprecate stuff for #2491
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user