## Uses of Class
net.sourceforge.pmd.lang.LanguageVersion

Packages that use LanguageVersion
Package | Description
--- | ---
net.sourceforge.pmd | This is the PMD programming mistake detector.
net.sourceforge.pmd.lang |
net.sourceforge.pmd.lang.rule |
net.sourceforge.pmd.util.viewer.model |

### Uses of LanguageVersion in net.sourceforge.pmd

Methods in net.sourceforge.pmd that return LanguageVersion
Modifier and Type | Method and Description
--- | ---
`LanguageVersion` | RuleContext.`getLanguageVersion()` Get the LanguageVersion associated with the current source file.
`LanguageVersion` | PMDConfiguration.`getLanguageVersionOfFile(String fileName)` Get the LanguageVersion of the source file with given name.
`LanguageVersion` | Rule.`getMaximumLanguageVersion()` Get the maximum LanguageVersion to which this Rule applies.
`LanguageVersion` | Rule.`getMinimumLanguageVersion()` Get the minimum LanguageVersion to which this Rule applies.

Methods in net.sourceforge.pmd with parameters of type LanguageVersion
Modifier and Type | Method and Description
--- | ---
`static boolean` | RuleSet.`applies(Rule rule, LanguageVersion languageVersion)` Does the given Rule apply to the given LanguageVersion?
`static Parser` | PMD.`parserFor(LanguageVersion languageVersion, PMDConfiguration configuration)`
`void` | PMDConfiguration.`setDefaultLanguageVersion(LanguageVersion languageVersion)` Set the given LanguageVersion as the current default for it's Language.
`void` | RuleContext.`setLanguageVersion(LanguageVersion languageVersion)` Set the LanguageVersion associated with the current source file.
`void` | Rule.`setMaximumLanguageVersion(LanguageVersion maximumLanguageVersion)` Set the maximum LanguageVersion to which this Rule applies.
`void` | Rule.`setMinimumLanguageVersion(LanguageVersion minimumLanguageVersion)` Set the minimum LanguageVersion to which this Rule applies.

Method parameters in net.sourceforge.pmd with type arguments of type LanguageVersion
Modifier and Type | Method and Description
--- | ---
`void` | PMDConfiguration.`setDefaultLanguageVersions(List<LanguageVersion> languageVersions)` Set the given LanguageVersions as the current default for their Languages.

### Uses of LanguageVersion in net.sourceforge.pmd.lang

Methods in net.sourceforge.pmd.lang that return LanguageVersion
Modifier and Type | Method and Description
--- | ---
`static LanguageVersion` | LanguageVersion.`findByTerseName(String terseName)` A utility method to find the LanguageVersion associated with the given terse name.
`static LanguageVersion` | LanguageVersion.`findVersionsForLanguageTerseName(String languageTerseName, String languageVersion)` A utility method to retrieve the appropriate enum, given the provided parameters
`LanguageVersion` | LanguageVersionDiscoverer.`getDefaultLanguageVersion(Language language)` Get the current default LanguageVersion for the given Language.
`LanguageVersion` | LanguageVersionDiscoverer.`getDefaultLanguageVersionForFile(File sourceFile)` Get the default LanguageVersion for the first Language of a given source file.
`LanguageVersion` | LanguageVersionDiscoverer.`getDefaultLanguageVersionForFile(String fileName)` Get the LanguageVersion for the first Language of a source file with the given name.
`LanguageVersion` | Language.`getDefaultVersion()` Get the current PMD defined default LanguageVersion for this Language.
`static LanguageVersion` | LanguageVersion.`getDefaultVersion()` Return the default version for PMD.
`LanguageVersion` | Language.`getVersion(String version)` Get the LanguageVersion for the version string from this Language.
`LanguageVersion` | LanguageVersionDiscoverer.`setDefaultLanguageVersion(LanguageVersion languageVersion)` Set the given LanguageVersion as the current default for it's Language.
`static LanguageVersion` | LanguageVersion.`valueOf(String name)` Returns the enum constant of this type with the specified name.
`static LanguageVersion[]` | LanguageVersion.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

Methods in net.sourceforge.pmd.lang that return types with arguments of type LanguageVersion
Modifier and Type | Method and Description
--- | ---
`static List<LanguageVersion>` | LanguageVersion.`findVersionsForLanguageTerseName(String languageTerseName)` A utility method to find the all version associated with the given terse name.
`List<LanguageVersion>` | Language.`getVersions()` Gets the list of supported LanguageVersion for this Language.

Methods in net.sourceforge.pmd.lang with parameters of type LanguageVersion
Modifier and Type | Method and Description
--- | ---
`LanguageVersion` | LanguageVersionDiscoverer.`setDefaultLanguageVersion(LanguageVersion languageVersion)` Set the given LanguageVersion as the current default for it's Language.

Method parameters in net.sourceforge.pmd.lang with type arguments of type LanguageVersion
Modifier and Type | Method and Description
--- | ---
`static String` | LanguageVersion.`commaSeparatedTerseNames(List<LanguageVersion> languageVersions)` Return a comma-separated list of LanguageVersion terse names.

### Uses of LanguageVersion in net.sourceforge.pmd.lang.rule

Methods in net.sourceforge.pmd.lang.rule that return LanguageVersion
Modifier and Type | Method and Description
--- | ---
`LanguageVersion` | AbstractDelegateRule.`getMaximumLanguageVersion()`
`LanguageVersion` | AbstractRule.`getMaximumLanguageVersion()`
`LanguageVersion` | AbstractDelegateRule.`getMinimumLanguageVersion()`
`LanguageVersion` | AbstractRule.`getMinimumLanguageVersion()`
`LanguageVersion` | RuleReference.`getOverriddenMaximumLanguageVersion()`
`LanguageVersion` | RuleReference.`getOverriddenMinimumLanguageVersion()`

Methods in net.sourceforge.pmd.lang.rule with parameters of type LanguageVersion
Modifier and Type | Method and Description
--- | ---
`void` | AbstractDelegateRule.`setMaximumLanguageVersion(LanguageVersion maximumlanguageVersion)`
`void` | AbstractRule.`setMaximumLanguageVersion(LanguageVersion maximumLanguageVersion)`
`void` | RuleReference.`setMaximumLanguageVersion(LanguageVersion maximumLanguageVersion)`
`void` | AbstractDelegateRule.`setMinimumLanguageVersion(LanguageVersion minimumlanguageVersion)`
`void` | AbstractRule.`setMinimumLanguageVersion(LanguageVersion minimumLanguageVersion)`
`void` | RuleReference.`setMinimumLanguageVersion(LanguageVersion minimumLanguageVersion)`

### Uses of LanguageVersion in net.sourceforge.pmd.util.viewer.model

Methods in net.sourceforge.pmd.util.viewer.model with parameters of type LanguageVersion
Modifier and Type | Method and Description
--- | ---
`void` | ViewerModel.`commitSource(String source, LanguageVersion languageVersion)` commits source code to the model.