Class UpgradeJavaMessage
java.lang.Object
com.github.javaparser.ast.validator.language_level_validations.UpgradeJavaMessage
Suggestion to upgrade the Java language level.
A message that can be used to tell the user that a feature is
not available in the configured language level.
- Since:
- 3.24.5
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ParserConfiguration.LanguageLevel
The language level that must be configured.private final String
The reason why the language level must be upgraded. -
Constructor Summary
ConstructorsConstructorDescriptionUpgradeJavaMessage
(String reason, ParserConfiguration.LanguageLevel level) Contructor. -
Method Summary
-
Field Details
-
reason
The reason why the language level must be upgraded. -
level
The language level that must be configured.
-
-
Constructor Details
-
UpgradeJavaMessage
UpgradeJavaMessage(String reason, ParserConfiguration.LanguageLevel level) Contructor.- Parameters:
reason
- The reason why the language level must be upgraded.level
- The language level that must be configured.
-
-
Method Details