private static @NotNull Field getField(@NotNull Object obj, String bindId, int dot) {
    String fieldName = dot >= 0 ? bindId.substring(0, dot) : bindId;
    Field field;
    try {
      field = ReflectionUtil.findAssignableField(obj.getClass(), null, fieldName);
    }
    catch (NoSuchFieldException e) {
      throw new IllegalArgumentException(
        "Inspection " + obj.getClass().getName() + ": Unable to find field " + fieldName + " (bindId = " + bindId + ")", e);
    }
    return field;
  }
private static @NotNull Field getField(@NotNull Object obj, String bindId, int dot)