List<String> () { List<String> result = new ArrayList<>(); if (!GradleSettings.getInstance(myProject).getLinkedProjectsSettings().isEmpty()) { addGradleClassPath(result); addOtherClassPath(result); } return result; }