List<VirtualFile> () { List<VirtualFile> result = new ArrayList<>(2); VirtualFile file = getEffectiveUserSettingsFile(); if (file != null) result.add(file); file = getEffectiveGlobalSettingsFile(); if (file != null) result.add(file); return result; }