JavaParser
Spoon
Our great sponsors
JavaParser | Spoon | |
---|---|---|
6 | 1 | |
5,217 | 1,669 | |
1.9% | 2.3% | |
9.5 | 9.6 | |
1 day ago | 2 days ago | |
Java | Java | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
JavaParser
- Ask HN: Source code (Java) parser and/or static analysis tool
-
Things I didn't know about Java: Generic Constructors
As I have never seen generic constructors before I wanted to know how "real-world" code uses them. So I wrote a program that parses the Java files in the JDK source code. It uses the JavaParser open-source library. Since its README file mentions Java 15, I ran the program on tag jdk-15+36 of the JDK source code.
-
Static Analysis at GitHub
GitHub released a pretty good java parser that I think is is related to this work https://github.com/javaparser/javaparser
I'm also using that parser using for a side project where developers can cross link their source code and host them statically: https://github.com/josephmate/OdinCodeBrowser#readme
-
An open-source Java application to Test
JavaParser
-
Automatically unlocking concurrent builds and fine-grained caching for Java with dependency inference
So after taking a deeper look into the docs I've seen that analysis is done via https://github.com/javaparser/javaparser/ lib which has currently only support up to JDK14 (not JDK15, JDK16 nor JDK17...maybe JDK18)...Unfortunately I have not found a full working example for a Java build ...can you give a link?
-
Bulk Refactoring of Java Code
Depending on the type of refactorings needed, you may be able to use something like Java parser to read the code, refractor it, and write it out again.
Spoon
What are some alternatives?
Lombok - Very spicy additions to the Java programming language.
jQAssistant - Your Software. Your Structures. Your Rules.
rewrite - Automated mass refactoring of source code.
SonarQube - Continuous Inspection
JavaSymbolSolver
Checkstyle - Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.
NoException
Error Prone - Catch common Java mistakes as compile-time errors
JHipster - JHipster, much like Spring initializr, is a generator to create a boilerplate backend application, but also with an integrated front end implementation in React, Vue or Angular. In their own words, it "Is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures."
Spotbugs - SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.
DCEVM - Dynamic Code Evolution VM for Java 7/8
Sourcetrail - Sourcetrail - free and open-source interactive source explorer