Java 21 supports features like records which are not supported with current code generation templates.
Allow a way to configure specific Java 21 related templates by user.
This could be a CLI option --template-set=java-21-records or --language=java21.