jean pierre Lerbscher

Results 339 comments of jean pierre Lerbscher

Which version are you using? Can you submit a test case that reproduces your error?

If you don't take the time to isolate your problem in a simple unit test I won't take the time to analyze your problem. I remind you that everything that...

I cannot reproduce your issue with this unit test @Test void issue3899() { String code = "class Foo {\n" + "/**\n" + " * Mark a method with this annotation...

Thanks for reporting this issue which specifically refers to https://docs.oracle.com/javase/specs/jls/se16/html/jls-14.html#jls-14.3.

To be completely sincere I'm not sure that this problem will be solved quickly because the main developers of JavaParser are no longer active.

You can call findAncestor recursively until you no longer find the declaration you're looking for.

I am closing this issue because we have given an answer and there is no further interaction on this subject.

Hi, The hashcode calculation for a variable declaration is based on the name, type, comments and initialisation expression attributes.

I don't know exactly. It's a functional equality which is obtained by an in-depth check of all the attributes which describe a node.

I'm closing this exit because we've given an answer.