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;