-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
MethodCallExpr inside lambda in assignment expression cannot be resolved #4399
Comments
This case is not currently covered. Thank you for reporting this bug. |
OK, thank you for your reply. |
This is not trivial, because to resolve the println(..) method Javaparser has to resolve the type of the parameter, which is undefined at this stage. I don't see any precision on this point in the JLS. If you can clarify what needs to be done, I can try to resolve this bug quickly.
Decompiling the class doesn't provide any information either.
|
Thanks, we try to distinguish function overloading by getting the QualifiedSignature of MethodCallExpr and get its method descriptor. |
Hi, I'm trying to get the QualifiedSignature of MethodCallExpr but I'm getting a parsing error when MethodCallEcpr is in the lambda expression. In the above example, the lambda in the foreach does not give an error, but when it is used as the value of the assignment statement, the following error occurs. Is my usage wrong? Thank you.
The text was updated successfully, but these errors were encountered: