Autocode java renderers

@theRobinator please review and let me know if anything needs to be changed. 
item.type can never be None in Java.