added java stub class