Use descriptors for reflection on top level properties

This also allows to obtain a Field object from the package part (see
mapping.kt)
This commit is contained in:
Alexander Udalov
2015-02-19 20:28:58 +03:00
parent d1debf586c
commit 1a618deeab
9 changed files with 116 additions and 51 deletions
@@ -789,6 +789,12 @@ public class BlackBoxWithStdlibCodegenTestGenerated extends AbstractBlackBoxCode
doTestWithStdlib(fileName);
}
@TestMetadata("platformNamedAccessors.kt")
public void testPlatformNamedAccessors() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/callableReference/property/platformNamedAccessors.kt");
doTestWithStdlib(fileName);
}
@TestMetadata("privateClassVal.kt")
public void testPrivateClassVal() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/callableReference/property/privateClassVal.kt");