public class SourceWriter extends Object implements Appendable, LocationProvider
public SourceWriter append(String value) throws IOException
IOExceptionpublic SourceWriter append(Object value) throws IOException
IOExceptionpublic SourceWriter append(int value) throws IOException
IOExceptionpublic SourceWriter append(char value) throws IOException
append in interface AppendableIOExceptionpublic SourceWriter append(CharSequence csq) throws IOException
append in interface AppendableIOExceptionpublic SourceWriter append(CharSequence csq, int start, int end) throws IOException
append in interface AppendableIOExceptionpublic SourceWriter appendClass(String cls) throws NamingException, IOException
NamingExceptionIOExceptionpublic SourceWriter appendClass(Class<?> cls) throws NamingException, IOException
NamingExceptionIOExceptionpublic SourceWriter appendField(FieldReference field) throws NamingException, IOException
NamingExceptionIOExceptionpublic SourceWriter appendMethod(MethodDescriptor method) throws NamingException, IOException
NamingExceptionIOExceptionpublic SourceWriter appendMethod(String name, ValueType... params) throws NamingException, IOException
NamingExceptionIOExceptionpublic SourceWriter appendMethod(String name, Class<?>... params) throws NamingException, IOException
NamingExceptionIOExceptionpublic SourceWriter appendMethodBody(MethodReference method) throws NamingException, IOException
NamingExceptionIOExceptionpublic SourceWriter appendMethodBody(String className, String name, ValueType... params) throws NamingException, IOException
NamingExceptionIOExceptionpublic SourceWriter appendMethodBody(Class<?> cls, String name, Class<?>... params) throws NamingException, IOException
NamingExceptionIOExceptionpublic SourceWriter appendFunction(String name) throws NamingException, IOException
NamingExceptionIOExceptionpublic SourceWriter newLine() throws IOException
IOExceptionpublic SourceWriter ws() throws IOException
IOExceptionpublic SourceWriter tokenBoundary() throws IOException
IOExceptionpublic SourceWriter softNewLine() throws IOException
IOExceptionpublic SourceWriter indent()
public SourceWriter outdent()
public NamingStrategy getNaming()
public int getColumn()
getColumn in interface LocationProviderpublic int getLine()
getLine in interface LocationProviderCopyright © 2015. All rights reserved.