Model generation with duplicated Java names management