void (@Nullable JsonSchemaInfo selectedValue, @Nullable VirtualFile virtualFile, @NotNull Project project) { if (selectedValue != null) { mySchemaField.setText(selectedValue.getUrl(myProject)); mySchemaPathChangedCallback.accept(selectedValue.getDescription(), true); // force updating name } }