[2020.3 compat] Add Compat class for go import resolver
Extend SyntheticFileSystemItemHelper.processChildren has a new `? super ` bounded wildcard parameter in 2020.3
@@ -214,8 +214,13 @@ class BlazeGoImportResolver implements GoImportResolver {
return false;
}
+ /**
+ * SyntheticFileSystemItemHelper.processChildren has a new `? super ` bounded wildcard parameter
+ * since 2020.3. Replace type with <? super PsiFileSystemItem> when cleaning up #api202
+ */
+ @SuppressWarnings({"rawtypes", "RedundantSuppression"})
@Override
- public boolean processChildren(PsiElementProcessor<PsiFileSystemItem> psiElementProcessor) {
+ public boolean processChildren(PsiElementProcessor psiElementProcessor) {
return false;
}
}
