Home
last modified time | relevance | path

Searched refs:CodeWriter (Results 1 – 19 of 19) sorted by relevance

/external/javapoet/src/main/java/com/squareup/javapoet/
DArrayTypeName.java50 @Override CodeWriter emit(CodeWriter out) throws IOException { in emit()
54 CodeWriter emit(CodeWriter out, boolean varargs) throws IOException { in emit()
59 private CodeWriter emitLeafType(CodeWriter out) throws IOException { in emitLeafType()
66 private CodeWriter emitBrackets(CodeWriter out, boolean varargs) throws IOException { in emitBrackets()
DCodeWriter.java43 final class CodeWriter { class
69 CodeWriter(Appendable out) { in CodeWriter() method in CodeWriter
73 CodeWriter(Appendable out, String indent, Set<String> staticImports) { in CodeWriter() method in CodeWriter
77 CodeWriter(Appendable out, String indent, Map<String, ClassName> importedTypes, in CodeWriter() method in CodeWriter
93 public CodeWriter indent() { in indent()
97 public CodeWriter indent(int levels) { in indent()
102 public CodeWriter unindent() { in unindent()
106 public CodeWriter unindent(int levels) { in unindent()
112 public CodeWriter pushPackage(String packageName) { in pushPackage()
118 public CodeWriter popPackage() { in popPackage()
[all …]
DJavaFile.java75 CodeWriter importsCollector = new CodeWriter(NULL_APPENDABLE, indent, staticImports); in writeTo()
80 CodeWriter codeWriter = new CodeWriter(out, indent, suggestedImports, staticImports); in writeTo()
126 private void emit(CodeWriter codeWriter) throws IOException { in emit()
DTypeName.java211 CodeWriter codeWriter = new CodeWriter(resultBuilder); in toString()
222 CodeWriter emit(CodeWriter out) throws IOException { in emit()
232 CodeWriter emitAnnotations(CodeWriter out) throws IOException { in emitAnnotations()
DParameterSpec.java50 void emit(CodeWriter codeWriter, boolean varargs) throws IOException { in emit()
75 CodeWriter codeWriter = new CodeWriter(out); in toString()
DFieldSpec.java55 void emit(CodeWriter codeWriter, Set<Modifier> implicitModifiers) throws IOException { in emit()
81 CodeWriter codeWriter = new CodeWriter(out); in toString()
DAnnotationSpec.java53 void emit(CodeWriter codeWriter, boolean inline) throws IOException { in emit()
87 private void emitAnnotationValues(CodeWriter codeWriter, String whitespace, in emitAnnotationValues()
185 CodeWriter codeWriter = new CodeWriter(out); in toString()
DWildcardTypeName.java64 @Override CodeWriter emit(CodeWriter out) throws IOException { in emit()
DParameterizedTypeName.java67 @Override CodeWriter emit(CodeWriter out) throws IOException { in emit()
DTypeVariableName.java82 @Override CodeWriter emit(CodeWriter out) throws IOException { in emit()
DClassName.java233 @Override CodeWriter emit(CodeWriter out) throws IOException {
DMethodSpec.java83 void emit(CodeWriter codeWriter, String enclosingName, Set<Modifier> implicitModifiers) in emit()
164 CodeWriter codeWriter = new CodeWriter(out); in toString()
DTypeSpec.java170 void emit(CodeWriter codeWriter, String enumName, Set<Modifier> implicitModifiers) in emit()
343 CodeWriter codeWriter = new CodeWriter(out); in toString()
DCodeBlock.java97 new CodeWriter(out).emit(this); in toString()
/external/flatbuffers/include/flatbuffers/
Dcode_generators.h39 class CodeWriter {
41 CodeWriter() {} in CodeWriter() function
/external/flatbuffers/src/
Didl_gen_json_schema.cpp111 CodeWriter code_;
Dcode_generators.cpp31 void CodeWriter::operator+=(std::string text) { in operator +=()
Didl_gen_rust.cpp366 CodeWriter code_;
Didl_gen_cpp.cpp468 CodeWriter code_;