T
- public abstract class AbstractCodeWriter<T extends AbstractCodeWriter<T>> extends java.lang.Object implements java.lang.Appendable, CodeWriter
Constructor and Description |
---|
AbstractCodeWriter(java.lang.Appendable appendable,
int spaces) |
Modifier and Type | Method and Description |
---|---|
T |
append(char c) |
T |
append(java.lang.CharSequence csq) |
T |
append(java.lang.CharSequence csq,
int start,
int end) |
T |
beginLine(java.lang.String... segments) |
protected T |
goIn() |
protected T |
goOut() |
T |
line(java.lang.String... segments) |
T |
nl() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
annotation, annotation, beginClass, beginClass, beginConstructor, beginConstructor, beginInterface, beginPublicMethod, beginPublicMethod, beginStaticMethod, beginStaticMethod, end, field, getClassConstant, getGenericName, getRawName, importClasses, importPackages, imports, imports, javadoc, packageDecl, privateField, privateFinal, privateFinal, privateStaticFinal, protectedField, protectedFinal, protectedFinal, publicField, publicField, publicFinal, publicFinal, publicStaticFinal, staticimports, suppressWarnings, suppressWarnings
public AbstractCodeWriter(java.lang.Appendable appendable, int spaces)
public T append(char c) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
public T append(java.lang.CharSequence csq) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
public T append(java.lang.CharSequence csq, int start, int end) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
public T beginLine(java.lang.String... segments) throws java.io.IOException
beginLine
in interface CodeWriter
java.io.IOException
protected T goIn()
protected T goOut()
public T line(java.lang.String... segments) throws java.io.IOException
line
in interface CodeWriter
java.io.IOException
public T nl() throws java.io.IOException
nl
in interface CodeWriter
java.io.IOException
Copyright © 2007–2021 Querydsl. All rights reserved.