This method was added only as a temporary, transitional solution. The main fix was not finished for 7.0.0 yet, but with 7.x, we should finish it: * Provide the RuleContext directly via the typed visitors - no more Object and casting * This affects all rules in all languages * We should make sure, that the docs (extending PMD with a new language javacc/antlr) are suggesting a correctly typed visitor Related issues: * #4321 * We might consider to create an alternative base rule class (probably for each language), that is _not_ a visitor itself.
Activity
6 remaining items
Deprecate 3 methods:
Deprecate 3 methods:
Deprecate 3 methods:
Deprecate 3 methods:
Deprecate 3 methods:
pmd#4814: prepare deprecation of asCtx in java-bestpractices
pmd#4814: prepare deprecation of asCtx in java-bestpractices
pmd#4814: prepare deprecation of asCtx in java-bestpractices
[java] Prepare deprecation of asCtx in java-bestpractices (part of #4814
pmd#4814: prepare deprecation of asCtx in java-codestyle
pmd#4814: prepare deprecation of asCtx in java-codestyle
[java] Prepare deprecation of asCtx in java-codestyle (part of #4814) (…
[java] Prepare deprecation of asCtx in java-errorprone (part of #4814) (
[java] Prepare deprecation of asCtx in pmd-java (part of #4814) (#7301)