You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EditorComponent#setIntentionMenuProducer API was introduced in 2023.2 (or perhaps earlier) to support the use case of custom grouped intention menu, so it should be possible to rewrite the code without accessing myLightBulb via reflection. This is important because modifying private final fields got more complicated in Java 21 and the current code does not work with MPS master.
The text was updated successfully, but these errors were encountered:
I saw some quite complicated code here and there on StackOverflow to work around final in JDK 21 but I'd rather invest effort towards moving to the API than maintaining hacks.
EditorComponent#setIntentionMenuProducer
API was introduced in 2023.2 (or perhaps earlier) to support the use case of custom grouped intention menu, so it should be possible to rewrite the code without accessingmyLightBulb
via reflection. This is important because modifying private final fields got more complicated in Java 21 and the current code does not work with MPS master.The text was updated successfully, but these errors were encountered: