Merge branch '7.0.x' into java-rule-bulk-update

This commit is contained in:
Clément Fournier committed 2020-11-08 09:08:51 +01:00
commit 9a99b3ccb2
2 files changed
+9

No files matched your search

+3
View File
@@ -43,6 +43,9 @@ You can identify them with the `@InternalApi` annotation. You'll also get a depr
* {% jdoc !!javascript::lang.ecmascript.Ecmascript3Parser %}
* {% jdoc !!javascript::lang.ecmascript.ast.EcmascriptParser#parserOptions %}
* {% jdoc !!javascript::lang.ecmascript.ast.EcmascriptParser#getSuppressMap() %}
* {% jdoc !!core::lang.rule.ParametricRuleViolation %}
* {% jdoc !!core::lang.ParserOptions#suppressMarker %}
* {% jdoc !!modelica::lang.modelica.rule.ModelicaRuleViolationFactory %}
### External Contributions
@@ -9,10 +9,16 @@ import java.io.File;
import net.sourceforge.pmd.Rule;
import net.sourceforge.pmd.RuleContext;
import net.sourceforge.pmd.RuleViolation;
import net.sourceforge.pmd.annotation.InternalApi;
import net.sourceforge.pmd.internal.util.AssertionUtil;
import net.sourceforge.pmd.lang.ast.Node;
import net.sourceforge.pmd.properties.PropertyDescriptor;
/**
* @deprecated This is internal. Clients should exclusively use {@link RuleViolation}.
*/
@Deprecated
@InternalApi
public class ParametricRuleViolation<T extends Node> implements RuleViolation {
protected final Rule rule;