Autocode java renderers

@theRobinator please review and let me know if anything needs to be changed. 
Looks like this if statement is backwards. It's only rendering the comment if there's nothing to render.