javaparser icon indicating copy to clipboard operation
javaparser copied to clipboard

Java 1-18 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.

Results 328 javaparser issues
Sort by recently updated
recently updated
newest added

Typeextractor class does not consider lambdaexpr wrapped by enclosedexpr. The parameter args of the solvearguments method of the javaparserface class is not considered to have enclosedexpr. (Taken from #3486 from...

Bug report

The repair method of typeextractor class should consider the case that the POS is greater than or equal to getnumberofparams when the method is a variable parameter. (Taken from #3486...

Bug report

Methodreferenceexpr does not support class::new calculation type. (Taken from #3486 from @ZeroAicy. Probably symbol solver related)

Bug report

The parent node of lambdaexpr can be objectcreationexpr. Typeextractor class does not support. (Taken from #3486 from @ZeroAicy )

Bug report

The parameter type of getFunctionalMethod method of FunctionalInterfaceLogic class is not necessarily ResolvedReferenceType, may also be other ResolvedType, such as ResolvedArrayType. (Taken from #3486 from @ZeroAicy )

Bug report

Actually ancestors of the parametrized type List are java.util.Collection java.lang.Iterable java.lang.Object But it seems to me that is not correct because List extends List ...

Is there a way to get a concatenated String the compiler usually would inline? ``` public static final String SOME_TEXT = "Hello " + "World"; public static final String HELLO...

Question (general)

Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much. -...

When I use the `getLocalDeclarationFromClassname` to get classes, the `java.util.NoSuchElementException` error occurs. The source code I parsed is: [target_code.zip](https://github.com/javaparser/javaparser/files/8972775/target_code.zip) Can you help me? Thanks!

Need test case

I'm working on a maven plugin that uses Annotations to generate helper classes. My parser configurations are below. (dependencies are a list of jar files and path is the path...

Question (AST)