Class LanguagePropertyBundle

java.lang.Object
net.sourceforge.pmd.properties.AbstractPropertySource
net.sourceforge.pmd.lang.LanguagePropertyBundle
All Implemented Interfaces:
PropertySource
Direct Known Subclasses:
JvmLanguagePropertyBundle

public class LanguagePropertyBundle extends AbstractPropertySource
A bundle of properties used by languages (see Language.newPropertyBundle()). This class declares language properties that are common to all languages. Subclasses may define more properties and provide convenient accessors to them.
Author:
Clément Fournier
  • Field Details

  • Constructor Details

    • LanguagePropertyBundle

      public LanguagePropertyBundle(@NonNull Language language)
      Create a new bundle for the given language.
  • Method Details

    • setLanguageVersion

      public void setLanguageVersion(String string)
    • getPropertySourceType

      protected String getPropertySourceType()
      Specified by:
      getPropertySourceType in class AbstractPropertySource
    • getName

      public String getName()
      Description copied from interface: PropertySource
      Gets the name of this property source. This is e.g. the name of the rule or renderer.
      Returns:
      The name
    • getLanguage

      public Language getLanguage()
    • getLanguageVersion

      public LanguageVersion getLanguageVersion()
    • getSuppressMarker

      public String getSuppressMarker()