migrate JavaNode