public static boolean isAvailable(@NotNull PsiSwitchStatement switchStatement) {
    final PsiCodeBlock body = switchStatement.getBody();
    return body != null && !body.isEmpty() && BreakConverter.from(switchStatement) != null && !mayFallThroughNonTerminalDefaultCase(body);
  }
public static boolean isAvailable(@NotNull PsiSwitchStatement switchStatement)