Rename and implement KProperty.accessible -> KCallable.isAccessible

This commit is contained in:
Alexander Udalov
2015-07-23 23:10:39 +03:00
parent 8f0885ca03
commit 9c4ba711b8
12 changed files with 107 additions and 72 deletions
@@ -2775,6 +2775,12 @@ public class BlackBoxWithStdlibCodegenTestGenerated extends AbstractBlackBoxCode
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxWithStdlib/reflection/call"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("cannotCallEnumConstructor.kt")
public void testCannotCallEnumConstructor() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/cannotCallEnumConstructor.kt");
doTestWithStdlib(fileName);
}
@TestMetadata("equalsHashCodeToString.kt")
public void testEqualsHashCodeToString() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/call/equalsHashCodeToString.kt");