Home
last modified time | relevance | path

Searched refs:mOutput (Results 1 – 6 of 6) sorted by relevance

/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DClassSourcer.java34 private final Output mOutput; field in ClassSourcer
40 mOutput = output; in ClassSourcer()
41 mAccessSourcer = new AccessSourcer(mOutput); in ClassSourcer()
57 mOutput.write("package %s;\n", pkg); in visit()
63 mOutput.write(" class %s", mClassName); in visit()
72 mOutput.write(sigSourcer.formalsToString()); in visit()
75 mOutput.write(" extends %s", sigSourcer.getSuperClass().toString()); in visit()
79 mOutput.write(" extends %s", superName.replace('/', '.')); in visit()
84 mOutput.write(" implements "); in visit()
88 mOutput.write(", "); in visit()
[all …]
DAnnotationSourcer.java30 private final Output mOutput; field in AnnotationSourcer
39 mOutput = output; in AnnotationSourcer()
49 mOutput.write("%s=", name); in visit()
52 mOutput.write(name.toString()); in visit()
59 mOutput.write(mOpenChar); in startOpen()
66 mOutput.write(mCloseChar); in visitEnd()
68 mOutput.write("\n"); in visitEnd()
75 mOutput.write("@%s", name); in visitAnnotation()
82 return new AnnotationSourcer(mOutput, true /*isArray*/); in visitArray()
87 mOutput.write("/* annotation enum not supported: %s */\n", name); in visitEnum()
DFieldSourcer.java32 private final Output mOutput; field in FieldSourcer
40 mOutput = output; in FieldSourcer()
49 mOutput.write("@%s", desc); in visitAnnotation()
50 return new AnnotationSourcer(mOutput); in visitAnnotation()
55 mOutput.write("%s /* non-standard attribute */ ", attr.type); in visitAttribute()
62 AccessSourcer as = new AccessSourcer(mOutput); in visitEnd()
66 mOutput.write(" %s", Type.getType(mDesc).getClassName()); in visitEnd()
68 mOutput.write(" "); in visitEnd()
72 mOutput.write(sigSourcer.toString()); in visitEnd()
75 mOutput.write(" %s", mName); in visitEnd()
[all …]
DMethodSourcer.java35 private final Output mOutput; field in MethodSourcer
48 mOutput = output; in MethodSourcer()
65 AccessSourcer as = new AccessSourcer(mOutput); in writeHeader()
77 mOutput.write(" %s", sigSourcer.formalsToString()); in writeHeader()
85 mOutput.write(" %s", Type.getReturnType(mDesc).getClassName()); in writeHeader()
88 mOutput.write(" %s", sigSourcer.getReturnType().toString()); in writeHeader()
93 mOutput.write(" %s(", mIsConstructor ? mClassName : mName); in writeHeader()
101 mOutput.write(", "); in writeHeader()
103 mOutput.write("%s arg%d", types[i].getClassName(), i); in writeHeader()
110 mOutput.write(", "); in writeHeader()
[all …]
DAccessSourcer.java30 private final Output mOutput; field in AccessSourcer
83 mOutput = output; in AccessSourcer()
103 mOutput.write(" "); in write()
105 mOutput.write(f.toString()); in write()
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
DMethodSourcerTest.java33 private Output mOutput; field in MethodSourcerTest
38 mOutput = new Output(mWriter); in setUp()
48 MethodSourcer m = new MethodSourcer(mOutput, in testVoid()
64 MethodSourcer m = new MethodSourcer(mOutput, in testVoidThrow()
80 MethodSourcer m = new MethodSourcer(mOutput, in testReturnMap()