mjn: i need to pass generateUML a filename and a codetype... generateUML(CODE_TYPE, filename) di: You want to take in the aggressiveUI in your constructor too. Otherwise, you are good.