issues Search Results · repo:javaparser/javaparser-visited language:Java
Filter by
31 results
(55 ms)31 results
injavaparser/javaparser-visited (press backspace or delete to remove)No longer building on travis, so no notifications when code samples no longer compile.
SmiddyPence
- 1
- Opened on Jul 21, 2023
- #38
Samples and book text needs to move to using the DefaultPrinterConfiguration
SmiddyPence
- Opened on Jul 21, 2023
- #37
In the chapter Using the CombinedTypeSolver of the book the sample code contains lines like this:
JarTypeSolver.getJarTypeSolver( jars/library1.jar ),
However, JarTypeSolver.getJarTypeSolver is deprecated, ...
abego
- 1
- Opened on Jul 17, 2022
- #36
I just bought the book and I am trying out the examples.
However I could not compile ResolveTypeInContext because StaticJavaParser.getStaticConfiguration() is not implemented.
Using StaticJavaParser.getConfiguration() ...
abego
- 1
- Opened on Jul 16, 2022
- #35
When trying to run the ResolveTypeInContext example from the book I get an Exception:
java.lang.IllegalStateException: The parent of this TypeSolver cannot be itself.
at com.github.javaparser.symbolsolver.resolution.typesolvers.ClassLoaderTypeSolver.setParent(ClassLoaderTypeSolver.java:60) ...
abego
- 2
- Opened on Jul 16, 2022
- #34
p11 has:
this means that you can define only the method to handle a certain type of nodes (e.g. field declarations), while your
visitor will not do anything with the dozens of other node types you are ...
ericprud
- 1
- Opened on Nov 21, 2021
- #31
p11 has:
completed all the previous steps correctly executing main
propose: s/correctly executing/correctly, executing/
ericprud
- 1
- Opened on Nov 21, 2021
- #30
1. p 11 has a
CompilationUnit cu = StaticJavaParser.parse(new File(FILE_PATH));
... p 12 describes that invokcation as the StaticJavaParser taking a FileInputStream (which you don t have to close). ...
ericprud
- 1
- Opened on Nov 21, 2021
- #29
The example for ResolveTypeInContext in the book throws an exception
reflectionTypeSolver.setParent(reflectionTypeSolver);
Exception in thread main java.lang.IllegalStateException: The parent of this ...
peteruhnak
- 1
- Opened on Oct 24, 2021
- #28

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.