Hey @jessechen09 - since you have checked out the source code of JavaParser, are you going to modify it? Maybe it is interesting for the JavaParser project?
I'm using javaparser to create ASTs, as we need ASTs for our research project. That said I don't think I'll modify it, unless there is a feature that's missing and is an easy fix.
I cant seem to find this in any documentation but how do you add
javax.* Type Declarations to the compilation unit?
or is there a way to check if a type, found by parsing source code, extends a
I did set the
ReflectionTypeSolver for my parser but
javax.* classes are unresolvable. This prevents me from using
isAssignable to determine inheritance.
Duckis in the package
headfirst.strategy, the source root will be the folder above
BlockStmt, it doesn't appear when added programmatically (it does output correctly when it's in the parsed file). My project was still stuck on V3.6 of the parser and there it worked fine, but now that I'm upgrading to the latest version all of a sudden the comment fully disappears, leaving behind an empty block. Is this a regression or should I create a block that only contains a comment in another way?
y'know... I just had a look and I think you're right! (just gotta fix the sealed classes thing to be second preview in java 16, not release...)
@sincementioned 3.21.0, and the features document also mentions it (says it was released on 11/april) but I don't see it on github releases or maven central...
now i'm wondering if I was a complete muppet and somehow completely skipped a version?? or thought it'd been released??