PsiType (@Nullable PsiType functionalInterfaceType) { if (functionalInterfaceType instanceof PsiIntersectionType) { PsiType functionalConjunct = extractFunctionalConjunct((PsiIntersectionType)functionalInterfaceType); if (functionalConjunct != null) { functionalInterfaceType = functionalConjunct; } } return functionalInterfaceType; }