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
Exception during processing file ArrayClass.java:8:49: expecting IDENT, found 'int' #6064
Comments
@romani, I wanted to take a look at this, but I can't reproduce it with newest master. I think we can mark this resolved. |
To close issue we need CLI prove that it works. |
|
confirmed, resolved in 8.29
|
fixed by @esilkensen at #3238 or related. but I think it will be honest to let @nmancus1 to claim a bounty in this issue as he found this issue and helped to close it. |
@romani that's very generous, thank you. Can you recommend another ANTLR issue that would be good for me? |
Thank you for fixing this. Me and Spoon project are grateful :-) |
@nmancus1 , I mentioned you in few issue , but can choose yourself at https://github.com/checkstyle/checkstyle/issues?q=is%3Aopen+is%3Aissue+label%3Aantlr |
@zielint0 , to be honest I always wanted to try spoon , I never had a time to do this , but we try to apply all possible code analysis tool to your code, we have a lot of them already, but not a http://spoon.gforge.inria.fr/ I created #7913, I would appreciate if you help us start using it or explain in what validations checkstyle will benefit. I will add spoon code to our testing projects, I hope we will not make exceptions on spoon code in future. |
@romani
Spoon has no high-level checkers (like FinalClass, HideUtilityClassConstructor, InnerTypeLast in Checkstyle). PVS-Studio is a static analysis tool that uses Spoon as a Java library for analyzing Java source code. Perhaps Checkstyle could use Spoon as an engine to overcome current limitations. I think that you can also use Spoon to write some deep Spoon rules to analyze specific problems in Checkstyle Java source code (another words: write a mini static code analyzer for detecting problems in Checkstyle Java source code). However I don't know what would be useful. I use Checkstyle as an ordinary user, I don't develop Checkstyle per se. |
@romani Bountysource appears to be back up, but I don't see this issue on there. |
@nmancus1 , issue reopened, there should be button "solve issue" , please try again. |
Ok! Done. |
Please claim bounty |
Claimed! Thanks again. |
java -jar .\checkstyle-8.11-all.jar -c .\checkstyle.xml
ArrayClass.java
Checkstyle ended with exception.
It should provide list of code style violations
D:\projects\spoon\src\test\java\spoon\test\arrays\testclasses\ArrayClass.java:8:49: expecting IDENT, found 'int'
The text was updated successfully, but these errors were encountered: