private boolean checkStaticInterfaceMethodCallQualifier() {
      PsiElement element = getElement();
      if (!(element instanceof PsiMethod)) {
        return true;
      }

      PsiElement qualifier = myReference.getQualifier();
      if (!(qualifier instanceof PsiReference)) {
        return true;
      }
      PsiElement resolved = ((PsiReference)qualifier).resolve();
      if (!(resolved instanceof PsiClass)) {
        return true;
      }
      PsiClass containingClass = ((PsiMethod)element).getContainingClass();
      if (containingClass != null && containingClass.isInterface()) {
        if (!containingClass.getManager().areElementsEquivalent(resolved, containingClass)) {
          return false;
        }
      }
      return true;
    }
private boolean checkStaticInterfaceMethodCallQualifier()