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

Implicit java.lang.* imports #21

Open
Brofian opened this issue Jan 23, 2025 · 0 comments · May be fixed by #44
Open

Implicit java.lang.* imports #21

Brofian opened this issue Jan 23, 2025 · 0 comments · May be fixed by #44

Comments

@Brofian
Copy link
Owner

Brofian commented Jan 23, 2025

The original java language uses implicit import for every class in the java.lang package. This makes it easier to use these objects like java.lang.Object or java.lang.System.

This could also be improved by implementing the import wildcard *:
import de.mypackage.*

As another useful side effect, this change would fix the wrongly appended local package name to implicit Object parents, instead of the java.lang.Object identifier.

@Brofian Brofian linked a pull request Feb 8, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant