Reflection: add KAnnotatedElement.findAnnotation

#KT-12250 Fixed
This commit is contained in:
Alexander Udalov
2016-07-12 19:54:30 +03:00
parent 414daef001
commit c811c1bea5
7 changed files with 89 additions and 0 deletions
@@ -12199,6 +12199,12 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis
doTest(fileName);
}
@TestMetadata("findAnnotation.kt")
public void testFindAnnotation() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt");
doTest(fileName);
}
@TestMetadata("propertyAccessors.kt")
public void testPropertyAccessors() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt");