Suppress rawtypes warning in KotlinTestContextProvider [
COPYBARA_INTEGRATE_REVIEW=https://github.com/bazelbuild/intellij/pull/2949 from bazelbuild:mai93-patch-4
@@ -52,6 +52,7 @@ class KotlinTestContextProvider implements TestContextProvider {
.map(target -> createTestContext(testClass, testMethod, target));
}
+ @SuppressWarnings({"rawtypes"})
private static Optional<PsiElement> getPsiElement(ConfigurationContext context) {
return Optional.ofNullable(context.getLocation()).map(Location::getPsiElement);
}
