code: private static void checkCacheBy(ASTRootNode rootNode, List<CacheByItem> cacheByItems) {
      List<ASTJDBCParameter> jps = rootNode.getJDBCParameters();
      for (CacheByItem cacheByItem : cacheByItems) {
        String parameterName = cacheByItem.getParameterName();
        String propertyPath = cacheByItem.getPropertyPath();
        boolean pass = false;
        for (ASTJDBCParameter jp : jps) {
          if (jp.getBindingParameter().getParameterName().equals(parameterName) &&
              jp.getBindingParameter().getPropertyPath().equals(propertyPath)) {
            pass = true;
            break;
          }
        }
        List<ASTJDBCIterableParameter> jips = rootNode.getJDBCIterableParameters();
        for (ASTJDBCIterableParameter jip : jips) {
          if (jip.getBindingParameter().getParameterName().equals(parameterName) &&
              jip.getBindingParameter().getPropertyPath().equals(propertyPath)) {
            pass = true;
            break;
          }
        }
        if (!pass) {
          throw new IncorrectCacheByException("CacheBy " +
              cacheByItem.getFullName() + " can't match any db parameter");
        }
      }
    }
docs: 检测{@link CacheBy}定位到的参数db中是否有用到，如果db中没有用到，
  则抛出{@link IncorrectCacheByException}