code: @Override
      public boolean validate(List<String> warnings) {
          this.warnings = warnings;
          // 插件使用前提是targetRuntime为MyBatis3
          if (StringUtility.stringHasValue(getContext().getTargetRuntime()) && "MyBatis3".equalsIgnoreCase(getContext().getTargetRuntime()) == false) {
              warnings.add("itfsw:插件" + this.getClass().getTypeName() + "要求运行targetRuntime必须为MyBatis3！");
              return false;
          }
  
          return true;
      }
docs: {@inheritDoc}