-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
review: feature: SourcePosition checks validity and displays origin source code #1950
Conversation
rebase? |
4f8ce04
to
f37a765
Compare
with this #1963 this PR should pass. |
55bf9fd
to
e20d6d4
Compare
e20d6d4
to
2e1b944
Compare
I am finished here |
lots of progress on the position front! can checkArgsAreAscending throw an exception in pure AST manipulation mode (ie outside JDTTreeBuilder)? could you add test cases for the new public methods? |
I am not sure whether I understood the question.
ok, I will add some |
I am finished here |
API changes: 1 (Detected by Revapi) Old API: fr.inria.gforge.spoon:spoon-core:jar:6.3.0-20180405.225214-41 / New API: fr.inria.gforge.spoon:spoon-core:jar:6.3.0-SNAPSHOT
|
this new
checkArgsAreAscending
found many problems in PositionBuilder...I guess it should be always activated... or do you think it should be possible to switch it off ... temporarily, so clients can use spoon until we fix all the
PositionBuilder x JDK compiler
problems?WDYT?
Yes and there are some new helper methods in SourcePositions ... I was lazy to make new PR for them. I hope it is BS enough :-)