Collection<String> (@NotNull ConfigKey configKey, @NotNull PsiFile psiFile) { @Nullable VirtualFile currentFile = psiFile.getVirtualFile(); while (currentFile != null) { ConfigValue configValue = readProperty(configKey, psiFile.getProject(), currentFile); if (null != configValue) { if (null == configValue.getValue()) { if (configValue.isStopBubbling()) { break; } } else { return Collections.singletonList(configValue.getValue()); } } currentFile = currentFile.getParent(); } return Collections.singletonList(configKey.getConfigDefaultValue()); }