throw new RuntimeException("PersonRole has been removed. Please reimplement this code.");
if(person.getPersonRolesCount() != 0){  boolean teacher = false, employee = false;  for(Role personRole : person.getPersonRoles()){ RoleType roleType = personRole.getRoleType();  if(roleType.equals(RoleType.TEACHER)){ mainRoles.add("Docente"); teacher = true; } else if(roleType.equals(RoleType.STUDENT)){ mainRoles.add("Aluno"); } else if(roleType.equals(RoleType.GRANT_OWNER)){ mainRoles.add("Bolseiro"); } else if(!teacher && roleType.equals(RoleType.EMPLOYEE)){ employee = true; } }  if(employee && !teacher){ mainRoles.add("Funcionrio"); } } return mainRoles;
    private List getImportantRoles(Person person, List mainRoles) {                throw new RuntimeException("PersonRole has been removed. Please reimplement this code.");//        if(person.getPersonRolesCount() != 0){//            //            boolean teacher = false, employee = false;//        //            for(PersonRole personRole : person.getPer AssociatedPersonRoles()){                    //                RoleType roleType = personRole.getRole().getRoleType();//                //                if(roleType.equals(RoleType.TEACHER)){                        //                    mainRoles.add("Docente");//                    teacher = true;//                }//                else if(roleType.equals(RoleType.STUDENT)){//                    mainRoles.add("Aluno");//                }//                else if(roleType.equals(RoleType.GRANT_OWNER)){//                    mainRoles.add("Bolseiro");//                }//                else if(!teacher && roleType.equals(RoleType.EMPLOYEE)){                //                    employee = true;//                }                //            }//            //            if(employee && !teacher){//                mainRoles.add("Funcionrio");//            }//        }//        return mainRoles;    }