GrAbstractInplaceIntroducer<GrIntroduceConstantSettings> (@NotNull GrIntroduceContext context, @NotNull OccurrencesChooser.ReplaceChoice choice) { final Ref<GrIntroduceContext> contextRef = Ref.create(context); if (context.getStringPart() != null) { extractStringPart(contextRef); } return new GrInplaceConstantIntroducer(contextRef.get(), choice); }