void () { List<MemberInfo> methods = TestIntegrationUtils.extractClassMethods( myTargetClass, myShowInheritedMethodsBox.isSelected()); Set<PsiMember> selectedMethods = new HashSet<>(); for (MemberInfo each : myMethodsTable.getSelectedMemberInfos()) { selectedMethods.add(each.getMember()); } for (MemberInfo each : methods) { each.setChecked(selectedMethods.contains(each.getMember())); } myMethodsTable.setMemberInfos(methods); }