sdcuike / jannocessor

Automatically exported from code.google.com/p/jannocessor
Other
2 stars 0 forks source link

Model the "import" statements for fine-grained control #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by nikolce.mihajlovski on 26 Jan 2012 at 10:41

GoogleCodeExporter commented 9 years ago

Original comment by nikolce.mihajlovski on 26 Jan 2012 at 10:44