Incorrect overloaded method selected

Faced the following problem. In my service bean I have 2 overloaded methods:
public Application doSmth(final Long applicationId) {
//logic
}
public Application doSmth(final Application application) {
//logic
}
When calling expression ${myBean.doSmth(applicationId)} it fails with ProcessEngineException(“Cause: Cannot coerce from class java.lang.Long to class com.hes.cc.demo.root.application.Application”).
Can I influence on method selection via juel/feel any way?
In my bean I can sure rename one of methods, but faced similar problem when calling external libs, that can not be changed.
PS
After a look at sources, the problem is that AstMethod.eval() passes null parameter types. Then reflection hooks the first method from my bean. Any ideas how to overcome it?

According to the following link, it is a design choice to not have overloaded methods but distinct method names. I’d consider simply renaming your method in order to save you headache and time.

Hello everybody,
what about the Spin? It is not possible to call any of overloaded SpinJsonNode.prop(String name, T value) method from juel/feel. Is there any solution for that?