How should I find a specific Java method with regarding to subtyping?:
I have PsiType A,B and String methodName, and I want to find a method A#methodName(C) where B is castable to C (eg: C=long, B=int).
If I use A.findMethodBySignature(..) then I got only exact A#methodName(B) methods but not A#methodName(C)
Is there API for that?