-
Notifications
You must be signed in to change notification settings - Fork 28
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
FastenUriUtils parsing incorrectly the "class", "method" for some cases with lambda function. #260
Comments
@cg122 I adjusted implementation towards the better way. It returns @ashkboos will contact you to know some context behind it. Do you think there might be different scenarios when either of them are needed? In this case, we need to solve this issue somehow? Maybe a nested array of method names in the order of inclusion? For example, @cg122 also, do you maybe have artifacts similar to this one, with inner classes? Just to test the implementation. And also, sorry for the late fix 😅 |
Thanks @romatallinn. I will look at it and see how it works for other example. |
I checked the source code corresponding to the FASTEN uri above:
I guess the uri corresponds to 'Game::stop', and the simplified form of passing method reference used here complicates the understanding of the uri. |
I just stumbled across this issue... as there are no follow-up comments, I would assume that the problem still persists. To me this looks more like a problem of how the Who in the team was involved in the creation of the |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Parsing the partial uri in the following FASTEN uri
fasten://mvn!nl.tudelft.jpacman:jpacman-framework$8.1.1/nl.tudelft.jpacman.ui/PacManUiBuilder$addStopButton%28Lnl$tudelft$jpacman$game$Game%3A%29V%3A30$Lambda.$newInstance(%2Fnl.tudelft.jpacman.game%2FGame)PacManUiBuilder$addStopButton%28Lnl$tudelft$jpacman$game$Game%3A%29V%3A30$Lambda
output:
[nl.tudelft.jpacman.ui, PacManUiBuilder$addStopButton(Lnl$tudelft$jpacman$game$Game:)V:30$Lambda, ui/PacManUiBuilder$addStopButton, Lnl$tudelft$jpacman$game$Game:)V:30$Lambda.$newInstance(/nl.tudelft.jpacman.game/Game)PacManUiBuilder$addStopButton(Lnl$tudelft$jpacman$game$Game:, V:30$Lambda.$newInstance(/nl.tudelft.jpacman.game/Game)PacManUiBuilder$addStopButton(Lnl$tudelft$jpacman$game$Game:)V:30$Lambda]
Expected behavior
class name should be "PacManUiBuilder", method should be "addStopButton"
Additional context
Result got on develop branch (1001e75)
The text was updated successfully, but these errors were encountered: