Class SourceLanguage


  • public class SourceLanguage
    extends Object
    Part of PMD Ant task configuration. Setters of this class are interpreted by Ant as properties settable in the XML. This is therefore published API.

    This class is used to configure the language and version to use. It might look like this:

    
     <pmd>
       <sourceLanguage name="java" version="21"/>
     </pmd>
     
    See Also:
    PMDTask.addConfiguredSourceLanguage(SourceLanguage)
    • Constructor Detail

      • SourceLanguage

        public SourceLanguage()