public class FrameWorkCommentGenerator
extends com.github.fartherp.codegenerator.api.comment.DefaultCommentGenerator
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
suppressAllComments
是否支持所有注释
|
protected boolean |
suppressDate
是否支持日期
|
| 构造器和说明 |
|---|
FrameWorkCommentGenerator() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addClassComment(com.github.fartherp.javacode.InnerClass innerClass,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper) |
void |
addClassComment(com.github.fartherp.javacode.InnerClass innerClass,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper,
boolean markAsDoNotDelete) |
void |
addComment(com.github.fartherp.javaxml.XmlElement xmlElement) |
void |
addEnumComment(com.github.fartherp.javacode.InnerEnum innerEnum,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper) |
void |
addFieldComment(com.github.fartherp.javacode.Field field,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper) |
void |
addFieldComment(com.github.fartherp.javacode.Field field,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper,
com.github.fartherp.codegenerator.db.ColumnInfo columnInfo) |
void |
addGeneralMethodComment(com.github.fartherp.javacode.Method method,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper) |
void |
addGetterComment(com.github.fartherp.javacode.Method method,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper,
com.github.fartherp.codegenerator.db.ColumnInfo columnInfo) |
void |
addJavaFileComment(com.github.fartherp.javacode.CompilationUnit compilationUnit) |
void |
addSetterComment(com.github.fartherp.javacode.Method method,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper,
com.github.fartherp.codegenerator.db.ColumnInfo columnInfo) |
protected String |
getDateString() |
protected boolean suppressDate
protected boolean suppressAllComments
public void addJavaFileComment(com.github.fartherp.javacode.CompilationUnit compilationUnit)
addJavaFileComment 在接口中 com.github.fartherp.codegenerator.api.CommentGeneratoraddJavaFileComment 在类中 com.github.fartherp.codegenerator.api.comment.DefaultCommentGeneratorpublic void addComment(com.github.fartherp.javaxml.XmlElement xmlElement)
addComment 在接口中 com.github.fartherp.codegenerator.api.CommentGeneratoraddComment 在类中 com.github.fartherp.codegenerator.api.comment.DefaultCommentGeneratorprotected String getDateString()
getDateString 在类中 com.github.fartherp.codegenerator.api.comment.DefaultCommentGeneratorpublic void addClassComment(com.github.fartherp.javacode.InnerClass innerClass,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper)
addClassComment 在接口中 com.github.fartherp.codegenerator.api.CommentGeneratoraddClassComment 在类中 com.github.fartherp.codegenerator.api.comment.DefaultCommentGeneratorpublic void addEnumComment(com.github.fartherp.javacode.InnerEnum innerEnum,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper)
addEnumComment 在接口中 com.github.fartherp.codegenerator.api.CommentGeneratoraddEnumComment 在类中 com.github.fartherp.codegenerator.api.comment.DefaultCommentGeneratorpublic void addFieldComment(com.github.fartherp.javacode.Field field,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper,
com.github.fartherp.codegenerator.db.ColumnInfo columnInfo)
addFieldComment 在接口中 com.github.fartherp.codegenerator.api.CommentGeneratoraddFieldComment 在类中 com.github.fartherp.codegenerator.api.comment.DefaultCommentGeneratorpublic void addFieldComment(com.github.fartherp.javacode.Field field,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper)
addFieldComment 在接口中 com.github.fartherp.codegenerator.api.CommentGeneratoraddFieldComment 在类中 com.github.fartherp.codegenerator.api.comment.DefaultCommentGeneratorpublic void addGeneralMethodComment(com.github.fartherp.javacode.Method method,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper)
addGeneralMethodComment 在接口中 com.github.fartherp.codegenerator.api.CommentGeneratoraddGeneralMethodComment 在类中 com.github.fartherp.codegenerator.api.comment.DefaultCommentGeneratorpublic void addGetterComment(com.github.fartherp.javacode.Method method,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper,
com.github.fartherp.codegenerator.db.ColumnInfo columnInfo)
addGetterComment 在接口中 com.github.fartherp.codegenerator.api.CommentGeneratoraddGetterComment 在类中 com.github.fartherp.codegenerator.api.comment.DefaultCommentGeneratorpublic void addSetterComment(com.github.fartherp.javacode.Method method,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper,
com.github.fartherp.codegenerator.db.ColumnInfo columnInfo)
addSetterComment 在接口中 com.github.fartherp.codegenerator.api.CommentGeneratoraddSetterComment 在类中 com.github.fartherp.codegenerator.api.comment.DefaultCommentGeneratorpublic void addClassComment(com.github.fartherp.javacode.InnerClass innerClass,
com.github.fartherp.codegenerator.db.TableInfoWrapper tableInfoWrapper,
boolean markAsDoNotDelete)
addClassComment 在接口中 com.github.fartherp.codegenerator.api.CommentGeneratoraddClassComment 在类中 com.github.fartherp.codegenerator.api.comment.DefaultCommentGeneratorCopyright © 2018. All rights reserved.