Package net.sourceforge.pmd.reporting
Class InternalApiBridge
- java.lang.Object
-
- net.sourceforge.pmd.reporting.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 RuleContext
createRuleContext(FileAnalysisListener listener, Rule rule)
Create a new RuleContext.static net.sourceforge.pmd.reporting.ParametricRuleViolation
createRuleViolation(Rule theRule, FileLocation location, String message, Map<String,String> additionalInfo)
static Rule
getRule(RuleContext ruleContext)
-
-
-
Method Detail
-
getRule
public static Rule getRule(RuleContext ruleContext)
-
createRuleContext
public static RuleContext createRuleContext(FileAnalysisListener listener, Rule rule)
Create a new RuleContext. The listener must be closed by its creator.
-
-