SearchScope (PsiMethod... methods) { SearchScope accessScope = getExtendedUseScope(methods[0]); for (int i = 1; i < methods.length; i++) { PsiMethod method1 = methods[i]; accessScope = accessScope.union(getExtendedUseScope(method1)); } return accessScope; }