Add support for AOSP's nullability annotations.

These are different than 'android.support.annotation' in that they are used on the JVM for projects within AOSP.
This commit is contained in:
Jake Wharton
2016-02-03 14:27:11 -05:00
committed by Denis Zharkov
parent 84a072b9f0
commit f713adc96e
7 changed files with 153 additions and 0 deletions
@@ -41,6 +41,12 @@ public class ForeignAnnotationsTestGenerated extends AbstractForeignAnnotationsT
doTest(fileName);
}
@TestMetadata("aosp.kt")
public void testAosp() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/foreignAnnotations/tests/aosp.kt");
doTest(fileName);
}
@TestMetadata("checkerFramework.kt")
public void testCheckerFramework() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/foreignAnnotations/tests/checkerFramework.kt");