public RuleFactory(ResourceLoader resourceLoader, LanguageRegistry languageRegistry)
Deprecated.
resourceLoader
- The resource loader to load the rule from jar
public RuleReference decorateRule(Rule referencedRule, RuleSetReference ruleSetReference, Element ruleElement, PmdXmlReporter err)
Deprecated.
Declaring a property in the overriding element throws an exception (the property must exist in the referenced rule).
referencedRule
- Referenced rule
ruleSetReference
- the ruleset, where the referenced rule is defined
ruleElement
- Element overriding some metadata about the rule
err
- Error reporter
public Rule buildRule(Element ruleElement, PmdXmlReporter err)
Deprecated.
Notes: The ruleset name is not set here. Exceptions raised from this method indicate invalid XML structure, with regards to the expected schema, while RuleBuilder validates the semantics.
ruleElement
- The rule element to parse
IllegalArgumentException
- if the element doesn't describe a valid rule.
public static @Nullable RulePriority parsePriority(PmdXmlReporter err, Element node)
Deprecated.
Parse a priority. If invalid, report it and return null.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4