src/main/java/com/itfsw/mybatis/generator/plugins/ExampleTargetPlugin.java
@Override
    public boolean validate(List<String> warnings) {
        // 获取配置的目标package
        Properties properties = getProperties();
        this.targetPackage = properties.getProperty(PRO_TARGET_PACKAGE);
        if (this.targetPackage == null){
            warnings.add("请配置com.itfsw.mybatis.generator.plugins.ExampleTargetPlugin插件的目标包名(targetPackage)！");
            return false;
        }
        return super.validate(warnings);
    }
@Override
    public boolean validate(List<String> warnings) {
        // 获取配置的目标package
        Properties properties = getProperties();
        this.targetPackage = properties.getProperty(PRO_TARGET_PACKAGE);
        if (this.targetPackage == null){
            warnings.add("请配置com.itfsw.mybatis.generator.plugins.ExampleTargetPlugin插件的目标包名(targetPackage)！");
            return false;
        }
        return super.validate(warnings);
    }
@ Override public boolean validate ( List < String > warnings ) { // 获取配置的目标package Properties properties = getProperties ( ) ; this . targetPackage = properties . getProperty ( PRO_TARGET_PACKAGE ) ; if ( this . targetPackage == null ) { warnings . add ( "请配置com.itfsw.mybatis.generator.plugins.ExampleTargetPlugin插件的目标包名(targetPackage)！"); return false ; } return super . validate ( warnings ) ; }
{@inheritDoc}
{