Use Java instead of brainfuck in 'if' statement