Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Jan 27, 2016 · 2 comments
Open

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

GoogleCodeExporter opened this issue Jan 27, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

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

  • Added labels: Milestone-Release0.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant