pmd-lang-test / net.sourceforge.pmd.lang.ast.test / BaseParsingHelper / withDefaultVersion

withDefaultVersion

fun withDefaultVersion(version: String?): Self

Returns an instance of Self for which all parsing methods default their language version to the provided version If the version is null, then the default language version defined by the language module is used instead.