List<PsiMethod> (@NotNull PsiClass containingClass, @NotNull PsiMethod method, @NotNull PsiSubstitutor substitutor) { List<PsiMethod> result = new SmartList<>(); for (PsiMethod expanded : GrClassImplUtil.expandReflectedMethods(method)) { result.add(new GrTraitMethod(containingClass, expanded, substitutor)); } return result; }