Java-to-Java grammar, will be updated to translate to perl