I'm trying to make my plugin compatible with the 2018.2 EAP version and I'm stuck with a problem. In the QueryExecutor and RequestResultProcessor interfaces, the first generics parameter changed in a way that is not backwards compatible and the compiler throws the following error:
error: name clash: processQuery(SearchParameters,Processor<? super PsiElement>) and processQuery(SearchParameters,Processor<PsiElement>) have the same erasure
I'd like to keep my plugin compatible with at least the most recent two major versions. Since 2018.2 has not been released yet, would it be possible to implement this change in a different way?
Hopefully someone from the Jetbrains team can give some feedback on this issue.