Package net.sourceforge.pmd.lang.rule
Class InternalApiBridge
java.lang.Object
net.sourceforge.pmd.lang.rule.InternalApiBridge
Internal API.
Acts as a bridge between outer parts of PMD and the restricted access internal API of this package.
None of this is published API, and compatibility can be broken anytime! Use this only at your own risk.
- Internal API:
- None of this is published API, and compatibility can be broken anytime! Use this only at your own risk.
-
Method Summary
Modifier and TypeMethodDescriptionloadRuleSetsWithoutException(RuleSetLoader ruleSetLoader, List<String> rulesetPaths) static booleanruleSetApplies(Rule rule, LanguageVersion languageVersion) static booleanruleSetApplies(RuleSet ruleSet, FileId fileId) static RuleSetLoaderwithReporter(RuleSetLoader ruleSetLoader, @NonNull PmdReporter reporter)
-
Method Details
-
ruleSetApplies
-
ruleSetApplies
-
loadRuleSetsWithoutException
public static List<RuleSet> loadRuleSetsWithoutException(RuleSetLoader ruleSetLoader, List<String> rulesetPaths) -
withReporter
public static RuleSetLoader withReporter(RuleSetLoader ruleSetLoader, @NonNull PmdReporter reporter)
-