[refactoring] Fix some raw-types in inplace introducers

GitOrigin-RevId: 8e2e93e1bfdd4ead7d0ef0b00aeacedbec7fe341
This commit is contained in:
Tagir Valeev
2024-05-13 17:20:47 +02:00
committed by intellij-monorepo-bot
parent 517aa1f90b
commit 1def0c841c
3 changed files with 4 additions and 4 deletions

View File

@@ -99,5 +99,5 @@ public abstract class IntroduceHandlerBase implements RefactoringActionHandler,
protected abstract boolean invokeImpl(Project project, PsiLocalVariable localVariable, @Nullable Editor editor);
@TestOnly
public abstract AbstractInplaceIntroducer getInplaceIntroducer();
public abstract AbstractInplaceIntroducer<?, ?> getInplaceIntroducer();
}

View File

@@ -105,7 +105,7 @@ public class IntroduceConstantHandler extends BaseExpressionToFieldHandler imple
String enteredName = null;
boolean replaceAllOccurrences = true;
final AbstractInplaceIntroducer activeIntroducer = AbstractInplaceIntroducer.getActiveIntroducer(editor);
final AbstractInplaceIntroducer<?, ?> activeIntroducer = AbstractInplaceIntroducer.getActiveIntroducer(editor);
if (activeIntroducer != null) {
activeIntroducer.stopIntroduce(editor);
expr = (PsiExpression)activeIntroducer.getExpr();