src/main/java/com/itfsw/mybatis/generator/plugins/SelectSelectivePlugin.java
private Method replaceMethodWithSelective(Method method, String name, String firstAnnotation, IntrospectedTable introspectedTable) {
        Method withSelective = JavaElementTools.clone(method);
        FormatTools.replaceGeneralMethodComment(commentGenerator, withSelective, introspectedTable);

        withSelective.setName(name);
        // example
        withSelective.getParameters().get(0).addAnnotation(firstAnnotation);
        // selective
        withSelective.addParameter(
                new Parameter(this.getModelColumnFullyQualifiedJavaType(introspectedTable), "selective", "@Param(\"selective\")", true)
        );

        return withSelective;
    }
private Method replaceMethodWithSelective(Method method, String name, String firstAnnotation, IntrospectedTable introspectedTable) {
        Method withSelective = JavaElementTools.clone(method);
        FormatTools.replaceGeneralMethodComment(commentGenerator, withSelective, introspectedTable);

        withSelective.setName(name);
        // example
        withSelective.getParameters().get(0).addAnnotation(firstAnnotation);
        // selective
        withSelective.addParameter(
                new Parameter(this.getModelColumnFullyQualifiedJavaType(introspectedTable), "selective", "@Param(\"selective\")", true)
        );

        return withSelective;
    }
替换方法成withSelective
@param method
@param name
@param firstAnnotation
@param introspectedTable
@return