Package net.sourceforge.pmd.lang.rule
Class InternalApiBridge
- java.lang.Object
-
- net.sourceforge.pmd.lang.rule.InternalApiBridge
-
@InternalApi public final class InternalApiBridge extends Object
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.
- API Note:
- Internal API
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<RuleSet>
loadRuleSetsWithoutException(RuleSetLoader ruleSetLoader, List<String> rulesetPaths)
static boolean
ruleSetApplies(Rule rule, LanguageVersion languageVersion)
static boolean
ruleSetApplies(RuleSet ruleSet, FileId fileId)
static RuleSetLoader
withReporter(RuleSetLoader ruleSetLoader, @NonNull PmdReporter reporter)
-
-
-
Method Detail
-
ruleSetApplies
public static boolean ruleSetApplies(Rule rule, LanguageVersion languageVersion)
-
loadRuleSetsWithoutException
public static List<RuleSet> loadRuleSetsWithoutException(RuleSetLoader ruleSetLoader, List<String> rulesetPaths)
-
withReporter
public static RuleSetLoader withReporter(RuleSetLoader ruleSetLoader, @NonNull PmdReporter reporter)
-
-