LookupElement[] (Expression @NotNull [] params, final ExpressionContext context) { String[] names = getNames(context); if (names == null || names.length < 2) return null; LookupElement[] items = new LookupElement[names.length]; for(int i = 0; i < names.length; i++) { items[i] = LookupElementBuilder.create(names[i]); } return items; }