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
-
-
Field Summary
Fields Modifier and Type Field Description static List<ViolationSuppressor>DEFAULT_SUPPRESSORS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RuleContextcreateRuleContext(FileAnalysisListener listener, Rule rule)Create a new RuleContext.static net.sourceforge.pmd.reporting.ParametricRuleViolationcreateRuleViolation(Rule theRule, FileLocation location, String message, Map<String,String> additionalInfo)static RulegetRule(RuleContext ruleContext)
-
-
-
Field Detail
-
DEFAULT_SUPPRESSORS
public static final List<ViolationSuppressor> DEFAULT_SUPPRESSORS
-
-
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.
-
-