private static boolean isActionWrapper(@Nullable Class<?> c) {
    String s = c == null ? null : c.getName();
    return "com.intellij.openapi.actionSystem.AnActionWrapper".equals(s) ||
           "com.intellij.openapi.actionSystem.ActionGroupWrapper".equals(s);
  }
private static boolean isActionWrapper(@Nullable Class<?> c)