[java, jigsaw] support JEP 11 class file attributes (IDEA-366117) IJ-CR-154755

GitOrigin-RevId: 44bfa9f62cb31f539c40cb2ecd534fa0856ac8aa
This commit is contained in:
Aleksey Dobrynin
2025-02-24 10:44:41 +00:00
committed by intellij-monorepo-bot
parent aef552623a
commit ee90bc0f93
4 changed files with 41 additions and 4 deletions
@@ -85,6 +85,7 @@ feature.static.interface.calls=Static interface method calls
feature.effectively.final=Effectively final variables
feature.try.with.resources.refs=Resource references
feature.modules=Modules
feature.auto.root.modules=All API-exporting modules are implicitly root modules
feature.private.interface.methods=Private interface methods
feature.utf8.property.files=Property files in UTF-8 encoding
feature.collection.factories=Collection factory methods
@@ -1,4 +1,4 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.pom.java;
import com.intellij.core.JavaPsiBundle;
@@ -56,6 +56,7 @@ public enum JavaFeature {
LVTI(LanguageLevel.JDK_10, "feature.lvti"),
VAR_LAMBDA_PARAMETER(LanguageLevel.JDK_11, "feature.var.lambda.parameter"),
NESTMATES(LanguageLevel.JDK_11, "feature.nestmates"),
AUTO_ROOT_MODULES(LanguageLevel.JDK_11, "feature.auto.root.modules"),
ENHANCED_SWITCH(LanguageLevel.JDK_14, "feature.enhanced.switch"),
SWITCH_EXPRESSION(LanguageLevel.JDK_14, "feature.switch.expressions"),
SERIAL_ANNOTATION(LanguageLevel.JDK_14, "feature.serial.annotation"),