类 MapperInterfaceTemplate


  • public final class MapperInterfaceTemplate
    extends AbstractTemplate
    Repository 模版实现
    作者:
    liuguowen
    • 字段详细资料

      • logger

        private static final org.slf4j.Logger logger
      • LINE_PATTERN

        private static final Pattern LINE_PATTERN
    • 构造器详细资料

      • MapperInterfaceTemplate

        public MapperInterfaceTemplate​(org.apache.velocity.app.VelocityEngine velocityEngine,
                                       TypeMetadata typeMetadata)
    • 方法详细资料

      • formatLine

        private String formatLine​(String sourceCode)
      • getCustomizedMapperInterfaceMethods

        private String getCustomizedMapperInterfaceMethods​(Path mapperInterfaceFile)
      • getFormatMethodSign

        private String getFormatMethodSign​(japa.parser.ast.body.MethodDeclaration methodDeclaration)