Adding java grammar check