mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] IDEA-380547 add lazy-constant
GitOrigin-RevId: 7ee07359191f9027c90ab58bab403607a2cd4793
This commit is contained in:
committed by
intellij-monorepo-bot
parent
22eef74546
commit
0a2ba9eb53
@@ -82,6 +82,7 @@ internal object DefaultJavaSyntaxResources {
|
||||
"feature.java.lang.io" to "java.lang.IO utility class",
|
||||
"feature.javadoc.snippets" to "@snippet in Javadoc",
|
||||
"feature.lambda.expressions" to "Lambda expressions",
|
||||
"feature.lazy.constants" to "Lazy constants",
|
||||
"feature.local.enums" to "Local enums",
|
||||
"feature.local.interfaces" to "Local interfaces",
|
||||
"feature.lvti" to "Local variable type inference",
|
||||
|
||||
@@ -84,6 +84,7 @@ feature.package.transitive.dependency.on.java.base=Transitive dependency on java
|
||||
feature.valhalla.value.classes=Valhalla value classes
|
||||
feature.markdown.comment=Markdown Documentation Comments
|
||||
feature.java.lang.io=java.lang.IO utility class
|
||||
feature.lazy.constants=Lazy constants
|
||||
feature.patterns.with.tightened.dominance=Patterns with tightened dominance
|
||||
|
||||
else.without.if='else' without 'if'
|
||||
|
||||
@@ -290,6 +290,12 @@ enum class JavaFeature {
|
||||
*/
|
||||
JAVA_LANG_IO(LanguageLevel.JDK_25, "feature.java.lang.io"),
|
||||
|
||||
/**
|
||||
* JEP 502,
|
||||
* JEP 526
|
||||
*/
|
||||
LAZY_CONSTANTS(LanguageLevel.JDK_25_PREVIEW, "feature.lazy.constants"),
|
||||
|
||||
/**
|
||||
* JEP 530
|
||||
* @see PRIMITIVE_TYPES_IN_PATTERNS
|
||||
@@ -390,6 +396,7 @@ enum class JavaFeature {
|
||||
"FOREIGN" -> FOREIGN_FUNCTIONS
|
||||
"VIRTUAL_THREADS" -> VIRTUAL_THREADS
|
||||
"MODULE_IMPORTS" -> MODULE_IMPORT_DECLARATIONS
|
||||
"LAZY_CONSTANTS" -> LAZY_CONSTANTS
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user