Searched refs:mJavac (Results 1 – 5 of 5) sorted by relevance
/art/tools/class2greylist/test/src/com/android/class2greylist/ |
D | UnsupportedAppUsageAnnotationHandlerTest.java | 58 mJavac.addSource("annotation.Anno", Joiner.on('\n').join( in setup() 85 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testGreylistMethod() 92 mJavac.compile(); in testGreylistMethod() 94 new AnnotationVisitor(mJavac.getCompiledClass("a.b.Class"), mStatus, in testGreylistMethod() 106 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testGreylistConstructor() 113 mJavac.compile(); in testGreylistConstructor() 115 new AnnotationVisitor(mJavac.getCompiledClass("a.b.Class"), mStatus, in testGreylistConstructor() 127 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testGreylistField() 134 mJavac.compile(); in testGreylistField() 136 new AnnotationVisitor(mJavac.getCompiledClass("a.b.Class"), mStatus, in testGreylistField() [all …]
|
D | CovariantReturnTypeHandlerTest.java | 51 mJavac.addSource("annotation.Annotation", Joiner.on('\n').join( in setup() 63 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testReturnTypeWhitelisted() 70 mJavac.compile(); in testReturnTypeWhitelisted() 78 new AnnotationVisitor(mJavac.getCompiledClass("a.b.Class"), mStatus, handlerMap).visit(); in testReturnTypeWhitelisted() 87 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testAnnotatedMemberNotPublicApi() 94 mJavac.compile(); in testAnnotatedMemberNotPublicApi() 102 new AnnotationVisitor(mJavac.getCompiledClass("a.b.Class"), mStatus, handlerMap).visit(); in testAnnotatedMemberNotPublicApi() 109 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testReturnTypeAlreadyWhitelisted() 116 mJavac.compile(); in testReturnTypeAlreadyWhitelisted() 127 new AnnotationVisitor(mJavac.getCompiledClass("a.b.Class"), mStatus, handlerMap).visit(); in testReturnTypeAlreadyWhitelisted() [all …]
|
D | RepeatedAnnotationHandlerTest.java | 37 mJavac.addSource("annotation.Annotation", Joiner.on('\n').join( in setup() 55 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testRepeated() 63 mJavac.compile(); in testRepeated() 69 new AnnotationVisitor(mJavac.getCompiledClass("a.b.Class"), mStatus, handlerMap).visit(); in testRepeated()
|
D | AnnotationHandlerTestBase.java | 38 protected Javac mJavac; field in AnnotationHandlerTestBase 48 mJavac = new Javac(); in baseSetup()
|
/art/tools/class2greylist/test/src/com/android/javac/ |
D | Javac.java | 48 private final JavaCompiler mJavac; field in Javac 54 mJavac = ToolProvider.getSystemJavaCompiler(); in Javac() 55 mFileMan = mJavac.getStandardFileManager(null, Locale.US, null); in Javac() 82 JavaCompiler.CompilationTask task = mJavac.getTask( in compile()
|