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
Open

Implicit java.lang.* imports #21

Brofian opened this issue Jan 23, 2025 · 0 comments

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.

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