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.

Internal API:
None of this is published API, and compatibility can be broken anytime! Use this only at your own risk.
  • Field Details

  • Method Details

    • 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.
    • createRuleViolation

      public static net.sourceforge.pmd.reporting.ParametricRuleViolation createRuleViolation(Rule theRule, FileLocation location, String message, Map<String,String> additionalInfo)