jean pierre Lerbscher

Results 339 comments of jean pierre Lerbscher

Your getDate() method takes no parameters and returns a Date. It can be used as a Supplier. Base b = new Base(); Supplier s = b::getDate; But the signature of...

I'm closing this exit because there are no more exchanges on this subject.

This is an edge case that is not currently supported by JP. When JP tries to resolve the declaration of the "public void after(Record record)" method, JP detects that it...

I don't think the solution is as trivial as you suggest. Indeed, in a first approach, the implementation proposed in JP that you point to, seems to correspond to an...

Hi, You can parse a string and then analyze the AST. In your example the main node is in IF statement.

I'm closing this exit because there's no answer.

Record Patterns is now supported.

Hi, The symbol solver is injected into the main node if the parser doesn't detect any syntactic errors. I don't think this is your case otherwise you would not have...

Your code must compile. This is a prerequisite for using JavaParser correctly. The symbol solver is initialized only if there is no parsing error.