Fix *ParserVisitor itf being deprecated

refs #2239
This commit is contained in:
Clément Fournier 2020-03-17 14:39:28 +01:00
parent 5ff0814120
commit e1069b4a33
6 changed files with 6 additions and 0 deletions

View File

@ -145,6 +145,7 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
<substitution expression="@Deprecated @net.sourceforge.pmd.annotation.InternalApi \0" />
<fileset dir="${target}/net/sourceforge/pmd/lang/java/ast">
<exclude name="AST*.java" />
<exclude name="*ParserVisitor.java"/>
</fileset>
</replaceregexp>

View File

@ -125,6 +125,7 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
<fileset dir="${target}/net/sourceforge/pmd/lang/jsp/ast">
<exclude name="AST*.java" />
<exclude name="ParseException.java" />
<exclude name="*ParserVisitor.java"/>
</fileset>
</replaceregexp>

View File

@ -160,6 +160,7 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
<substitution expression="@Deprecated @net.sourceforge.pmd.annotation.InternalApi \0" />
<fileset dir="${target}/net/sourceforge/pmd/lang/modelica/ast">
<exclude name="AST*.java" />
<exclude name="*ParserVisitor.java"/>
</fileset>
</replaceregexp>

View File

@ -148,6 +148,7 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
<substitution expression="@Deprecated @net.sourceforge.pmd.annotation.InternalApi \0" />
<fileset dir="${target}/net/sourceforge/pmd/lang/plsql/ast">
<exclude name="AST*.java" />
<exclude name="*ParserVisitor.java"/>
</fileset>
</replaceregexp>

View File

@ -124,6 +124,7 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
<substitution expression="@Deprecated @net.sourceforge.pmd.annotation.InternalApi \0" />
<fileset dir="${target}/net/sourceforge/pmd/lang/vf/ast">
<exclude name="AST*.java" />
<exclude name="*ParserVisitor.java"/>
</fileset>
</replaceregexp>

View File

@ -132,6 +132,7 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
<fileset dir="${target}/net/sourceforge/pmd/lang/vm/ast">
<exclude name="AST*.java" />
<exclude name="ParseException.java" />
<exclude name="*ParserVisitor.java"/>
</fileset>
</replaceregexp>