Add val KClass.staticProperties: Collection<KProperty0<*>>

To get static fields from Java classes
This commit is contained in:
Alexander Udalov
2015-08-28 13:41:40 +03:00
parent 593937d302
commit a1097f7081
5 changed files with 79 additions and 1 deletions
@@ -291,6 +291,12 @@ public class BlackBoxWithJavaCodegenTestGenerated extends AbstractBlackBoxCodege
doTestWithJava(fileName);
}
@TestMetadata("declaredVsInheritedProperties")
public void testDeclaredVsInheritedProperties() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithJava/reflection/declaredVsInheritedProperties/");
doTestWithJava(fileName);
}
@TestMetadata("functionReferenceErasedToKFunction")
public void testFunctionReferenceErasedToKFunction() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithJava/reflection/functionReferenceErasedToKFunction/");