private static boolean isInheritedInterfaceStaticMethod(@NotNull HierarchicalMethodSignature signature, @NotNull PsiClass aClass) {
    //static methods from interfaces are not inheritable
    //jls 8, 8.4.8. and 9.4.1., so we need to skip them
    PsiMethod method = signature.getMethod();
    PsiClass containingClass = method.getContainingClass();
    if (containingClass != null &&
        !aClass.getManager().areElementsEquivalent(aClass, containingClass) &&
        containingClass.isInterface() && method.hasModifierProperty(PsiModifier.STATIC)) {
      return true;
    }
    return false;
  }
private static boolean isInheritedInterfaceStaticMethod(@NotNull HierarchicalMethodSignature signature, @NotNull PsiClass aClass)