fix java annotation checker for R scripts