void (final GrReferenceList referenceList, final Filter<GrMember> filter, final List<GrMemberInfo> result, final Set<PsiClass> processed) { if (referenceList != null) { final PsiClassType[] extendsListTypes = referenceList.getReferencedTypes(); for (PsiClassType extendsListType : extendsListTypes) { final PsiClass aSuper = extendsListType.resolve(); if (aSuper instanceof GrTypeDefinition) { if (aSuper.isInterface()) { if (filter.includeMember((GrMember)aSuper)) { result.add(new GrMemberInfo((GrMember)aSuper, true, referenceList)); } } else { extractSuperInterfaces(aSuper, filter, result, processed); } } } } }