analyze-java-code-examples icon indicating copy to clipboard operation
analyze-java-code-examples copied to clipboard

Some examples of code extracting information from Java source files using JavaParser

Results 5 analyze-java-code-examples issues
Sort by recently updated
recently updated
newest added

Hello, First of all thank you for making this guide! However, when I try to implement your code I run into an error concerning the JavaParser parse function Specifically in...

``` new VoidVisitorAdapter() { @Override public void visit(ClassOrInterfaceDeclaration n, Object arg) { super.visit(n, arg); System.out.println(" * " + n.getName()); } }.visit(StaticJavaParser.parse(BFile_sourcePath), null); ``` ``` package test; public class B {...

After running ModifyingCode.java code,but source code not change, print ok . why;

Hi @ftomassetti , First of all, thank you very much for your explanations in your blog and your examples here. I'm trying to use JavaParser and JavaSymbolSolver to find all...