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

Type inference from static method calls #111

Open
vemv opened this issue Oct 5, 2023 · 1 comment
Open

Type inference from static method calls #111

vemv opened this issue Oct 5, 2023 · 1 comment

Comments

@vemv
Copy link
Contributor

vemv commented Oct 5, 2023

For e.g. (.| (Thread/currentThread)), we could observe that (Thread/currentThread) returns a Thread, and therefore the completions can be constrained to those of the members of Thread.

I don't have a preliminary idea as for how to implement this.

(Orchard has plenty of Java analysis utils)

@vemv
Copy link
Contributor Author

vemv commented Oct 5, 2023

Static fields, e.g. System/out have a similar use case and seem easier to implement - would be useful as a taster.

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

No branches or pull requests

1 participant