void (final PsiClass subclass, final Filter<GrMember> filter, final List<GrMemberInfo> result, Set<PsiClass> processed) { if (!processed.contains(subclass)) { processed.add(subclass); if (subclass instanceof GrTypeDefinition) { extractSuperInterfacesFromReferenceList(((GrTypeDefinition)subclass).getExtendsClause(), filter, result, processed); extractSuperInterfacesFromReferenceList(((GrTypeDefinition)subclass).getImplementsClause(), filter, result, processed); } } }