generated LazerGun java file using compiler