The "imports" functionality needs to be modelled into the code model, to allow
proper control of the generation of import statements in the Java code.
Example:
JavaClass model = New.classs("MyClass");
model.getImports().add("java.util.Date");
Should render:
import java.util.Date;
public class MyClass {
}
Original issue reported on code.google.com by nikolce.mihajlovski on 26 Jan 2012 at 10:40
Original issue reported on code.google.com by
nikolce.mihajlovski
on 26 Jan 2012 at 10:40