From 941bb10d1cad9cb1b3770af84eed95f5d49c94b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Tue, 17 Mar 2020 14:48:37 +0100 Subject: [PATCH] Internalise PLSQL token manager --- .../net/sourceforge/pmd/lang/plsql/PLSQLTokenManager.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/PLSQLTokenManager.java b/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/PLSQLTokenManager.java index e07ee37d39..a566eeadf5 100644 --- a/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/PLSQLTokenManager.java +++ b/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/PLSQLTokenManager.java @@ -6,13 +6,20 @@ package net.sourceforge.pmd.lang.plsql; import java.io.Reader; +import net.sourceforge.pmd.annotation.InternalApi; +import net.sourceforge.pmd.lang.ParserOptions; import net.sourceforge.pmd.lang.TokenManager; import net.sourceforge.pmd.lang.ast.SimpleCharStream; import net.sourceforge.pmd.lang.plsql.ast.PLSQLParserTokenManager; /** * PLSQL Token Manager implementation. + * + * @deprecated This is internal API, use {@link net.sourceforge.pmd.lang.Parser#getTokenManager(String, Reader)} via + * {@link net.sourceforge.pmd.lang.LanguageVersionHandler#getParser(ParserOptions)}. */ +@Deprecated +@InternalApi public class PLSQLTokenManager implements TokenManager { private final PLSQLParserTokenManager tokenManager;