class GrpcUtils {

  public static String getInterfaceNameNoneException(String fullMethodName) {
    if (StringUtils.isEmpty(fullMethodName)) {
      return "";
    }

    int index = fullMethodName.indexOf("/");
    if (index < 0) {
      return "";
    }

    return fullMethodName.substring(0, index);
  }

}