Repository navigation
chore: Ensure deprecated items are annotated with @Deprecated - #7169
Conversation
This was missing in plsql, since javacc doesn't support annotations natively. These are added through the ant-task in javacc-wrapper.xml. The compiler will warn for future issues like this and fail the build.
|
Compared to main: (comment created at 2026-10-08 14:58:11+00:00 for f6caadb) |
|
Should the generated classes |
Good catch. I'll create a separate issue for that, because these classes are not deprecated at all. This PR is about consistency between javadoc and |
Describe the PR
This is just a small cleanup. This was missing only in plsql, since javacc doesn't support annotations natively. These are added through the ant-task in javacc-wrapper.xml. The compiler will warn for future issues like this and fail the build.
For context, I'm currently working on java modules (towards #4832 and #6168). Current state is here: https://github.com/adangel/pmd/tree/wip/real-java-modules
I was trying to build PMD for java11 and this compiler flag
-Xlint:dep-annwas enabled and found these problems.Related issues
Ready?
./mvnw clean verifypasses (checked automatically by github actions)