private static @NotNull MyResult preferClassIf(boolean condition) {
    return condition ? MyResult.suitableClass : MyResult.classNameOrGlobalStatic;
  }
private static @NotNull MyResult preferClassIf(boolean condition)