ConfigValue (@NotNull ConfigKey configKey, @NotNull Project project, @NotNull VirtualFile directory) { GlobalSearchScope directoryScope = GlobalSearchScopes.directoryScope(project, directory, false); List<ConfigValue> values = getFileBasedIndex().getValues(LombokConfigIndex.NAME, configKey, directoryScope); if (!values.isEmpty()) { return values.iterator().next(); } return null; }