类 CodeWriter
java.lang.Object
org.babyfish.jimmer.client.generator.ts.CodeWriter
- 直接已知子类:
DtoWriter,DynamicWriter,ExecutorWriter,ModuleWriter,RequestOfWriter,ResponseOfWriter,ServiceWriter,TypeDefinitionWriter
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器限定符构造器说明protectedCodeWriter(Context ctx, File file) protectedCodeWriter(Context ctx, File file, boolean anonymous) -
方法概要
修饰符和类型方法说明code(char c) codeIf(boolean cond, char c) voidflush()getFile()importFile(File file) importFile(File file, boolean treatAsData) protected booleanscope(CodeWriter.ScopeType type, String separator, boolean multiLines, Runnable runnable) protected abstract voidwrite()
-
字段详细资料
-
anonymous
protected final boolean anonymous
-
-
构造器详细资料
-
CodeWriter
-
CodeWriter
-
-
方法详细资料
-
getContext
-
getFile
-
codeIf
-
codeIf
-
code
-
code
-
importFile
-
importFile
-
type
-
separator
-
document
-
scope
public CodeWriter scope(CodeWriter.ScopeType type, String separator, boolean multiLines, Runnable runnable) -
write
protected abstract void write() -
flush
- 抛出:
IOException
-
rawImmutableAsDynamic
protected boolean rawImmutableAsDynamic()
-