List<LookupElement> (final @NotNull JsonSchemaObject schema, final @NotNull PsiElement position, final @NotNull PsiElement originalPosition) { final List<LookupElement> result = new ArrayList<>(); new Worker(schema, position, originalPosition, element -> result.add(element)).work(); return result; }