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

Support of "import static" #65

Open
GoogleCodeExporter opened this issue Apr 22, 2015 · 4 comments
Open

Support of "import static" #65

GoogleCodeExporter opened this issue Apr 22, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

The script below returns an error.

import static org.junit.Assert.assertTrue;

asserttrue(true);


Original issue reported on code.google.com by [email protected] on 13 Feb 2012 at 8:49

@GoogleCodeExporter
Copy link
Author

"import static" is currently not supported

Original comment by [email protected] on 14 Feb 2012 at 7:26

  • Changed title: Support of "import static"

@GoogleCodeExporter
Copy link
Author

Is it planned in a next release candidate ?

Thanks

Original comment by [email protected] on 14 Feb 2012 at 8:31

@GoogleCodeExporter
Copy link
Author

I'll try to dig into it, but this is a bigger change.

Original comment by [email protected] on 14 Feb 2012 at 9:48

@GoogleCodeExporter
Copy link
Author

As I know "import static" is supported and was supported in original project.
but you have to type "static import" instead.
At least it will work with wild card e.g.
"static import org.junit.Assert.*;"

Original comment by [email protected] on 17 Dec 2012 at 7:14

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