[java] IDEA-345355 Refactor HighlightingFeature (in progress)

JavaFeature.EFFECTIVELY_FINAL

GitOrigin-RevId: d52ab73d7d24745b149b5a4704f1dee55e4179f0
This commit is contained in:
Tagir Valeev
2024-02-08 10:08:09 +00:00
committed by intellij-monorepo-bot
parent 72890668ad
commit ea2b70a2d1
12 changed files with 23 additions and 13 deletions
@@ -74,6 +74,7 @@ feature.type.annotations=Type annotations
feature.type.receivers=Receiver parameters
feature.intersections.in.casts=Intersection types in casts
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.collection.factories=Collection factory methods
@@ -38,6 +38,7 @@ public enum JavaFeature {
RECEIVERS(LanguageLevel.JDK_1_8, "feature.type.receivers"),
INTERSECTION_CASTS(LanguageLevel.JDK_1_8, "feature.intersections.in.casts"),
STATIC_INTERFACE_CALLS(LanguageLevel.JDK_1_8, "feature.static.interface.calls"),
EFFECTIVELY_FINAL(LanguageLevel.JDK_1_8, "feature.effectively.final"),
REFS_AS_RESOURCE(LanguageLevel.JDK_1_9, "feature.try.with.resources.refs"),
MODULES(LanguageLevel.JDK_1_9, "feature.modules"),
COLLECTION_FACTORIES(LanguageLevel.JDK_1_9, "feature.collection.factories"),