Home
last modified time | relevance | path

Searched refs:mJavac (Results 1 – 5 of 5) sorted by relevance

/tools/platform-compat/javatest/com/android/class2nonsdklist/
DUnsupportedAppUsageAnnotationHandlerTest.java60 mJavac.addSource("annotation.Anno", Joiner.on('\n').join( in setup()
87 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testGreylistMethod()
94 mJavac.compile(); in testGreylistMethod()
96 new AnnotationVisitor(mJavac.getCompiledClass("a.b.Class"), mStatus, in testGreylistMethod()
108 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testGreylistConstructor()
115 mJavac.compile(); in testGreylistConstructor()
117 new AnnotationVisitor(mJavac.getCompiledClass("a.b.Class"), mStatus, in testGreylistConstructor()
129 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testGreylistField()
136 mJavac.compile(); in testGreylistField()
138 new AnnotationVisitor(mJavac.getCompiledClass("a.b.Class"), mStatus, in testGreylistField()
[all …]
DCovariantReturnTypeHandlerTest.java54 mJavac.addSource("annotation.Annotation", Joiner.on('\n').join( in setup()
66 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testReturnTypeWhitelisted()
73 mJavac.compile(); in testReturnTypeWhitelisted()
81 new AnnotationVisitor(mJavac.getCompiledClass("a.b.Class"), mStatus, handlerMap).visit(); in testReturnTypeWhitelisted()
90 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testAnnotatedMemberNotPublicApi()
97 mJavac.compile(); in testAnnotatedMemberNotPublicApi()
105 new AnnotationVisitor(mJavac.getCompiledClass("a.b.Class"), mStatus, handlerMap).visit(); in testAnnotatedMemberNotPublicApi()
112 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testReturnTypeAlreadyWhitelisted()
119 mJavac.compile(); in testReturnTypeAlreadyWhitelisted()
130 new AnnotationVisitor(mJavac.getCompiledClass("a.b.Class"), mStatus, handlerMap).visit(); in testReturnTypeAlreadyWhitelisted()
[all …]
/tools/platform-compat/javatest/com/android/annotationvisitor/
DRepeatedAnnotationHandlerTest.java39 mJavac.addSource("annotation.Annotation", Joiner.on('\n').join( in setup()
57 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testRepeated()
65 mJavac.compile(); in testRepeated()
71 new AnnotationVisitor(mJavac.getCompiledClass("a.b.Class"), mStatus, handlerMap).visit(); in testRepeated()
DAnnotationHandlerTestBase.java38 protected Javac mJavac; field in AnnotationHandlerTestBase
48 mJavac = new Javac(); in baseSetup()
/tools/platform-compat/java/com/android/javac/
DJavac.java51 private final JavaCompiler mJavac; field in Javac
57 mJavac = ToolProvider.getSystemJavaCompiler(); in Javac()
58 mFileMan = mJavac.getStandardFileManager(null, Locale.US, null); in Javac()
89 JavaCompiler.CompilationTask task = mJavac.getTask( in compileWithAnnotationProcessor()