I am currently a top master’s student at one of the Middle Eastern universities and due to lack of research facilities in my country, I am going to Japan to join a research project this summer for three months at the University of Tokyo. Deep inside, I want to continue my master’s and PhD there, directly after the project ends and I am planning to work very hard to prove my eligibility for the opportunity.
But I don't know how applicable this is and how this would happen. I would like to ask if somebody had a similar experience and also if I should ask the professor directly at the end of the project.