Represents a version of a
Language
. Language instances provide a list of supported versions (
Language.getVersions()
). Individual versions can be retrieved from their version number (
Language.getVersion(String)
).
Versions are used to limit some rules to operate on only a version range. For instance, a rule that suggests eliding local variable types in Java (replacing them with var
) makes no sense if the codebase is not using Java 10 or later. This is determined by Rule.getMinimumLanguageVersion()
and Rule.getMaximumLanguageVersion()
. These should be set in the ruleset XML (they're attributes of the <rule>
element), and not overridden.
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