A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.pmd-code.org/apidocs/pmd-core/6.55.0/net/sourceforge/pmd/RuleSetReferenceId.html below:

RuleSetReferenceId (PMD Core 6.55.0 API)

This class is used to parse a RuleSet reference value. Most commonly used for specifying a RuleSet to process, or in a Rule 'ref' attribute value in the RuleSet XML. The RuleSet reference can refer to either an external RuleSet or the current RuleSet when used as a Rule 'ref' attribute value. An individual Rule in the RuleSet can be indicated. For an external RuleSet, referring to the entire RuleSet, the format is

ruleSetName

, where the RuleSet name is either a resource file path to a RuleSet that ends with

'.xml'

, or a simple RuleSet name. A simple RuleSet name, is one which contains no path separators, and either contains a '-' or is entirely numeric release number. A simple name of the form

[language]-[name]

is short for the full RuleSet name

rulesets/[language]/[name].xml

. A numeric release simple name of the form

[release]

is short for the full PMD Release RuleSet name

rulesets/releases/[release].xml

. For an external RuleSet, referring to a single Rule, the format is

ruleSetName/ruleName

, where the RuleSet name is as described above. A Rule with the

ruleName

should exist in this external RuleSet. For the current RuleSet, the format is

ruleName

, where the Rule name is not RuleSet name (i.e. contains no path separators, '-' or '.xml' in it, and is not all numeric). A Rule with the

ruleName

should exist in the current RuleSet.

Examples String RuleSet file name Rule rulesets/java/basic.xml rulesets/java/basic.xml all rulesets/java/basic.xml/EmptyCatchBlock rulesets/java/basic.xml EmptyCatchBlock EmptyCatchBlock null EmptyCatchBlock

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