Open moaxcp opened 2 months ago
I figured out the issue. The newer javadoc says "signature is a method name plus argument types, with no spaces between the argument types".
@moaxcp glad you figured this out. Is there a place where you think we could document this such that it would be easier to find?
@msridhar Yes in the sample it would be good to have more methods. On the wiki it would help to explain MethodRef and why it has this format. If there is an easy way to generate the correct text for a method that would help too.
I think the library models feature is really awesome and helpful for applications with troublesome dependencies like JsonObject.
Thanks for the feedback @moaxcp. I've re-opened this issue to track the task of improving the documentation and sample as you suggest.
I am running into an issue where a LibraryModels is not detecting a null parameter in an overloaded method.
I have created a complete example project for this issue here.
This is an issue with version 0.11.1.
These are the overloaded methods from the external-module project.
The model returns both methods.
The methods are called in the example-project.
This results in a compile error for
method(String)
only, but I expect an error formethod(String, String)
as well.When I fix the error the class compiles but it shouldn't.