void
addExample(String example)
Add a single example for this Rule.
void
apply(Node target, RuleContext ctx)
Process the given node.
Rule
deepCopy()
Creates a new copy of this rule.
void
end(RuleContext ctx)
End processing.
String
getDescription()
Get the description of this Rule.
List<String>
getExamples()
Get the list of examples for this Rule.
String
getExternalInfoUrl()
Get a URL for external information about this Rule.
Language
getLanguage()
Get the Language of this Rule.
LanguageVersion
getMaximumLanguageVersion()
Get the maximum LanguageVersion to which this Rule applies.
String
getMessage()
Get the message to show when this Rule identifies a violation.
LanguageVersion
getMinimumLanguageVersion()
Get the minimum LanguageVersion to which this Rule applies.
String
getName()
Get the name of this Rule.
RulePriority
getPriority()
Get the priority of this Rule.
String
getRuleClass()
Get the implementation class of this Rule.
String
getRuleSetName()
Get the name of the RuleSet containing this Rule.
String
getSince()
Get the version of PMD in which this Rule was added.
RuleTargetSelector
getTargetSelector()
Returns the object that selects the nodes to which this rule applies.
default void
initialize(LanguageProcessor languageProcessor)
Initialize the rule using the language processor if needed.
boolean
isDeprecated()
Gets whether this Rule is deprecated.
void
setDeprecated(boolean deprecated)
Sets whether this Rule is deprecated.
void
setDescription(String description)
Set the description of this Rule.
void
setExternalInfoUrl(String externalInfoUrl)
Set a URL for external information about this Rule.
void
setLanguage(Language language)
Set the Language of this Rule.
void
setMaximumLanguageVersion(LanguageVersion maximumLanguageVersion)
Set the maximum LanguageVersion to which this Rule applies.
void
setMessage(String message)
Set the message to show when this Rule identifies a violation.
void
setMinimumLanguageVersion(LanguageVersion minimumLanguageVersion)
Set the minimum LanguageVersion to which this Rule applies.
void
setName(String name)
Set the name of this Rule.
void
setPriority(RulePriority priority)
Set the priority of this Rule.
void
setRuleClass(String ruleClass)
Set the class of this Rule.
void
setRuleSetName(String name)
Set the name of the RuleSet containing this Rule.
void
setSince(String since)
Set the version of PMD in which this Rule was added.
void
start(RuleContext ctx)
Start processing.
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