@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;
    }
@Override
    public boolean validate(List<String> warnings) {
        this.warnings = warnings;
        
        if (StringUtility.stringHasValue(getContext().getTargetRuntime()) && "MyBatis3".equalsIgnoreCase(getContext().getTargetRuntime()) == false) {
            warnings.add("itfsw:插件" + this.getClass().getTypeName() + "要求运行targetRuntime必须为MyBatis3！");
            return false;
        }

        return true;
    }
@ 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:插件" + t i .get C lass().g e t T ypeName() + " 求 行targetRuntime必须为MyBatis3！"); return false ; } return true ; }
{@inheritDoc}
{