boolean (@NotNull PsiMethod method) { if (method.hasModifierProperty(PsiModifier.STATIC) && !(myCurrentFileContext instanceof PsiImportStaticStatement) && myPlace instanceof PsiMethodCallExpression && ((PsiMethodCallExpression)myPlace).getMethodExpression().getQualifierExpression() == null) { final PsiClass containingClass = method.getContainingClass(); return containingClass != null && containingClass.isInterface(); } return false; }