IDE: Don't do any resolution in AddExclExclExclFix (i.e., in

isAvailable and in invoke) by moving computation of element to modify
to before instantiation (i.e., to the factories or equivalent).

This lets us to move it to idea-frontend-independent and re-use it FIR.
This commit is contained in:
Mark Punzalan
2021-04-23 16:44:30 +00:00
committed by Ilya Kirillov
parent c472c9facd
commit 85cbea70bf
9 changed files with 104 additions and 113 deletions
-2
View File
@@ -20,9 +20,7 @@ org.jetbrains.kotlin.idea.intentions.MoveMemberToCompanionObjectIntention
org.jetbrains.kotlin.idea.intentions.MovePropertyToConstructorIntention
org.jetbrains.kotlin.idea.intentions.SpecifyTypeExplicitlyIntention
org.jetbrains.kotlin.idea.quickfix.AddAnnotationTargetFix
org.jetbrains.kotlin.idea.quickfix.AddExclExclCallFix
org.jetbrains.kotlin.idea.quickfix.AddFunctionToSupertypeFix
org.jetbrains.kotlin.idea.quickfix.AddModifierFix
org.jetbrains.kotlin.idea.quickfix.AddNameToArgumentFix
org.jetbrains.kotlin.idea.quickfix.AddPropertyToSupertypeFix
org.jetbrains.kotlin.idea.quickfix.AddStartProjectionsForInnerClass