Finished coding the new java binding version of predicate_to_c

Signed-off-by: Nick Tolomiczenko <nick.tolomiczenko@gmail.com>