Deprecate framework in plsql

This commit is contained in:
Clément Fournier
2020-07-28 23:48:30 +02:00
parent 520711a773
commit 01512447af
5 changed files with 16 additions and 0 deletions

View File

@ -12,6 +12,10 @@ import net.sourceforge.pmd.lang.dfa.DataFlowNode;
import net.sourceforge.pmd.lang.plsql.ast.ASTLabelledStatement;
import net.sourceforge.pmd.lang.plsql.dfa.PLSQLDataFlowNode;
/**
* @deprecated See {@link DataFlowNode}
*/
@Deprecated
public class PLSQLDataFlowHandler implements DataFlowHandler {
@Override
public DataFlowNode createDataFlowNode(List<DataFlowNode> dataFlow, Node node) {

View File

@ -8,6 +8,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
import net.sourceforge.pmd.lang.DataFlowHandler;
import net.sourceforge.pmd.lang.dfa.DataFlowNode;
import net.sourceforge.pmd.lang.plsql.ast.ASTCompoundTriggerBlock;
import net.sourceforge.pmd.lang.plsql.ast.ASTInput;
import net.sourceforge.pmd.lang.plsql.ast.ASTMethodDeclaration;
@ -22,7 +23,9 @@ import net.sourceforge.pmd.lang.plsql.ast.PLSQLParserVisitorAdapter;
* constructors.
*
* @author raik
* @deprecated See {@link DataFlowNode}
*/
@Deprecated
public class DataFlowFacade extends PLSQLParserVisitorAdapter {
private static final String CLASS_PATH = DataFlowFacade.class.getCanonicalName();
private static final Logger LOGGER = Logger.getLogger(DataFlowFacade.class.getName());

View File

@ -13,6 +13,10 @@ import net.sourceforge.pmd.lang.plsql.ast.ASTProgramUnit;
import net.sourceforge.pmd.lang.plsql.ast.ASTTriggerUnit;
import net.sourceforge.pmd.lang.plsql.ast.ASTTypeMethod;
/**
* @deprecated See {@link DataFlowNode}
*/
@Deprecated
public class PLSQLDataFlowNode extends AbstractDataFlowNode {
public PLSQLDataFlowNode(List<DataFlowNode> dataFlow, Node node) {

View File

@ -10,6 +10,7 @@ import java.util.logging.Logger;
import net.sourceforge.pmd.lang.DataFlowHandler;
import net.sourceforge.pmd.lang.ast.Node;
import net.sourceforge.pmd.lang.dfa.DataFlowNode;
import net.sourceforge.pmd.lang.dfa.Linker;
import net.sourceforge.pmd.lang.dfa.LinkerException;
import net.sourceforge.pmd.lang.dfa.NodeType;
@ -53,7 +54,9 @@ import net.sourceforge.pmd.lang.plsql.ast.PLSQLParserVisitorAdapter;
* to link the nodes.
*
* @author raik
* @deprecated See {@link DataFlowNode}
*/
@Deprecated
public class StatementAndBraceFinder extends PLSQLParserVisitorAdapter {
private static final Logger LOGGER = Logger.getLogger(StatementAndBraceFinder.class.getName());

View File

@ -34,7 +34,9 @@ import net.sourceforge.pmd.lang.symboltable.NameOccurrence;
* type of access of a variable.
*
* @author raik, Sven Jacob
* @deprecated See {@link DataFlowNode}
*/
@Deprecated
public class VariableAccessVisitor extends PLSQLParserVisitorAdapter {
public void compute(ASTMethodDeclaration node) {