[javacc] Make token constants file internal API

This commit is contained in:
Clément Fournier
2022-07-27 11:49:14 +02:00
parent 10698508ae
commit b045745269

View File

@ -348,6 +348,7 @@
<replaceregexp>
<regexp pattern="(public )?interface ${constants-itf-name} \{" />
<substitution expression="/** Token kinds ({@link ${ast-impl-package}.JavaccToken#kind}) for this language. */${line.separator}
@net.sourceforge.pmd.annotation.InternalApi${line.separator}
public final class ${token-constants-name} \{${line.separator}
private ${token-constants-name}() { /* Utility class */ }${line.separator}
"/>