类 LombokPlugin
- java.lang.Object
-
- org.mybatis.generator.api.PluginAdapter
-
- pro.leaco.mybatis.generator.plugins.utils.BasePlugin
-
- pro.leaco.mybatis.generator.plugins.LombokPlugin
-
- 所有已实现的接口:
org.mybatis.generator.api.Plugin
public class LombokPlugin extends BasePlugin
--------------------------------------------------------------------------- LombokPlugin --------------------------------------------------------------------------- ---------------------------------------------------------------------------
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringPRO_SUPPORT_SUPER_BUILDER_FOR_IDEA开启IDEA(老版本) SuperBuilder 支持-
从类继承的字段 pro.leaco.mybatis.generator.plugins.utils.BasePlugin
commentGenerator, logger, mybatisVersion, PRO_MYBATIS_VERSION, warnings
-
-
构造器概要
构造器 构造器 说明 LombokPlugin()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidinitialized(org.mybatis.generator.api.IntrospectedTable introspectedTable)具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.htmlbooleanmodelBaseRecordClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable)具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.htmlbooleanmodelGetterMethodGenerated(org.mybatis.generator.api.dom.java.Method method, org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedColumn introspectedColumn, org.mybatis.generator.api.IntrospectedTable introspectedTable, org.mybatis.generator.api.Plugin.ModelClassType modelClassType)具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.htmlbooleanmodelPrimaryKeyClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable)具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.htmlbooleanmodelRecordWithBLOBsClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable)具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.htmlbooleanmodelSetterMethodGenerated(org.mybatis.generator.api.dom.java.Method method, org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedColumn introspectedColumn, org.mybatis.generator.api.IntrospectedTable introspectedTable, org.mybatis.generator.api.Plugin.ModelClassType modelClassType)具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.htmlbooleanvalidate(List<String> warnings)具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html-
从类继承的方法 pro.leaco.mybatis.generator.plugins.utils.BasePlugin
setContext
-
从类继承的方法 org.mybatis.generator.api.PluginAdapter
clientBasicCountMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicInsertMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicInsertMultipleMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicUpdateMethodGenerated, clientCountByExampleMethodGenerated, clientDeleteByExampleMethodGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientGeneralCountMethodGenerated, clientGeneralDeleteMethodGenerated, clientGeneralSelectDistinctMethodGenerated, clientGeneralSelectMethodGenerated, clientGeneralUpdateMethodGenerated, clientGenerated, clientInsertMethodGenerated, clientInsertMultipleMethodGenerated, clientInsertSelectiveMethodGenerated, clientSelectAllMethodGenerated, clientSelectByExampleWithBLOBsMethodGenerated, clientSelectByExampleWithoutBLOBsMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectListFieldGenerated, clientSelectOneMethodGenerated, clientUpdateAllColumnsMethodGenerated, clientUpdateByExampleSelectiveMethodGenerated, clientUpdateByExampleWithBLOBsMethodGenerated, clientUpdateByExampleWithoutBLOBsMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateByPrimaryKeyWithBLOBsMethodGenerated, clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated, clientUpdateSelectiveColumnsMethodGenerated, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalXmlFiles, contextGenerateAdditionalXmlFiles, dynamicSqlSupportGenerated, getContext, getProperties, modelExampleClassGenerated, modelFieldGenerated, providerApplyWhereMethodGenerated, providerCountByExampleMethodGenerated, providerDeleteByExampleMethodGenerated, providerGenerated, providerInsertSelectiveMethodGenerated, providerSelectByExampleWithBLOBsMethodGenerated, providerSelectByExampleWithoutBLOBsMethodGenerated, providerUpdateByExampleSelectiveMethodGenerated, providerUpdateByExampleWithBLOBsMethodGenerated, providerUpdateByExampleWithoutBLOBsMethodGenerated, providerUpdateByPrimaryKeySelectiveMethodGenerated, setProperties, sqlMapBaseColumnListElementGenerated, sqlMapBlobColumnListElementGenerated, sqlMapCountByExampleElementGenerated, sqlMapDeleteByExampleElementGenerated, sqlMapDeleteByPrimaryKeyElementGenerated, sqlMapDocumentGenerated, sqlMapExampleWhereClauseElementGenerated, sqlMapGenerated, sqlMapInsertElementGenerated, sqlMapInsertSelectiveElementGenerated, sqlMapResultMapWithBLOBsElementGenerated, sqlMapResultMapWithoutBLOBsElementGenerated, sqlMapSelectAllElementGenerated, sqlMapSelectByExampleWithBLOBsElementGenerated, sqlMapSelectByExampleWithoutBLOBsElementGenerated, sqlMapSelectByPrimaryKeyElementGenerated, sqlMapUpdateByExampleSelectiveElementGenerated, sqlMapUpdateByExampleWithBLOBsElementGenerated, sqlMapUpdateByExampleWithoutBLOBsElementGenerated, sqlMapUpdateByPrimaryKeySelectiveElementGenerated, sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated, sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.mybatis.generator.api.Plugin
clientBasicCountMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicInsertMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicInsertMultipleMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicUpdateMethodGenerated, clientColumnListPropertyGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientGeneralCountMethodGenerated, clientGeneralDeleteMethodGenerated, clientGeneralSelectDistinctMethodGenerated, clientGeneralSelectMethodGenerated, clientGeneralUpdateMethodGenerated, clientInsertMethodGenerated, clientInsertMultipleMethodGenerated, clientInsertMultipleVarargMethodGenerated, clientInsertSelectiveMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectOneMethodGenerated, clientUpdateAllColumnsMethodGenerated, clientUpdateByPrimaryKeyMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateSelectiveColumnsMethodGenerated, contextGenerateAdditionalKotlinFiles, contextGenerateAdditionalKotlinFiles, dynamicSqlSupportGenerated, kotlinDataClassGenerated, mapperExtensionsGenerated, mapperGenerated
-
-
-
-
方法详细资料
-
validate
public boolean validate(List<String> warnings)
具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html- 指定者:
validate在接口中org.mybatis.generator.api.Plugin- 覆盖:
validate在类中BasePlugin- 参数:
warnings-- 返回:
-
initialized
public void initialized(org.mybatis.generator.api.IntrospectedTable introspectedTable)
具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html- 指定者:
initialized在接口中org.mybatis.generator.api.Plugin- 覆盖:
initialized在类中BasePlugin- 参数:
introspectedTable-
-
modelBaseRecordClassGenerated
public boolean modelBaseRecordClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable)具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html- 指定者:
modelBaseRecordClassGenerated在接口中org.mybatis.generator.api.Plugin- 覆盖:
modelBaseRecordClassGenerated在类中org.mybatis.generator.api.PluginAdapter- 参数:
topLevelClass-introspectedTable-- 返回:
-
modelPrimaryKeyClassGenerated
public boolean modelPrimaryKeyClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable)具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html- 指定者:
modelPrimaryKeyClassGenerated在接口中org.mybatis.generator.api.Plugin- 覆盖:
modelPrimaryKeyClassGenerated在类中org.mybatis.generator.api.PluginAdapter- 参数:
topLevelClass-introspectedTable-- 返回:
-
modelRecordWithBLOBsClassGenerated
public boolean modelRecordWithBLOBsClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable)具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html- 指定者:
modelRecordWithBLOBsClassGenerated在接口中org.mybatis.generator.api.Plugin- 覆盖:
modelRecordWithBLOBsClassGenerated在类中org.mybatis.generator.api.PluginAdapter- 参数:
topLevelClass-introspectedTable-- 返回:
-
modelGetterMethodGenerated
public boolean modelGetterMethodGenerated(org.mybatis.generator.api.dom.java.Method method, org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedColumn introspectedColumn, org.mybatis.generator.api.IntrospectedTable introspectedTable, org.mybatis.generator.api.Plugin.ModelClassType modelClassType)具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html- 指定者:
modelGetterMethodGenerated在接口中org.mybatis.generator.api.Plugin- 覆盖:
modelGetterMethodGenerated在类中org.mybatis.generator.api.PluginAdapter- 参数:
method-topLevelClass-introspectedColumn-introspectedTable-modelClassType-- 返回:
-
modelSetterMethodGenerated
public boolean modelSetterMethodGenerated(org.mybatis.generator.api.dom.java.Method method, org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedColumn introspectedColumn, org.mybatis.generator.api.IntrospectedTable introspectedTable, org.mybatis.generator.api.Plugin.ModelClassType modelClassType)具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html- 指定者:
modelSetterMethodGenerated在接口中org.mybatis.generator.api.Plugin- 覆盖:
modelSetterMethodGenerated在类中org.mybatis.generator.api.PluginAdapter- 参数:
method-topLevelClass-introspectedColumn-introspectedTable-modelClassType-- 返回:
-
-