public static boolean isMainMethod(@NotNull JvmMethod method) {
    if (!MAIN.equals(method.getName())) return false;
    final JvmClass containingClass = method.getContainingClass();
    return containingClass != null && canBeMainClass(containingClass) && hasMainMethodSignature(method);
  }
public static boolean isMainMethod(@NotNull JvmMethod method)