List<GdkMethodHolder> (Project project, GlobalSearchScope resolveScope) { List<GdkMethodHolder> gdkMethods = new ArrayList<>(); JavaPsiFacade facade = JavaPsiFacade.getInstance(project); Couple<List<String>> extensions = collectExtensions(project, resolveScope); for (String category : extensions.getFirst()) { PsiClass clazz = facade.findClass(category, resolveScope); if (clazz != null) { gdkMethods.add(GdkMethodHolder.getHolderForClass(clazz, false)); } } for (String category : extensions.getSecond()) { PsiClass clazz = facade.findClass(category, resolveScope); if (clazz != null) { gdkMethods.add(GdkMethodHolder.getHolderForClass(clazz, true)); } } return gdkMethods; }