Deprecations for #2248

This commit is contained in:
Clément Fournier
2020-02-12 14:39:01 +01:00
parent 48cd952feb
commit d61ec4c737
5 changed files with 21 additions and 0 deletions

View File

@ -30,6 +30,11 @@ For the changes, see [PMD Designer Changelog](https://github.com/pmd/pmd-designe
### API Changes
#### Deprecated API
* {% jdoc core::lang.dfa.DFAGraphRule %} and its implementations
* {% jdoc core::lang.dfa.DFAGraphMethod %}
### External Contributions
* [#2251](https://github.com/pmd/pmd/pull/2251): \[java] FP for InvalidLogMessageFormat when using slf4j-Markers - [Kris Scheibe](https://github.com/kris-scheibe)

View File

@ -6,6 +6,10 @@ package net.sourceforge.pmd.lang.dfa;
import net.sourceforge.pmd.lang.ast.Node;
/**
* @deprecated Only used by the deprecated designer
*/
@Deprecated
public interface DFAGraphMethod extends Node {
String getName();

View File

@ -8,6 +8,10 @@ import java.util.List;
import net.sourceforge.pmd.Rule;
/**
* @deprecated Only used by the deprecated designer
*/
@Deprecated
public interface DFAGraphRule extends Rule {
List<DFAGraphMethod> getMethods();
}

View File

@ -13,6 +13,10 @@ import net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit;
import net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration;
import net.sourceforge.pmd.lang.java.rule.AbstractJavaRule;
/**
* @deprecated Only used by the deprecated designer
*/
@Deprecated
public class JavaDFAGraphRule extends AbstractJavaRule implements DFAGraphRule {
private List<DFAGraphMethod> methods;

View File

@ -16,6 +16,10 @@ import net.sourceforge.pmd.lang.plsql.ast.ASTTriggerUnit;
import net.sourceforge.pmd.lang.plsql.ast.ASTTypeMethod;
import net.sourceforge.pmd.lang.plsql.rule.AbstractPLSQLRule;
/**
* @deprecated Only used by the deprecated designer
*/
@Deprecated
public class DFAPLSQLGraphRule extends AbstractPLSQLRule implements DFAGraphRule {
private List<DFAGraphMethod> executables;