int getSomeObscureType(){ return 1;}
void test(){ ? x = getSomeObscureType();}
After you typed the semicolon (highlighted in red), the placeholder "?" is replaced by the return type of the called method:
void test(){ int x = getSomeObscureType();}