Searched refs:mOutput (Results 1 – 6 of 6) sorted by relevance
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/ |
D | ClassSourcer.java | 32 private final Output mOutput; field in ClassSourcer 38 mOutput = output; in ClassSourcer() 39 mAccessSourcer = new AccessSourcer(mOutput); in ClassSourcer() 55 mOutput.write("package %s;\n", pkg); in visit() 61 mOutput.write(" class %s", mClassName); in visit() 70 mOutput.write(sigSourcer.formalsToString()); in visit() 73 mOutput.write(" extends %s", sigSourcer.getSuperClass().toString()); in visit() 77 mOutput.write(" extends %s", superName.replace('/', '.')); in visit() 82 mOutput.write(" implements "); in visit() 86 mOutput.write(", "); in visit() [all …]
|
D | AnnotationSourcer.java | 29 private final Output mOutput; field in AnnotationSourcer 38 mOutput = output; in AnnotationSourcer() 48 mOutput.write("%s=", name); in visit() 51 mOutput.write(name.toString()); in visit() 58 mOutput.write(mOpenChar); in startOpen() 65 mOutput.write(mCloseChar); in visitEnd() 67 mOutput.write("\n"); in visitEnd() 74 mOutput.write("@%s", name); in visitAnnotation() 81 return new AnnotationSourcer(mOutput, true /*isArray*/); in visitArray() 86 mOutput.write("/* annotation enum not supported: %s */\n", name); in visitEnum()
|
D | FieldSourcer.java | 31 private final Output mOutput; field in FieldSourcer 39 mOutput = output; in FieldSourcer() 48 mOutput.write("@%s", desc); in visitAnnotation() 49 return new AnnotationSourcer(mOutput); in visitAnnotation() 54 mOutput.write("%s /* non-standard attribute */ ", attr.type); in visitAttribute() 61 AccessSourcer as = new AccessSourcer(mOutput); in visitEnd() 65 mOutput.write(" %s", Type.getType(mDesc).getClassName()); in visitEnd() 67 mOutput.write(" "); in visitEnd() 71 mOutput.write(sigSourcer.toString()); in visitEnd() 74 mOutput.write(" %s", mName); in visitEnd() [all …]
|
D | MethodSourcer.java | 34 private final Output mOutput; field in MethodSourcer 47 mOutput = output; in MethodSourcer() 64 AccessSourcer as = new AccessSourcer(mOutput); in writeHeader() 76 mOutput.write(" %s", sigSourcer.formalsToString()); in writeHeader() 84 mOutput.write(" %s", Type.getReturnType(mDesc).getClassName()); in writeHeader() 87 mOutput.write(" %s", sigSourcer.getReturnType().toString()); in writeHeader() 92 mOutput.write(" %s(", mIsConstructor ? mClassName : mName); in writeHeader() 100 mOutput.write(", "); in writeHeader() 102 mOutput.write("%s arg%d", types[i].getClassName(), i); in writeHeader() 109 mOutput.write(", "); in writeHeader() [all …]
|
D | AccessSourcer.java | 30 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/ |
D | MethodSourcerTest.java | 33 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()
|