public static @NotNull HierarchicalMethodSignature getHierarchicalMethodSignature(@NotNull PsiMethod method) {
    return getHierarchicalMethodSignature(method, method.getResolveScope());
  }
public static @NotNull HierarchicalMethodSignature getHierarchicalMethodSignature(@NotNull PsiMethod method)