public abstract class AbstractMethodGenerator extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AbstractMethodGenerator.BaseBuilder<T extends AbstractMethodGenerator.BaseBuilder<T>> |
Modifier and Type | Field and Description |
---|---|
protected Context |
context |
protected IntrospectedTable |
introspectedTable |
protected String |
tableFieldName |
Modifier | Constructor and Description |
---|---|
protected |
AbstractMethodGenerator(AbstractMethodGenerator.BaseBuilder<?> builder) |
Modifier and Type | Method and Description |
---|---|
protected void |
acceptParts(MethodAndImports.Builder builder,
Method method,
MethodParts methodParts) |
protected String |
calculateFieldName(IntrospectedColumn column) |
static String |
calculateFieldName(String tableFieldName,
IntrospectedColumn column) |
abstract boolean |
callPlugins(Method method,
Interface interfaze) |
abstract MethodAndImports |
generateMethodAndImports() |
protected final Context context
protected final IntrospectedTable introspectedTable
protected final String tableFieldName
protected AbstractMethodGenerator(AbstractMethodGenerator.BaseBuilder<?> builder)
protected String calculateFieldName(IntrospectedColumn column)
public static String calculateFieldName(String tableFieldName, IntrospectedColumn column)
protected void acceptParts(MethodAndImports.Builder builder, Method method, MethodParts methodParts)
public abstract MethodAndImports generateMethodAndImports()
Copyright © 2006–2023 MyBatis.org. All rights reserved.