void (@NotNull InsertionContext context) { FeatureUsageTracker.getInstance().triggerFeatureUsed(JavaCompletionFeatures.SECOND_SMART_COMPLETION_ARRAY_MEMBER); final int tailOffset = context.getTailOffset(); final String callSpace = getSpace( CodeStyle.getLanguageSettings(context.getFile()).SPACE_WITHIN_BRACKETS); context.getDocument().insertString(tailOffset, "[" + callSpace + callSpace + "]"); context.getEditor().getCaretModel().moveToOffset(tailOffset + 1 + callSpace.length()); }