diff --git a/lib/tsgenjava.pl b/lib/tsgenjava.pl
index 95f0aac48ded955fdb50af837200e8f066251c9e..0aec9ac46b72a4ac7f72e74c573d114035d9738a 100644
--- a/lib/tsgenjava.pl
+++ b/lib/tsgenjava.pl
@@ -156,11 +156,12 @@ pp_result_seq_r([X|Xs]) --> !,
 
 pp_byte_seq([]) --> !.
 pp_byte_seq([X|Xs]) --> !,
+    "(byte)",
     pp_parser(num(X)),
     pp_byte_seq_r(Xs).
 pp_byte_seq_r([]) --> !.
 pp_byte_seq_r([X|Xs]) --> !,
-    ", ",
+    ", (byte)",
     pp_parser(num(X)),
     pp_byte_seq_r(Xs).