Is your feature request related to a problem? Please describe.
While having a look at where JavaParserImpl#jdkVersion is used I found 2 interesting methods:
isAssertStart checks if the Java version is <= 3:

isEnumStart check if the Java Version is >= 5

Java 1.3 was released over 25 years ago and is out of support since 2006, Java 1.5 was released in 2004 and is out of support for over 15 years.
Everything below Java 8 is nowadays irrelevant as support for it has been terminated for a long time.
Describe the solution you'd like
There are - extremely likely - exactly 0 people on the planet that are using the latest PMD version for Java projects that are that old.
Remove these check as they are irrelevant.
Additional context
Please note that the class is auto generated however I currently don't have the insight in how this is done.
Is your feature request related to a problem? Please describe.
While having a look at where
JavaParserImpl#jdkVersionis used I found 2 interesting methods:isAssertStartchecks if the Java version is <= 3:isEnumStartcheck if the Java Version is >= 5Java 1.3 was released over 25 years ago and is out of support since 2006, Java 1.5 was released in 2004 and is out of support for over 15 years.
Everything below Java 8 is nowadays irrelevant as support for it has been terminated for a long time.
Describe the solution you'd like
There are - extremely likely - exactly 0 people on the planet that are using the latest PMD version for Java projects that are that old.
Remove these check as they are irrelevant.
Additional context
Please note that the class is auto generated however I currently don't have the insight in how this is done.