forked from phoedos/pmd
a3a292d591
source-type is actually only needed if * the language supports more than one version * the parser behaves differently with different versions (this has to do with compatibility, e.g. assert/enum keywords in java) * the test needs a newer version than the default version (e.g. to test new language features) * the test needs an older version than the default version (e.g. the rule has a maximumLanguageVersion specified) * the rule behaves differently for different versions (e.g. BigIntegerInstantiation)