Deprecate generated parser implementations

This commit is contained in:
Andreas Dangel 2024-07-25 12:23:04 +02:00
parent 39750cf158
commit f1f376d248
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3
5 changed files with 22 additions and 2 deletions

View File

@ -17,6 +17,15 @@ This is a {{ site.pmd.release_type }} release.
### 🐛 Fixed Issues
### 🚨 API Changes
* pmd-jsp
* {%jdoc jsp::lang.jsp.ast.JspParserImpl %} is deprecated now. It should have been package-private
because this is an implementation class that should not be used directly.
* pmd-velocity
* {%jdoc velocity::lang.velocity.ast.VtlParserImpl %} is deprecated now. It should have been package-private
because this is an implementation class that should not be used directly.
* pmd-visualforce
* {%jdoc visualforce::lang.visualforce.ast.VfParserImpl %} is deprecated now. It should have been package-private
because this is an implementation class that should not be used directly.
### ✨ External Contributions

View File

@ -33,7 +33,10 @@ package net.sourceforge.pmd.lang.jsp.ast;
/**
* JSP Parser for PMD.
* @author Pieter, Application Engineers NV/SA, http://www.ae.be
* @deprecated Since 7.5.0. JspParserImpl should have been package private because this is an implementation class
* that should not be used directly.
*/
@Deprecated
public class JspParserImpl {

View File

@ -176,7 +176,7 @@ import java.util.ArrayList;
import java.util.List;
/**
* @deprecated PLSQLParserImpl should have been package private because this is an implementation class
* @deprecated Since 7.3.0. PLSQLParserImpl should have been package private because this is an implementation class
* that should not be used directly.
*/
@Deprecated

View File

@ -58,7 +58,10 @@ import net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken;
* @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>
* @author <a href="hps@intermeta.de">Henning P. Schmiedehausen</a>
* @version $Id$
*/
* @deprecated Since 7.5.0. VtlParserImpl should have been package private because this is an implementation class
* that should not be used directly.
*/
@Deprecated
public class VtlParserImpl
{
private void throwParseException(String message) {

View File

@ -13,6 +13,11 @@ options {
PARSER_BEGIN(VfParserImpl)
package net.sourceforge.pmd.lang.visualforce.ast;
/**
* @deprecated Since 7.5.0. VfParserImpl should have been package private because this is an implementation class
* that should not be used directly.
*/
@Deprecated
public class VfParserImpl {