@Override
    public void initialized(IntrospectedTable introspectedTable) {
        super.initialized(introspectedTable);
        this.incColumns = new ArrayList<>();
        this.incEnum = null;
        this.incEnumBuilder = null;

        String incrementsColumns = introspectedTable.getTableConfigurationProperty(IncrementsPlugin.PRO_INCREMENTS_COLUMNS);
        if (StringUtility.stringHasValue(incrementsColumns)) {
            // 切分
            String[] incrementsColumnsStrs = incrementsColumns.split(",");
            for (String incrementsColumnsStr : incrementsColumnsStrs) {
                IntrospectedColumn column = IntrospectedTableTools.safeGetColumn(introspectedTable, incrementsColumnsStr);
                if (column == null) {
                    warnings.add("itfsw:插件" + IncrementsPlugin.class.getTypeName() + "插件没有找到column为" + incrementsColumnsStr.trim() + "的字段！");
                } else {
                    incColumns.add(column);
                }
            }
        }
    }
@Override
    public void initialized(IntrospectedTable introspectedTable) {
        super.initialized(introspectedTable);
        this.incColumns = new ArrayList<>();
        this.incEnum = null;
        this.incEnumBuilder = null;

        String incrementsColumns = introspectedTable.getTableConfigurationProperty(IncrementsPlugin.PRO_INCREMENTS_COLUMNS);
        if (StringUtility.stringHasValue(incrementsColumns)) {
            
            String[] incrementsColumnsStrs = incrementsColumns.split(",");
            for (String incrementsColumnsStr : incrementsColumnsStrs) {
                IntrospectedColumn column = IntrospectedTableTools.safeGetColumn(introspectedTable, incrementsColumnsStr);
                if (column == null) {
                    warnings.add("itfsw:插件" + IncrementsPlugin.class.getTypeName() + "插件没有找到column为" + incrementsColumnsStr.trim() + "的字段！");
                } else {
                    incColumns.add(column);
                }
            }
        }
    }
@ Override public void initialized ( IntrospectedTable introspectedTable ) { super . initialized ( introspectedTable ) ; this . incColumns = new ArrayList <> ( ) ; this . incEnum = null ; this . incEnumBuilder = null ; String incrementsColumns = introspectedTable . getTableConfigurationProperty ( IncrementsPlugin . PRO_INCREMENTS_COLUMNS ) ; if ( StringUtility . stringHasValue ( incrementsColumns ) ) { // 切分 String [ ] incrementsColumnsStrs = incrementsColumns . split ( "," ) ; for ( String incrementsColumnsStr : incrementsColumnsStrs ) { IntrospectedColumn column = IntrospectedTableTools . safeGetColumn ( introspectedTable , incrementsColumnsStr ) ; if ( column == null ) { warnings . add ( "itfsw:插件" + I c ementsPlugin.cla s s.get T ypeName() + " 件 有找到column为" + incrementsColum s tr.trim() + "的字段！"); } else { incColumns . add ( column ) ; } } } }
具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
@param introspectedTable
具体执行顺序 http : // www . mybatis . org / generator / reference / pluggingIn . html