List<MemberInfo> (PsiClass superClass) { MemberInfoStorage memberInfoStorage = new MemberInfoStorage(superClass, new MemberInfo.Filter<>() { @Override public boolean includeMember(PsiMember element) { return !(element instanceof PsiClass) || PsiTreeUtil.isAncestor(superClass, element, true); } }); return memberInfoStorage.getClassMemberInfos(superClass); }