Employee stated that he was operating excavator moving spoil material. A rock rolled out of the spoil and hit a foot long stick laying on the ground. The stick flipped into the air and through the windshield cab guard and busted the windshield. A foreign body got into his right eye. Would not flush out so he went to doctor to have removed. Given eye drops (used for 2 days).